MySQLdb - weird formatting inconsistency

Anthra Norell anthra.norell at bluewin.ch
Sat Apr 24 22:39:53 CEST 2010


Anthra Norell wrote:
> Sebastian Bassi wrote:
>> Hi,
>>
>> Could you post a minimal version of the DB (a DB dump) to test it?
>> Just remove most information and leave on the ones needed to reproduce
>> the error. Also remove any personal/confidential information. Then
>> dump the DB so I can test it here.
>> Best,
>> SB.
>>
>>   
Sebastian,
  Thank you very much for your offer to help. I turned the machine back 
on just now and ran the test again. The error is gone! Everything seems 
to work all right. My conclusion is that a buffer or cache must have 
kept serving malformed leftovers. Making a new cursor object might have 
fixed the problem there and then. Still, caching with this much 
retention is a little unexpected and might cause processing errors, as 
the case proves. Or should one perhaps throw a cursor away after one 
execution and make a new one for the next command?
  Well, anyway I'm glad to escape the embarrassment of having you waste 
time stalking phantoms.
Thanks again

Frederic




More information about the Python-list mailing list