473,287 Members | 1,800 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Cannot Read MySQLdb docs within Python interpreter

Con
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
Jun 27 '08 #1
1 1281
En Mon, 26 May 2008 11:09:27 -0300, Con <co******@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

Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dave Harrison | last post by:
Hi all, got a problem combinging mx and MySQLdb, when I build and install both for my Python2.1 install on a Solaris 9 box I can import mx fine, but importing MySQLdb causing python to core dump. ...
5
by: Chris Stromberger | last post by:
When issuing updates in mysql (in the console window), mysql will tell you if any rows matched and how many rows were updated (see below). I know how to get number of rows udpated using MySQLdb,...
2
by: Daniel Baggott | last post by:
Hi, I'm seeking assistance in troubleshooting connecting to MySQL (4.0.20) using Python (2.3.4) and MySQLdb (1.0.0). When I attempt to make a connection, I get the following exception:...
4
by: Lajos Kuljo | last post by:
Hallo, ich bin voll neu im Python-Programming, deshalb ist mein Problem wahrscheinlich trivial: Wenn ich die Script #########################################33 #! /usr/bin/env python import...
1
by: Steve | last post by:
Darwin steve.local 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power Macintosh powerpc MacOSX 10.4.3 mysql Ver 14.7 Distrib 4.1.14, for...
11
by: Fred | last post by:
I hope someone can help me with the below problem... Thanks, Fred My enviroment: -------------------------- Slackware Linux 10.2 Python 2.4.2 MySql version 4.1.14
4
by: Chris8Boyd | last post by:
I am embedding Python in a MSVC++ (2005) application. The application creates some environment and then launches a Python script that will call some functions exported from the MSVC++ application....
8
by: martinnorth | last post by:
Hi, I am running Python and MySQL on Ubuntu and have installed MySQLdb. If I try to import MySQLdb I get the following error: ActivePython 2.5.2.2 (ActiveState Software Inc.) based on Python...
3
by: Lawrence D'Oliveiro | last post by:
In message <mailman.109.1216158151.922.python-list@python.org>, Cyril Bazin wrote: What's the error message? This should be in Apache's error_log file.
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.