This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: python 2.3 pydoc : sys.modules.get error


Bertrand,

Wrong list, I'm redirecting to the correct one...

On Fri, Aug 13, 2004 at 04:16:07PM +0200, bertrand marquis wrote:
> i'm using pydoc to generate informations out of python source.
> But sometimes i've got this error:
> 
> Traceback (most recent call last):
>   File "/usr/bin/pydoc", line 4, in ?
>     pydoc.cli()
>   File "/usr/lib/python2.3/pydoc.py", line 2119, in cli
>     help.help(arg)
>   File "/usr/lib/python2.3/pydoc.py", line 1581, in help
>     elif request: doc(request, 'Help on %s:')
>   File "/usr/lib/python2.3/pydoc.py", line 1375, in doc
>     pager(title % desc + '\n\n' + text.document(object, name))
>   File "/usr/lib/python2.3/pydoc.py", line 283, in document
>     if inspect.ismodule(object): return self.docmodule(*args)
>   File "/usr/lib/python2.3/pydoc.py", line 958, in docmodule
>     if (inspect.getmodule(value) or object) is object:
>   File "/usr/lib/python2.3/inspect.py", line 373, in getmodule
>     return sys.modules.get(object.__module__)
> SystemError: error return without exception set
> 
> this is happening sometimes when trying to have doc out of compiled
> modules (*.dll)
> 
> any idea ?

No, I have tried a few times and cannot reproduce the error (yet).  What
is the exact command line that triggers the above stack trace?

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]