Differences between versions dated 2005-06-08 22:38:40 and 2005-06-13 12:36:00
| Deletions are marked like this. | Additions are marked like this. |
| Line 6: | Line 6: |
|
["ExamSheetIdeas"] |
--> -->
| 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 01:58:08 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_diff(pagename='FrontPage', request=<MoinMoin.request.RequestCGI instance>) |
| 295 from MoinMoin.util.diff import diff |
| 296 request.write(diff(request, oldpage.get_raw_body(), newpage.get_raw_body())) |
| 297 newpage.send_page(request, count_hit=0, content_only=1, content_id="content-under-diff") |
| 298 else: |
| 299 lines = wikiutil.linediff(oldpage.get_raw_body().split('\n'), newpage.get_raw_body().split('\n')) |
| newpage = <MoinMoin.Page.Page instance>, newpage.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>, request = <MoinMoin.request.RequestCGI instance>, count_hit undefined, content_only undefined, content_id 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={'content_id': 'content-under-diff', 'content_only': 1, 'count_hit': 0}) |
| 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',)
