<type 'exceptions.ValueError'>
Python 2.6.5: /usr/bin/python
Wed May 23 10:19:37 2012

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

 /usr/lib/pymodules/python2.6/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>)
  556         """Runs the handler, flushes the streams, and ends the request."""
  557         try:
  558             protocolStatus, appStatus = self.server.handler(self)
  559         except:
  560             traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object>>
 /usr/lib/pymodules/python2.6/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)
 1116         try:
 1117             try:
 1118                 result = self.application(environ, start_response)
 1119                 try:
 1120                     for data in result:
result = None, self = <flup.server.fcgi.WSGIServer object>, self.application = <werkzeug.utils.SharedDataMiddleware object>, environ = {'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.object-craft.com.au', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response>
 /usr/lib/pymodules/python2.6/MoinMoin/support/werkzeug/utils.py in __call__(self=<werkzeug.utils.SharedDataMiddleware object>, environ={'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.object-craft.com.au', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>)
  246                     break
  247         if file_loader is None or not self.is_allowed(real_filename):
  248             return self.app(environ, start_response)
  249 
  250         guessed_type = mimetypes.guess_type(real_filename)
self = <werkzeug.utils.SharedDataMiddleware object>, self.app = <MoinMoin.wsgiapp.Application object>, environ = {'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.object-craft.com.au', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response>
 /usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py in __call__(self=<MoinMoin.wsgiapp.Application object>, environ={'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.object-craft.com.au', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>)
  280             request = self.Request(environ)
  281             context = init(request)
  282             response = run(context)
  283             context.clock.stop('total')
  284         except HTTPException, e:
response undefined, global run = <function run>, context = <AllContext ['AllContext']>
 /usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py in run(context=<AllContext ['AllContext']>)
   86                 response = xmlrpc.xmlrpc2(XMLRPCContext(request))
   87             else:
   88                 response = dispatch(request, context, action_name)
   89             context.cfg.session_service.finalize(context, context.session)
   90             return response
response undefined, global dispatch = <function dispatch>, request = <MoinMoin.wsgiapp.AppRequest object>, context = <AllContext ['AllContext']>, action_name = 'show'
 /usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py in dispatch(request=<MoinMoin.wsgiapp.AppRequest object>, context=<AllContext ['AllContext']>, action_name='show')
  134     # 2. handle action
  135     else:
  136         response = handle_action(context, pagename, action_name)
  137     if isinstance(response, Context):
  138         response = response.request
response undefined, global handle_action = <function handle_action>, context = <AllContext ['AllContext']>, pagename = u'', action_name = 'show'
 /usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py in handle_action(context=<AllContext ['AllContext']>, pagename=u'', action_name='show')
  152     # Use localized FrontPage if pagename is empty
  153     if not pagename:
  154         context.page = wikiutil.getFrontPage(context)
  155     else:
  156         context.page = Page(context, pagename)
context = <AllContext ['AllContext']>, context.page = None, global wikiutil = <module 'MoinMoin.wikiutil' from '/usr/lib/pymodules/python2.6/MoinMoin/wikiutil.pyc'>, wikiutil.getFrontPage = <function getFrontPage>
 /usr/lib/pymodules/python2.6/MoinMoin/wikiutil.py in getFrontPage(request=<AllContext ['AllContext']>)
  715     @return localized page_front_page, if there is a translation
  716     """
  717     return getLocalizedPage(request, request.cfg.page_front_page)
  718 
  719 
global getLocalizedPage = <function getLocalizedPage>, request = <AllContext ['AllContext']>, request.cfg = <albatrosswiki.Config object>, request.cfg.page_front_page = u'FrontPage'
 /usr/lib/pymodules/python2.6/MoinMoin/wikiutil.py in getLocalizedPage(request=<AllContext ['AllContext']>, pagename=u'FrontPage')
  684     """
  685     from MoinMoin.Page import Page
  686     i18n_name = request.getText(pagename)
  687     pageobj = None
  688     if i18n_name != pagename:
i18n_name undefined, request = <AllContext ['AllContext']>, request.getText = <function _>, pagename = u'FrontPage'
 /usr/lib/pymodules/python2.6/MoinMoin/web/contexts.py in _(text=u'FrontPage', i18n=<module 'MoinMoin.i18n' from '/usr/lib/pymodules/python2.6/MoinMoin/i18n/__init__.pyc'>, request=<AllContext ['AllContext']>, lang='en', **kw={})
  136         lang = self.lang
  137         def _(text, i18n=i18n, request=self, lang=lang, **kw):
  138             return i18n.getText(text, request, lang, **kw)
  139         return _
  140 
i18n = <module 'MoinMoin.i18n' from '/usr/lib/pymodules/python2.6/MoinMoin/i18n/__init__.pyc'>, i18n.getText = <function getText>, text = u'FrontPage', request = <AllContext ['AllContext']>, lang = 'en', kw = {}
 /usr/lib/pymodules/python2.6/MoinMoin/i18n/__init__.py in getText(original=u'FrontPage', request=<AllContext ['AllContext']>, lang='en', **kw={})
  311             dictpagename = "%sDict" % language.replace(' ', '')
  312             dicts = request.dicts
  313             if dictpagename in dicts:
  314                 userdict = dicts[dictpagename]
  315                 translated = userdict[original]
dictpagename = u'EnglishDict', dicts = <MoinMoin.datastruct.backends.wiki_dicts.WikiDicts object>
 /usr/lib/pymodules/python2.6/MoinMoin/datastruct/backends/wiki_dicts.py in __contains__(self=<MoinMoin.datastruct.backends.wiki_dicts.WikiDicts object>, dict_name=u'EnglishDict')
   68 
   69     def __contains__(self, dict_name):
   70         return self.is_dict_name(dict_name) and Page(self.request, dict_name).exists()
   71 
   72     def __getitem__(self, dict_name):
self = <MoinMoin.datastruct.backends.wiki_dicts.WikiDicts object>, self.is_dict_name = <bound method WikiDicts.is_dict_name of <MoinMoin.datastruct.backends.wiki_dicts.WikiDicts object>>, dict_name = u'EnglishDict', global Page = <class 'MoinMoin.Page.Page'>, self.request = <AllContext ['AllContext']>, ).exists undefined
 /usr/lib/pymodules/python2.6/MoinMoin/Page.py in exists(self=<MoinMoin.Page.Page object>, rev=0, domain=None, includeDeleted=False)
  665             else:
  666                 use_underlay = domain == 'underlay'
  667             d, d, exists = self.get_rev(use_underlay, rev)
  668             return exists
  669 
d undefined, exists undefined, self = <MoinMoin.Page.Page object>, self.get_rev = <bound method Page.get_rev of <MoinMoin.Page.Page object>>, use_underlay = -1, rev = 0
 /usr/lib/pymodules/python2.6/MoinMoin/Page.py in get_rev(self=<MoinMoin.Page.Page object>, use_underlay=-1, rev=0)
  384         cache_key = layername(use_underlay)
  385         if self._text_filename_force is None:
  386             cache_data = request.cfg.cache.meta.getItem(request, cache_name, cache_key)
  387             if cache_data and (rev == 0 or rev == cache_data[1]):
  388                 # we got the correct rev data from the cache
cache_data undefined, request = <AllContext ['AllContext']>, request.cfg = <albatrosswiki.Config object>, request.cfg.cache = <MoinMoin.config.multiconfig.CacheClass instance>, request.cfg.cache.meta = <MoinMoin.Page.ItemCache instance>, request.cfg.cache.meta.getItem = <bound method ItemCache.getItem of <MoinMoin.Page.ItemCache instance>>, cache_name = u'EnglishDict', cache_key = 'layer_auto'
 /usr/lib/pymodules/python2.6/MoinMoin/Page.py in getItem(self=<MoinMoin.Page.ItemCache instance>, request=<AllContext ['AllContext']>, name=u'EnglishDict', key='layer_auto')
   86             @return: the data or None, if there is no such name or key.
   87         """
   88         self.refresh(request)
   89         try:
   90             data = self.cache[name][key]
self = <MoinMoin.Page.ItemCache instance>, self.refresh = <bound method ItemCache.refresh of <MoinMoin.Page.ItemCache instance>>, request = <AllContext ['AllContext']>
 /usr/lib/pymodules/python2.6/MoinMoin/Page.py in refresh(self=<MoinMoin.Page.ItemCache instance>, request=<AllContext ['AllContext']>)
  113         elog = editlog.EditLog(request)
  114         old_pos = self.log_pos
  115         new_pos, items = elog.news(old_pos)
  116         if items:
  117             if self.name == 'meta':
new_pos undefined, items undefined, elog = <MoinMoin.logfile.editlog.EditLog instance>, elog.news = <bound method EditLog.news of <MoinMoin.logfile.editlog.EditLog instance>>, old_pos = 47661
 /usr/lib/pymodules/python2.6/MoinMoin/logfile/editlog.py in news(self=<MoinMoin.logfile.editlog.EditLog instance>, oldposition=47661)
  249             self.seek(oldposition)
  250         items = []
  251         for line in self:
  252             items.append(line.pagename)
  253             if line.action == 'SAVE/RENAME':
line undefined, self = <MoinMoin.logfile.editlog.EditLog instance>
 /usr/lib/pymodules/python2.6/MoinMoin/logfile/__init__.py in next(self=<MoinMoin.logfile.editlog.EditLog instance>)
  301             while result is None:
  302                 logging.log(self.loglevel, "LogFile.next %s" % self.__filename)
  303                 result = self.__next()
  304             if self.filter and not self.filter(result):
  305                 result = None
result = None, self = <MoinMoin.logfile.editlog.EditLog instance>, self.__next undefined
 /usr/lib/pymodules/python2.6/MoinMoin/logfile/__init__.py in __next(self=<MoinMoin.logfile.editlog.EditLog instance>)
  288         if self.peek(0):
  289             raise StopIteration
  290         result = self.parser(self.__buffer.lines[self.__rel_index])
  291         self.peek(1)
  292         return result
result undefined, self = <MoinMoin.logfile.editlog.EditLog instance>, self.parser = <bound method EditLog.parser of <MoinMoin.logfile.editlog.EditLog instance>>, self.__buffer undefined, self.__rel_index undefined
 /usr/lib/pymodules/python2.6/MoinMoin/logfile/editlog.py in parser(self=<MoinMoin.logfile.editlog.EditLog instance>, line=u'Content\t\tAntispam subsystem\t\t\t\n')
  224             result.hostname = result.addr
  225         result.pagename = wikiutil.unquoteWikiname(result.pagename.encode('ascii'))
  226         result.ed_time_usecs = long(result.ed_time_usecs or '0') # has to be long for py 2.2.x
  227         return result
  228 
result = <MoinMoin.logfile.editlog.EditLogLine instance>, result.ed_time_usecs = u'Content', builtin long = <type 'long'>

<type 'exceptions.ValueError'>: invalid literal for long() with base 10: 'Content'
      args = ("invalid literal for long() with base 10: 'Content'",)
      message = "invalid literal for long() with base 10: 'Content'"