Cannot Read MySQLdb docs within Python interpreter

Discussion in 'Python' started by Con, May 26, 2008.

  1. Con

    Con Guest

    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
    Con, May 26, 2008
    #1
    1. Advertising

  2. En Mon, 26 May 2008 11:09:27 -0300, Con <> 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
    Gabriel Genellina, May 27, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    3
    Views:
    758
    Ziga Seilnacht
    Jan 3, 2007
  2. KYG
    Replies:
    2
    Views:
    884
    Ian Collins
    Aug 18, 2008
  3. Raymond Hettinger

    Have you read the Python docs lately?

    Raymond Hettinger, Apr 27, 2011, in forum: Python
    Replies:
    6
    Views:
    254
    Vinay Sajip
    Apr 28, 2011
  4. Stéphane Wirtel
    Replies:
    0
    Views:
    180
    Stéphane Wirtel
    Apr 19, 2007
  5. Al
    Replies:
    1
    Views:
    151
    Henry Law
    Oct 16, 2005
Loading...

Share This Page