Opened 15 years ago

Closed 15 years ago

#2423 defect closed wontfix (wontfix)

ImportError on Nevow in pydoctor

Reported by: peterbe Owned by:
Priority: high Milestone:
Component: pydoctor Keywords:
Cc: Jean-Paul Calderone Branch:
Author:

Description

I took the latest pydoctor (python 2.4.4) and Nevow from SVN and tried to run it but ran into this error:

$ pydoctor --add-package=/home/peterbe/Mest --project-name="Mest" --make-html
adding directory /home/peterbe/Mest
analyseImports
38 / 38 modules parsed 
extractDocstrings
37 / 38 modules parsed 153 warnings 
finalStateComputations
Traceback (most recent call last):
  File "/usr/bin/pydoctor", line 5, in ?
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/python2.4/site-packages/pydoctor/driver.py", line 312, in main
    from pydoctor import nevowhtml
  File "/usr/lib/python2.4/site-packages/pydoctor/nevowhtml/__init__.py", line 3, in ?
    from nevow import loaders, tags, page, flat, inevow
ImportError: cannot import name page

Change History (3)

comment:1 Changed 15 years ago by Jean-Paul Calderone

Cc: Jean-Paul Calderone added

nevow.page exists in nevow trunk@HEAD:

http://divmod.org/trac/browser/trunk/Nevow/nevow/page.py

Perhaps an installation of an older version of Nevow is being used, rather than the svn checkout you got?

comment:2 Changed 15 years ago by Michael Hudson-Doyle

Resolution: wontfix
Status: newclosed

Or, Nevow from SVN when? :-)

Definitely sounds like you're installation is messed up. That said, maybe I could remove the dependence on page.py, or just plain include my own version of it or something -- this is coming up increasingly frequently.

Closing, nevertheless.

comment:3 Changed 11 years ago by <automation>

Owner: Michael Hudson-Doyle deleted
Note: See TracTickets for help on using tickets.