[Python-modules-team] python-mysqldb

Detlev Lengsfeld detlev.lengsfeld at t-online.de
Mon Nov 27 23:15:00 CET 2006


i am not able to fix the probs

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 7 to server version: 5.0.27-Debian_1-log

Reading history-file /root/.mysql_history
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> Writing history-file /root/.mysql_history
Aborted
root at vible:/home/macdet/Desktop/MySql/mysql-python/branches/MySQLdb-1.2/MySQLdb# python2.4 /home/macdet/Desktop/MySql/conn.py
Traceback (most recent call last):
  File "/home/macdet/Desktop/MySql/conn.py", line 6, in ?
    cursor.execute ("show databases;")
  File "/usr/lib/python2.4/site-packages/MySQLdb/cursors.py", line 166,
in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line
35, in defaulterrorhandler
    raise errorclass, errorvalue
SystemError: NULL object passed to Py_BuildValue
Exception _mysql_exceptions.ProgrammingError: (2014, "Commands out of
sync; you can't run this command now") in <bound method Cursor.__del__
of <MySQLdb.cursors.Cursor object at 0xb798736c>> ignored


Wich version should be ok? How I can debug the error?

After years of luck :(  

-- 
mfg

Detlev Lengsfeld
----------------------------------
homepage: http://mobbing-gegner.de
telefon:  05355/91557
handy:    0171/2833772
----------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20061127/b303ef3d/attachment.htm


More information about the Python-modules-team mailing list