Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Cannot Read MySQLdb docs within Python interpreter

Reply
Thread Tools

Cannot Read MySQLdb docs within Python interpreter

 
 
Con
Guest
Posts: n/a
 
      05-26-2008
Hi, I'm gettting a traceback when I attempt to read the MySQLdb docs
after installation on Mac OS X 10.5.2:

BEGIN TRACEBACK:

>>> help( "MySQLdb" )

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site.py", line 346, in __call__
return pydoc.help(*args, **kwds)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/pydoc.py", line 1645, in __call__
self.help(request)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/pydoc.py", line 1687, in help
elif request: doc(request, 'Help on %s:')
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/pydoc.py", line 1481, in doc
pager(title % desc + '\n\n' + text.document(object, name))
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/pydoc.py", line 324, in document
if inspect.ismodule(object): return self.docmodule(*args)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/pydoc.py", line 1072, in docmodule
contents.append(self.document(value, key, name))
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/pydoc.py", line 325, in document
if inspect.isclass(object): return self.docclass(*args)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/pydoc.py", line 1196, in docclass
lambda t: t[1] == 'method')
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/pydoc.py", line 1146, in spill
name, mod, object))
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/pydoc.py", line 326, in document
if inspect.isroutine(object): return self.docroutine(*args)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/pydoc.py", line 1257, in docroutine
doc = getdoc(object) or ''
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/pydoc.py", line 82, in getdoc
result = inspect.getdoc(object) or inspect.getcomments(object)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/inspect.py", line 521, in getcomments
lines, lnum = findsource(object)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/inspect.py", line 510, in findsource
if pat.match(lines[lnum]): break
IndexError: list index out of range

END TRACEBACK:

If anyone has any ideas as to how to resolve this issue, please feel
free to post the solution and thanks in advance.

-Conrad


 
Reply With Quote
 
 
 
 
Gabriel Genellina
Guest
Posts: n/a
 
      05-26-2008
En Mon, 26 May 2008 11:09:27 -0300, Con <(E-Mail Removed)> escribió:

> Hi, I'm gettting a traceback when I attempt to read the MySQLdb docs
> after installation on Mac OS X 10.5.2:


Better to report it at bugs.python.org

--
Gabriel Genellina

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Library to parse MS word docs & convert Word docs to PDF KYG C++ 2 08-18-2008 07:08 PM
[newgem] How to generate docs with rake docs ? Stéphane Wirtel Ruby 0 04-19-2007 02:46 PM
Python embedded interpreter: how to initialize the interpreter ? ycollet@freesurf.fr Python 3 01-03-2007 01:00 AM
Do Printed Word Docs Look Any Differently From PDF Docs? Martin Computer Support 5 09-20-2006 11:06 PM
Why the Perl docs are so great was why the perl docs suck Al Perl Misc 1 10-16-2005 06:35 PM



Advertisments