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.

Author robwolfe
Recipients georg.brandl, robwolfe
Date 2008-09-22.18:16:46
SpamBayes Score 1.6009938e-10
Marked as misclassified No
Message-id <1222107495.4.0.954300379659.issue3934@psf.upfronthosting.co.za>
In-reply-to
Content
I've tried to build muppy (http://packages.python.org/muppy/)
documentation on:
$ python2.5 -c "import sys; print sys.version"
2.5 (release25-maint, Dec  9 2006, 14:35:53)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)]

with Sphinx (version 0.4.2) and got this error:

$ make doctest mkdir -p build/doctest
sphinx-build -b doctest -d build/doctrees   source build/doctest
Sphinx v0.4.2, building doctest
trying to load pickled env... not found
building [doctest]: targets for 15 source files that are out of date
updating environment: 15 added, 0 changed, 0 removed
reading... changes copyright detailed_toc glossary index intro
library/library library/muppy library/refbrowser Exception occurred:
  File
"/usr/lib/python2.5/site-packages/Sphinx-0.4.2-py2.5.egg/sphinx/ext/autodoc.py",
line 313, in generate_rst
    if not mod_cls:
UnboundLocalError: local variable 'mod_cls' referenced before assignment
The full traceback has been saved in /tmp/sphinx-err-XRu3ZJ.log, if you
want to report the issue to the author.
Please also report this if it was a user error, so that a better error
message can be provided next time.
Send reports to sphinx-dev@googlegroups.com. Thanks!
make: *** [doctest] Błąd 1

The simple patch I've attached helped of course.
History
Date User Action Args
2008-09-22 18:18:15robwolfesetrecipients: + robwolfe, georg.brandl
2008-09-22 18:18:15robwolfesetmessageid: <1222107495.4.0.954300379659.issue3934@psf.upfronthosting.co.za>
2008-09-22 18:16:48robwolfelinkissue3934 messages
2008-09-22 18:16:47robwolfecreate