Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 13 Aug 2004 12:34:32 -0400 From: Jason Tishler To: Cygwin Cc: cygwin-apps AT cygwin DOT com Subject: Re: python 2.3 pydoc : sys.modules.get error Message-ID: <20040813163432.GA72488@tishler.net> Reply-To: Cygwin Mail-Followup-To: Cygwin , cygwin-apps AT cygwin DOT com References: <1092406567 DOT 4369 DOT 36 DOT camel AT bma DOT sysgo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1092406567.4369.36.camel@bma.sysgo.com> User-Agent: Mutt/1.4.1i X-IsSubscribed: yes 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 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/