RE: [wxPython-users] Problem with epydoc (I have to apologize that this is a little bit off topic)
Have you tried an epydoc forum? I’d say this is an epydoc bug (there’s no reason it should crash for the scenarios discussed), not a wxpython one, so you’d have better luck there.
Oliver
···
-----Original Message-----
From:
Richard.Townsend@edl.uk.eds.com [mailto:Richard.Townsend@edl.uk.eds.com]
Sent: Monday, October 04, 2004 9:43 AM
To:
wxPython-users@lists.wxwidgets.org
Subject: [wxPython-users] Problem with epydoc (I have to apologize that this is a little bit off topic)
I am also getting this problem both on Win2k and HP-UX.
On HP-UX (wxPython-2.5.1.5/Python-2.3.4/epydoc-2.1) I get the following output:
capulet:non_hci/epydoc > epydoc -o html wx_exp.py
Importing 1 modules.
[.]
Building API documentation for 1 modules.[.]
Writing HTML docs (10 files) to ‘html’.
[…]
capulet:non_hci/epydoc > epydoc -o html wx_exp.py
Importing 1 modules.
[.]Building API documentation for 1 modules.
[.]
INTERNAL ERROR: Expected a pointer
Writing HTML docs (10 files) to ‘html’.[…]
!!!
!! An internal error occured. To see the exception that caused the !!
!! error, use the ‘–debug’ option. !!
!!!
capulet:non_hci/epydoc > epydoc --debug -o html wx_exp.py
Importing 1 modules.
[1/1] Importing wx_exp.py
Building API documentation for 1 modules.
[1/1] Building docs for wx_exp
Building docs for wx_exp
Building docs for wx_exp.MyApp
Traceback (most recent call last):File “/opt/python/bin/epydoc”, line 7, in ?
cli() File "/opt/python/lib/python2.3/site-packages/epydoc/cli.py", line 110, in cli docmap = _make_docmap(modules, options) File "/opt/python/lib/python2.3/site-packages/epydoc/cli.py", line 483, in _make_docmap try: d.add(module) File "/opt/python/lib/python2.3/site-packages/epydoc/objdoc.py", line 2954, in add self._add(objID) File "/opt/python/lib/python2.3/site-packages/epydoc/objdoc.py", line 2968, in _add self._add(link.target()) File "/opt/python/lib/python2.3/site-packages/epydoc/objdoc.py", line 2961, in _add self.add_one(objID) File "/opt/python/lib/python2.3/site-packages/epydoc/objdoc.py", line 2900, in add_one self.data[objID] = ClassDoc(objID, self._verbosity) File "/opt/python/lib/python2.3/site-packages/epydoc/objdoc.py", line 1589, in __init__ self._base_order = [make_uid(b) for b in base_order] File "/opt/python/lib/python2.3/site-packages/epydoc/uid.py", line 781, in make_uid uid = ObjectUID(object) File "/opt/python/lib/python2.3/site-packages/epydoc/uid.py", line 418, in __init__ name = self._findname() File "/opt/python/lib/python2.3/site-packages/epydoc/uid.py", line 509, in _findname return '%s.%s' % (self.module(), objname) File "/opt/python/lib/python2.3/site-packages/epydoc/uid.py", line 585, in module if (self._module is not None and File "/opt/python/lib/python2.3/site-packages/wx/misc.py", line 3581, in __eq__ return _misc.DateTime___eq__(*args)
TypeError: Expected a pointer
capulet:non_hci/epydoc >
Like the OP, if I derive a class from a wx class it crashes.
regards,
Richard