[Doc-SIG] pythondoc on ScientificTools
Berthold Höllmann
se6y095@public.uni-hamburg.de
Sat, 23 Jan 1999 00:55:16 +0100
Hello,
I tried to run pythondoc on all the modules in the package, but I get an
error in all the modules using "indexing.py" and the indexing module
itself. I get the following messages:
--- snip ---
Traceback (innermost last):
File "<stdin>", line 37, in ?
File "/usr/local/lib/python1.5/site-packages/pythondoc/pythondoc.py",
line 256, in generate_pages
docobject = docobjects.create_docobject(object)
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 479, in create_docobject
object = _class_map[type(pyobject)](pyobject) #, name)
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 211, in __init__
Composite.__init__(self, object, name)
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 154, in __init__
Object.__init__(self, object, name)
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 40, in __init__
self.subobjects()
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 95, in subobjects
self.__subobjects = self.get_subobjects()
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 175, in get_subobjects
subobj = self.make_childobject(key, object)
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 271, in make_childobject
return Composite.make_childobject(self, name, object)
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 165, in make_childobject
return create_docobject(object, name)
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 479, in create_docobject
object = _class_map[type(pyobject)](pyobject) #, name)
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 154, in __init__
Object.__init__(self, object, name)
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 40, in __init__
self.subobjects()
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 95, in subobjects
self.__subobjects = self.get_subobjects()
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 175, in get_subobjects
subobj = self.make_childobject(key, object)
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 165, in make_childobject
return create_docobject(object, name)
File "/usr/local/lib/python1.5/site-packages/pythondoc/docobjects.py",
line 475, in create_docobject
if type(pobject) == types.ModuleType and \
AttributeError: __file__
--- snip ---
--- snip ---
>python
Python 1.5.2b1 (#8, Jan 6 1999, 11:22:29) [GCC egcs-2.91.60 19981201
(e on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import indexing
>>> indexing.__file__
'/usr/local/lib/python1.5/site-packages/ScientificPython/indexing.pyc'
>>>
--- snip ---
Any idea what happens here?
Cheers
Berthold
--
se6y095@public.uni-hamburg.de
It is unlawful to use this email address for unsolicited ads
(USC Title 47 Sec.227). I will assess a US$500 charge for
reviewing and deleting each unsolicited ad.