| EOFErrorEOF read where object expected | Please include this information in your bug reports!: Python Python 2.4.4: /usr/local/bin/python Linux dvorak 2.6.21.6-general #1 SMP Mon Feb 25 14:27:35 EST 2008 i686 MoinMoin Release 1.2.2 [Revision 1.185] Tue Nov 24 04:05:13 2009 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /tmp_amd/kamen/export/kamen/1/cs1711cgi/public_html/2005/wiki/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>) |
| 389 if handler: |
| 390 handler(pagename or |
| 391 wikiutil.getSysPage(self, config.page_front_page).page_name, self) |
| 392 else: |
| 393 self.http_headers() |
| global wikiutil = <module 'MoinMoin.wikiutil' from '/tmp_amd/kamen...cgi/public_html/2005/wiki/MoinMoin/wikiutil.pyc'>, wikiutil.getSysPage = <function getSysPage>, self = <MoinMoin.request.RequestCGI instance>, global config = <module 'MoinMoin.config' from '/tmp_amd/kamen/e...11cgi/public_html/2005/wiki/MoinMoin/config.pyc'>, config.page_front_page = 'FrontPage', ).page_name undefined |
| /tmp_amd/kamen/export/kamen/1/cs1711cgi/public_html/2005/wiki/MoinMoin/wikiaction.py in do_print(pagename='FrontPage', request=<MoinMoin.request.RequestCGI instance>) |
| 578 |
| 579 def do_print(pagename, request): |
| 580 do_show(pagename, request) |
| 581 |
| 582 |
| global do_show = <function do_show>, pagename = 'FrontPage', request = <MoinMoin.request.RequestCGI instance> |
| /tmp_amd/kamen/export/kamen/1/cs1711cgi/public_html/2005/wiki/MoinMoin/wikiaction.py in do_show(pagename='FrontPage', request=<MoinMoin.request.RequestCGI instance>) |
| 566 Page(pagename, date=request.form['date'][0]).send_page(request, count_hit=1) |
| 567 else: |
| 568 Page(pagename).send_page(request, count_hit=1) |
| 569 |
| 570 |
| global Page = <class MoinMoin.Page.Page>, pagename = 'FrontPage', ).send_page undefined, request = <MoinMoin.request.RequestCGI instance>, count_hit undefined |
| /tmp_amd/kamen/export/kamen/1/cs1711cgi/public_html/2005/wiki/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, msg='', **keywords={'count_hit': 1}) |
| 609 else: |
| 610 # parse the text and send the page content |
| 611 self.send_page_content(request, Parser, body) |
| 612 |
| 613 # check for pending footnotes |
| self = <MoinMoin.Page.Page instance>, self.send_page_content = <bound method Page.send_page_content of <MoinMoin.Page.Page instance>>, request = <MoinMoin.request.RequestCGI instance>, Parser = <class MoinMoin.parser.wiki.Parser>, body = '\n= 1711 Wiki =\n\n["ExamSheetIdeas"]\n\n["Functions"...the database in various ways\n * SyntaxReference\n' |
| /tmp_amd/kamen/export/kamen/1/cs1711cgi/public_html/2005/wiki/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, Parser=<class MoinMoin.parser.wiki.Parser>, body='\n= 1711 Wiki =\n\n["ExamSheetIdeas"]\n\n["Functions"...the database in various ways\n * SyntaxReference\n', needsupdate=0) |
| 680 try: |
| 681 import marshal |
| 682 code = marshal.loads(cache.content()) |
| 683 except ValueError: #bad marshal data |
| 684 needsupdate = 1 |
| code = None, marshal = <module 'marshal' (built-in)>, marshal.loads = <built-in function loads>, cache = <MoinMoin.caching.CacheEntry instance>, cache.content = <bound method CacheEntry.content of <MoinMoin.caching.CacheEntry instance>> |
EOFError: EOF read where object expected
__doc__ =
'Read beyond end of file.'
__getitem__ =
<bound method EOFError.__getitem__ of <exceptions.EOFError instance>>
__init__ =
<bound method EOFError.__init__ of <exceptions.EOFError instance>>
__module__ =
'exceptions'
__str__ =
<bound method EOFError.__str__ of <exceptions.EOFError instance>>
args =
('EOF read where object expected',)