--> -->

ValueError

invalid literal for long() with base 10: '"'

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/lib/python2.6/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)

    1. 1205 self.page.send_page(self, msg=msg)
    2. 1206 else:
    3. 1207 handler(self.page.page_name, self)
    4. 1208
    5. 1209 # generate page footer (actions that do not want this footer use
    • handler = <function do_show>
    • self = <MoinMoin.request.RequestModPy object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'VolumeLecture/013'
  2. /usr/lib/python2.6/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'VolumeLecture/013', request=<MoinMoin.request.RequestModPy object>)

    1. 466 else:
    2. 467 request.cacheable = 1
    3. 468 Page(request, pagename).send_page(request, count_hit=1)
    4. 469
    5. 470
    • global Page = <class MoinMoin.Page.Page>
    • request = <MoinMoin.request.RequestModPy object>
    • pagename = u'VolumeLecture/013'
    • ).send_page undefined
    • count_hit undefined
  3. /usr/lib/python2.6/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, msg='', **keywords={'count_hit': 1})

    1. 1205 pagename=self.page_name, print_mode=print_mode,
    2. 1206 media=media, pi_refresh=pi_refresh,
    3. 1207 allow_doubleclick=1, trail=trail,
    4. 1208 )
    5. 1209
    • allow_doubleclick undefined
    • trail = []
  4. /usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py in send_title (request=<MoinMoin.request.RequestModPy object>, text=u'VolumeLecture/013', **keywords={'allow_doubleclick': 1, 'link': '/wikis/cs348b-06/VolumeLecture/013?action=fullse...=linkto%3A%22VolumeLecture/013%22&amp;context=180', 'media': 'screen', 'msg': '', 'page': <MoinMoin.Page.Page instance>, 'pagename': u'VolumeLecture/013', 'pi_refresh': None, 'print_mode': False, 'trail': []})

    1. 1430 'page': page,
    2. 1431 'pagesize': pagename and page.size() or 0,
    3. 1432 'last_edit_info': pagename and page.lastEditInfo() or '',
    4. 1433 'page_name': pagename or '',
    5. 1434 'page_find_page': page_find_page,
    • pagename = u'VolumeLecture/013'
    • page = <MoinMoin.Page.Page instance>
    • page.lastEditInfo = <bound method Page.lastEditInfo of <MoinMoin.Page.Page instance>>
  5. /usr/lib/python2.6/site-packages/MoinMoin/Page.py in lastEditInfo (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>)

    1. 457
    2. 458 # Try to get data from log
    3. 459 log = self._last_edited(request)
    4. 460 if log:
    5. 461 editor = log.getEditor(request)
    • log undefined
    • self = <MoinMoin.Page.Page instance>
    • self._last_edited = <bound method Page._last_edited of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestModPy object>
  6. /usr/lib/python2.6/site-packages/MoinMoin/Page.py in _last_edited (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>)

    1. 403 logfile = editlog.EditLog(request, self.getPagePath('edit-log', check_create=0, isfile=1))
    2. 404 logfile.to_end()
    3. 405 log = logfile.previous()
    4. 406 except StopIteration:
    5. 407 log = None
    • log undefined
    • logfile = <MoinMoin.logfile.editlog.EditLog instance>
    • logfile.previous = <bound method EditLog.previous of <MoinMoin.logfile.editlog.EditLog instance>>
  7. /usr/lib/python2.6/site-packages/MoinMoin/logfile/logfile.py in previous (self=<MoinMoin.logfile.editlog.EditLog instance>)

    1. 287 while result == None:
    2. 288 while result == None:
    3. 289 result = self.__previous()
    4. 290 if self.filter and not self.filter(result):
    5. 291 result = None
    • result = None
    • self = <MoinMoin.logfile.editlog.EditLog instance>
    • self.__previous undefined
  8. /usr/lib/python2.6/site-packages/MoinMoin/logfile/logfile.py in __previous (self=<MoinMoin.logfile.editlog.EditLog instance>)

    1. 277 def __previous(self):
    2. 278 if self.peek(-1): raise StopIteration
    3. 279 return self.parser(self.__buffer.lines[self.__rel_index])
    4. 280
    5. 281 def previous(self):
    • 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
  9. /usr/lib/python2.6/site-packages/MoinMoin/logfile/editlog.py in parser (self=<MoinMoin.logfile.editlog.EditLog instance>, line=u'"\t\n')

    1. 191 result.hostname = result.addr
    2. 192 result.pagename = wikiutil.unquoteWikiname(result.pagename.encode('ascii'))
    3. 193 result.ed_time_usecs = long(result.ed_time_usecs or '0') # has to be long for py 2.2.x
    4. 194 return result
    5. 195
    • result = <MoinMoin.logfile.editlog.EditLogLine instance>
    • result.ed_time_usecs = u'"'
    • builtin long = <type 'long'>

ValueError

invalid literal for long() with base 10: '"'

  • args = ('invalid literal for long() with base 10: \'"\'',)
  • message = 'invalid literal for long() with base 10: \'"\''

System Details