pythondoc or epydoc?

Sean sean0601 at
Fri Oct 15 08:34:16 CEST 2004

I would like to use epydoc to generate documents, but got the following error.

C:\PROJECT>\python23\python \python23\scripts\ --debug
Importing 1 modules.
  [1/1] Importing
Building API documentation for 1 modules.
  [1/1] Building docs for test1
    Building docs for test1
    Building docs for test1.main
    Building docs for test1.MyApp
Traceback (most recent call last):
  File "\python23\scripts\", line 17, in ?
  File "C:\Python23\lib\site-packages\epydoc\", line 110, in cli
    docmap = _make_docmap(modules, options)
  File "C:\Python23\lib\site-packages\epydoc\", line 483, in _make_docmap
    try: d.add(module)
  File "C:\Python23\lib\site-packages\epydoc\", line 2954, in add
  File "C:\Python23\lib\site-packages\epydoc\", line 2968, in _add
  File "C:\Python23\lib\site-packages\epydoc\", line 2961, in _add
  File "C:\Python23\lib\site-packages\epydoc\", line 2900, in add_one[objID] = ClassDoc(objID, self._verbosity)
  File "C:\Python23\lib\site-packages\epydoc\", line 1589, in __init__
    self._base_order = [make_uid(b) for b in base_order]
  File "C:\Python23\lib\site-packages\epydoc\", line 781, in make_uid
    uid = ObjectUID(object)
  File "C:\Python23\lib\site-packages\epydoc\", line 418, in __init__
    name = self._findname()
  File "C:\Python23\lib\site-packages\epydoc\", line 509, in _findname
    return '%s.%s' % (self.module(), objname)
  File "C:\Python23\lib\site-packages\epydoc\", line 585, in module
    if (self._module is not None and
  File "C:\Python23\Lib\site-packages\wx\", line 3581, in __eq__
    return _misc.DateTime___eq__(*args)
TypeError: Expected a pointer

The version of wxpython is 2.5.
This script can be executed normally.

How could I solve the problem?


More information about the Python-list mailing list