--> -->

TypeError

unsubscriptable object

If you want to report a bug, please save this page and attach it to your bug report.

Traceback

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

  1. /usr/local/lib/python2.4/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object>)

    1. 1309 self.page.send_page()
    2. 1310 else:
    3. 1311 handler(self.page.page_name, self)
    4. 1312
    5. 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function do_show>
    • self = <MoinMoin.request.request_cgi.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'UserGroup'
  2. /usr/local/lib/python2.4/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'UserGroup', request=<MoinMoin.request.request_cgi.Request object>, content_only=0, count_hit=1, cacheable=1, print_mode=0)

    1. 251 count_hit=count_hit,
    2. 252 print_mode=print_mode,
    3. 253 content_only=content_only,
    4. 254 )
    5. 255
    • content_only = 0
  3. /usr/local/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})

    1. 1167 media=media, pi_refresh=pi.get('refresh'),
    2. 1168 allow_doubleclick=1, trail=trail,
    3. 1169 html_head=html_head,
    4. 1170 )
    5. 1171
    • html_head = ''
  4. /usr/local/lib/python2.4/site-packages/MoinMoin/theme/__init__.py in send_title (self=<MoinMoin.theme.modern.Theme instance>, text=u'UserGroup', **keywords={'allow_doubleclick': 1, 'html_head': '', 'media': 'screen', 'page': <MoinMoin.Page.Page object>, 'pi_refresh': None, 'print_mode': 0, 'trail': [u'ReimarBauer', u'SystemAdmin', u'RecentChanges', u'UserGroup']})

    1. 1576
    2. 1577 # get name of system pages
    3. 1578 page_front_page = wikiutil.getFrontPage(request).page_name
    4. 1579 page_help_contents = wikiutil.getLocalizedPage(request, 'HelpContents').page_name
    5. 1580 page_title_index = wikiutil.getLocalizedPage(request, 'TitleIndex').page_name
    • page_front_page undefined
    • global wikiutil = <module 'MoinMoin.wikiutil' from '/usr/local/lib/python2.4/site-packages/MoinMoin/wikiutil.pyc'>
    • wikiutil.getFrontPage = <function getFrontPage>
    • request = <MoinMoin.request.request_cgi.Request object>
    • ).page_name undefined
  5. /usr/local/lib/python2.4/site-packages/MoinMoin/wikiutil.py in getFrontPage (request=<MoinMoin.request.request_cgi.Request object>)

    1. 784 @return localized page_front_page, if there is a translation
    2. 785 """
    3. 786 return getLocalizedPage(request, request.cfg.page_front_page)
    4. 787
    5. 788
    • global getLocalizedPage = <function getLocalizedPage>
    • request = <MoinMoin.request.request_cgi.Request object>
    • request.cfg = <wikiconfig.Config object>
    • request.cfg.page_front_page = u'FrontPage'
  6. /usr/local/lib/python2.4/site-packages/MoinMoin/wikiutil.py in getLocalizedPage (request=<MoinMoin.request.request_cgi.Request object>, pagename=u'FrontPage')

    1. 753 """
    2. 754 from MoinMoin.Page import Page
    3. 755 i18n_name = request.getText(pagename)
    4. 756 pageobj = None
    5. 757 if i18n_name != pagename:
    • i18n_name undefined
    • request = <MoinMoin.request.request_cgi.Request object>
    • request.getText = <function <lambda>>
    • pagename = u'FrontPage'
  7. /usr/local/lib/python2.4/site-packages/MoinMoin/request/__init__.py in (text=u'FrontPage', i18n=<module 'MoinMoin.i18n' from '/usr/local/lib/python2.4/site-packages/MoinMoin/i18n/__init__.pyc'>, request=<MoinMoin.request.request_cgi.Request object>, lang='en', **kv={})

    1. 246 # but generated content like search results should use the user language.
    2. 247 self.content_lang = self.cfg.language_default
    3. 248 self.getText = lambda text, i18n=self.i18n, request=self, lang=self.lang, **kv: i18n.getText(text, request, lang, **kv)
    4. 249
    5. 250 self.reset()
    • self undefined
    • text = u'FrontPage'
    • i18n = <module 'MoinMoin.i18n' from '/usr/local/lib/python2.4/site-packages/MoinMoin/i18n/__init__.pyc'>
    • request = <MoinMoin.request.request_cgi.Request object>
    • lang = 'en'
    • kv = {}
    • i18n.getText = <function getText>
  8. /usr/local/lib/python2.4/site-packages/MoinMoin/i18n/__init__.py in getText (original=u'FrontPage', request=<MoinMoin.request.request_cgi.Request object>, lang='en', **kw={})

    1. 279 else:
    2. 280 try:
    3. 281 language = languages[lang]['x-language-in-english']
    4. 282 dictpagename = "%sDict" % language.replace(' ', '')
    5. 283 dicts = request.dicts
    • language undefined
    • global languages = None
    • lang = 'en'

TypeError

unsubscriptable object

  • args = ('unsubscriptable object',)

System Details