Issue #576 invalid

'module' object has no attribute 'Pdb'

Anonymous avatarAnonymous created an issue

i tried to build python-reportlab-2.5 on ubuntu natty 11.04. but failed

+ cd docs
+ PYTHONPATH=/media/sdc1/python-reportlab-2.5/build/lib.linux-i686-2.7
+ python genAll.py
Saved reportlab-reference.pdf
copied to /media/sdc1/python-reportlab-2.5/docs/reportlab-reference.pdf
Built story contains 1731 flowables...
Saved "/media/sdc1/python-reportlab-2.5/docs/reportlab-userguide.pdf"
Generating documentation for package reportlab.graphics...
Saved reportlab.graphics.pdf.
copied to /media/sdc1/python-reportlab-2.5/docs/reportlab-graphics-reference.pdf
"/usr/bin/python" genreference.py 
"/usr/bin/python" genuserguide.py 
"/usr/bin/python" graphdocpy.py 
/usr/bin/make -C docs html PAPER=a4
make[1]: Entering directory `/media/sdc1/python-reportlab-2.5/docs'
sphinx-build -b html -d build/doctrees -D latex_paper_size=a4  source build/html
Making output directory...
Running Sphinx v1.0.1

Exception occurred:
  File "/usr/lib/python2.7/doctest.py", line 329, in <module>
    class _OutputRedirectingPdb(pdb.Pdb):
AttributeError: 'module' object has no attribute 'Pdb'
The full traceback has been saved in /tmp/sphinx-err-DKfjl0.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,
or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
make[1]: *** [html] error 1
make[1]: Leaving directory `/media/sdc1/python-reportlab-2.5/docs'
make: *** [build-doc-stamp] error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1329:
dpkg-buildpackage -rfakeroot -D -us -uc failed

Comments (2)

  1. Georg Brandl

    It's unlikely this is a Sphinx bug. As the traceback shows, the error occurs in the standard "doctest" module.

    Does reportlab have a tracker? It looks to me like it offers some module called "pdb" that is imported instead of the standard module.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.