Edit the FortuneCookies page to display randomly selected wisdom here. |
| 2009-01-02 | |||||
| 독서목록 | 05:09 | 박영록 [1-2] | |||
| 2008-12-30 | |||||
| Pragmatic Thinking and Learning 번역 | 05:48 | 박영록 [1-5] | |||
| 2008-12-29 | |||||
| 박영록 | 13:03 | 박영록 | |||
| 내 블로그/2008-10-19 | 12:43 | 박영록 [1-2] | |||
| 2008-12-17 | |||||
| BadContent | 04:24 | Antispam subsystem | |||
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.
/home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object at 0x958340c>)
- 1103 # Visit pagename
- 1104 self.page = Page(self, pagename)
- 1105 self.page.send_page(self, count_hit=1)
- 1106
- 1107 # generate page footer (actions that do not want this footer
- self = <MoinMoin.request.RequestCGI object at 0x958340c>
- self.page = <MoinMoin.Page.Page instance at 0x96910cc>
- self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance at 0x96910cc>>
- count_hit undefined
/home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x96910cc>, request=<MoinMoin.request.RequestCGI object at 0x958340c>, msg='', **keywords={'count_hit': 1})
- 1225 format_args=pi_formatargs,
- 1226 do_cache=do_cache,
- 1227 start_line=pi_lines)
- 1228
- 1229 # check for pending footnotes
- start_line undefined
- pi_lines = 7
/home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x96910cc>, request=<MoinMoin.request.RequestCGI object at 0x958340c>, Parser=<class MoinMoin.parser.wiki.Parser at 0x965805c>, body=u'\n||<tablestyle="width: 100%; background: #E6EAF0...other wikis, see OpenWiki:WikiSites/Aggregation.\n', format_args=u'', do_cache=1, **kw={'start_line': 7})
- 1308 try:
- 1309 code = self.loadCache(request)
- 1310 self.execute(request, parser, code)
- 1311 except 'CacheNeedsUpdate':
- 1312 try:
- self = <MoinMoin.Page.Page instance at 0x96910cc>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance at 0x96910cc>>
- request = <MoinMoin.request.RequestCGI object at 0x958340c>
- parser = <MoinMoin.parser.wiki.Parser instance at 0x967936c>
- code = <code object <module> at 0x9652d58, file "RecentChanges", line 2>
/home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance at 0x96910cc>, request=<MoinMoin.request.RequestCGI object at 0x958340c>, parser=<MoinMoin.parser.wiki.Parser instance at 0x967936c>, code=<code object <module> at 0x9652d58, file "RecentChanges", line 2>)
- 1332 if hasattr(MoinMoin, '__loader__'):
- 1333 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1334 exec code
- 1335
- 1336 def loadCache(self, request):
- code = <code object <module> at 0x9652d58, file "RecentChanges", line 2>
/home5/poci/www/RecentChanges in
() /home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x967930c>, macro_obj=<MoinMoin.wikimacro.Macro instance at 0x952ebac>, name=u'RecentChanges', args=None)
- 285 def macro(self, macro_obj, name, args):
- 286 # call the macro
- 287 return macro_obj.execute(name, args)
- 288
- 289 def _get_bang_args(self, line):
- macro_obj = <MoinMoin.wikimacro.Macro instance at 0x952ebac>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance at 0x952ebac>>
- name = u'RecentChanges'
- args = None
/home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance at 0x952ebac>, macro_name=u'RecentChanges', args=None)
- 118 else:
- 119 raise ImportError("Cannot load macro %s" % macro_name)
- 120 return execute(self, args)
- 121
- 122 def _m_lang(self, text):
- execute = <function execute at 0x96291ec>
- self = <MoinMoin.wikimacro.Macro instance at 0x952ebac>
- args = None
/home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/macro/RecentChanges.py in execute (macro=<MoinMoin.wikimacro.Macro instance at 0x952ebac>, args=None, **kw={})
- 284 day_count = 0
- 285
- 286 for line in log.reverse():
- 287
- 288 if not request.user.may.read(line.pagename):
- line = <MoinMoin.logfile.editlog.EditLogLine instance at 0xb7dd560c>
- log = <MoinMoin.logfile.editlog.EditLog instance at 0x951220c>
- log.reverse = <bound method EditLog.reverse of <MoinMoin.logfile.editlog.EditLog instance at 0x951220c>>
/home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/logfile/logfile.py in reverse (self=<MoinMoin.logfile.editlog.EditLog instance at 0x951220c>)
- 97 while 1:
- 98 try:
- 99 result = self.previous()
- 100 except StopIteration:
- 101 return
- result = <MoinMoin.logfile.editlog.EditLogLine instance at 0xb7dd560c>
- self = <MoinMoin.logfile.editlog.EditLog instance at 0x951220c>
- self.previous = <bound method EditLog.previous of <MoinMoin.logfile.editlog.EditLog instance at 0x951220c>>
/home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/logfile/logfile.py in previous (self=<MoinMoin.logfile.editlog.EditLog instance at 0x951220c>)
- 292 while result == None:
- 293 while result == None:
- 294 result = self.__previous()
- 295 if self.filter and not self.filter(result):
- 296 result = None
- result = None
- self = <MoinMoin.logfile.editlog.EditLog instance at 0x951220c>
- self.__previous undefined
/home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/logfile/logfile.py in __previous (self=<MoinMoin.logfile.editlog.EditLog instance at 0x951220c>)
- 282 def __previous(self):
- 283 if self.peek(-1): raise StopIteration
- 284 return self.parser(self.__buffer.lines[self.__rel_index])
- 285
- 286 def previous(self):
- self = <MoinMoin.logfile.editlog.EditLog instance at 0x951220c>
- self.parser = <bound method EditLog.parser of <MoinMoin.logfile.editlog.EditLog instance at 0x951220c>>
- self.__buffer undefined
- self.__rel_index undefined
/home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/logfile/editlog.py in parser (self=<MoinMoin.logfile.editlog.EditLog instance at 0x951220c>, line=u'"\n')
- 189 result.hostname = result.addr
- 190 result.pagename = wikiutil.unquoteWikiname(result.pagename.encode('ascii'))
- 191 result.ed_time_usecs = long(result.ed_time_usecs or '0') # has to be long for py 2.2.x
- 192 return result
- 193
- result = <MoinMoin.logfile.editlog.EditLogLine instance at 0xb7dd502c>
- 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
- Date: Tue, 06 Jan 2009 21:16:03 +0000
- Platform: Linux hp249 2.6.23.17-88.fc7PAE #1 SMP Thu May 15 00:22:53 EDT 2008 i686
- Python: Python 2.5 (/home/python/bin/python)
- MoinMoin: Release 1.5.2 (release)
