"make doc" doesn't work in karmic

Bug #497956 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Storm
New
Undecided
Unassigned

Bug Description

$ make doc
pydoctor --make-html --html-output apidoc --add-package storm
/usr/lib/pymodules/python2.6/pydoctor/model.py:6: DeprecationWarning: the sets module is deprecated
  import sets
adding directory storm
findImportStars
32 / 32 modules parsedb
zextractDocstrings
32 / 32 modules parsed 23 warnings
finalStateComputations
writing html to apidoc using pydoctor.html.SystemWriter
Traceback (most recent call last):
  File "/usr/bin/pydoctor", line 5, in <module>
    main(sys.argv[1:])
  File "/usr/lib/pymodules/python2.6/pydoctor/driver.py", line 287, in main
    writer.writeIndividualFiles(subjects, options.htmlfunctionpages)
  File "/usr/lib/pymodules/python2.6/pydoctor/html.py", line 185, in writeIndividualFiles
    self.writeIndividualFiles(sub.orderedcontents, functionpages)
  File "/usr/lib/pymodules/python2.6/pydoctor/html.py", line 185, in writeIndividualFiles
    self.writeIndividualFiles(sub.orderedcontents, functionpages)
  File "/usr/lib/pymodules/python2.6/pydoctor/html.py", line 181, in writeIndividualFiles
    html = self.getHTMLFor(sub)
  File "/usr/lib/pymodules/python2.6/pydoctor/html.py", line 194, in getHTMLFor
    d = fun(o)
  File "/usr/lib/pymodules/python2.6/pydoctor/html.py", line 272, in html_Class
    x += self._genChildren(cls.orderedcontents, link=link)
  File "/usr/lib/pymodules/python2.6/pydoctor/html.py", line 370, in _genChildren
    'doc': summaryDoc(obj)}
  File "/usr/lib/pymodules/python2.6/pydoctor/html.py", line 30, in summaryDoc
    return doc2html(obj, doc)
  File "/usr/lib/pymodules/python2.6/pydoctor/html.py", line 53, in g
    r = _cache[args] = f(*args)
  File "/usr/lib/pymodules/python2.6/pydoctor/html.py", line 84, in doc2html
    crap = pdoc.to_html(_EpydocLinker(obj))
AttributeError: 'NoneType' object has no attribute 'to_html'
make: *** [doc] Error 1

python-pydoctor 0.2-4ubuntu1
storm trunk revision 353

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

It does work with lp:pydoctor instead of the package from karmic.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.