New submission from Yu Xin <[EMAIL PROTECTED]>: I use sphinx-0.4.1. When I make pickle, I saw the error message: Traceback (most recent call last): File "/is/app/grows/lib/python2.5/site-packages/Sphinx-0.4.1-py2.5.egg/sphinx/__init__.py", line 135, in main app.builder.build_update() File "/is/app/grows/lib/python2.5/site-packages/Sphinx-0.4.1-py2.5.egg/sphinx/builder.py", line 202, in build_update 'out of date' % len(to_build)) File "/is/app/grows/lib/python2.5/site-packages/Sphinx-0.4.1-py2.5.egg/sphinx/builder.py", line 241, in build self.write(docnames, updated_docnames, method) File "/is/app/grows/lib/python2.5/site-packages/Sphinx-0.4.1-py2.5.egg/sphinx/builder.py", line 277, in write self.write_doc(docname, doctree) File "/is/app/grows/lib/python2.5/site-packages/Sphinx-0.4.1-py2.5.egg/sphinx/builder.py", line 459, in write_doc self.handle_page(docname, ctx, event_arg=doctree) TypeError: handle_page() got an unexpected keyword argument 'event_arg'.
I inspect the class in sphinx/builder.py. handle_page in StandaloneHTMLBuilder is defined as "def ndle_page(self, pagename, addctx, templatename='page.html', outfilename=None, event_arg=None): but handle_page in PickleHTMLBuilder is defined as "def handle_page(self, pagename, ctx, templatename='page.html', outfilename=None):" the last param event_arg is missing. ---------- assignee: georg.brandl components: Documentation tools (Sphinx) messages: 70015 nosy: georg.brandl, is severity: normal status: open title: Wrong inherit in PickleHTMLBuilder type: crash _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3416> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com