homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Wrong inherit in PickleHTMLBuilder
Type: crash Stage:
Components: Documentation tools (Sphinx) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, is
Priority: normal Keywords:

Created on 2008年07月19日 11:57 by is, last changed 2022年04月11日 14:56 by admin. This issue is now closed.

Messages (2)
msg70015 - (view) Author: Yu Xin (is) Date: 2008年07月19日 11:57
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.
msg70027 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008年07月19日 13:42
Thanks, fixed in r65138.
History
Date User Action Args
2022年04月11日 14:56:36adminsetgithub: 47666
2008年07月19日 13:42:51georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg70027
2008年07月19日 11:57:10iscreate

AltStyle によって変換されたページ (->オリジナル) /