Cannot Read MySQLdb docs within Python interpreter

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Con

    Cannot Read MySQLdb docs within Python interpreter

    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.framewor k/Versions/2.5/lib/
    python2.5/site.py", line 346, in __call__
    return pydoc.help(*arg s, **kwds)
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/pydoc.py", line 1645, in __call__
    self.help(reque st)
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/pydoc.py", line 1687, in help
    elif request: doc(request, 'Help on %s:')
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/pydoc.py", line 1481, in doc
    pager(title % desc + '\n\n' + text.document(o bject, name))
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/pydoc.py", line 324, in document
    if inspect.ismodul e(object): return self.docmodule( *args)
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/pydoc.py", line 1072, in docmodule
    contents.append (self.document( value, key, name))
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/pydoc.py", line 325, in document
    if inspect.isclass (object): return self.docclass(* args)
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/pydoc.py", line 1196, in docclass
    lambda t: t[1] == 'method')
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/pydoc.py", line 1146, in spill
    name, mod, object))
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/pydoc.py", line 326, in document
    if inspect.isrouti ne(object): return self.docroutine (*args)
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/pydoc.py", line 1257, in docroutine
    doc = getdoc(object) or ''
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/pydoc.py", line 82, in getdoc
    result = inspect.getdoc( object) or inspect.getcomm ents(object)
    File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/
    python2.5/inspect.py", line 521, in getcomments
    lines, lnum = findsource(obje ct)
    File "/Library/Frameworks/Python.framewor k/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


  • Gabriel Genellina

    #2
    Re: Cannot Read MySQLdb docs within Python interpreter

    En Mon, 26 May 2008 11:09:27 -0300, Con <conradwt@gmail .comescribió:
    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

    Comment

    Working...