Hi Jonas,<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
> Attached is a patch that fixes the problem in _mysql.c. It was made against<br>
> 1.2.3, but applies to 1.2.2 with some fuzz.<br>
<br>
the bugreport contains a different patch than you attached to your mail.<br></blockquote><div><br></div><div>Yes, it's a similar report, but the submitter tries to fix the problem in python-land instead of the .c file. As he says himself ; </div>
<div><div>+ # Similar to _mysql_Exception. Not perfect.</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
> Patch has also been submitted to python-mysqldb at sourceforge.<br>
<br>
unfortunately i cannot find either of the patches (the one from upstream<br>
mysql-python sourceforge bug tracking system, and the one you attached<br>
to this debian bugreport) applied against upstream mysql-python sources.<br></blockquote><div><br></div><div>I attached the patch to a report in sourceforge ; </div><div><br></div><div><a href="http://sourceforge.net/tracker/?func=detail&aid=3008217&group_id=22307&atid=374934">http://sourceforge.net/tracker/?func=detail&aid=3008217&group_id=22307&atid=374934</a></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
neither in svn, nor in hg repository. please point me to the upstream<br>
source where one of the patches has been applied.<br></blockquote><div><br></div><div>We just realised this problem a few days ago, after 14 months of mysterious "why is the cursor.description None in python-land ? who silenced the exception ?".</div>
<div><br></div><div>After a while, we finally managed to reproduce the problem with a simple script, and a after a bit of digging, we found the missing check in _mysql.c.</div><div><br></div><div>However, this was just last week, so no upstream versions have applied the patch (yet..). Otoh, the project doesn't seem to be that regularly maintained these days, hence I decided to also submit patches to debian and ubuntu directly.</div>
<div><br></div><div>cheers,</div><div>eskil</div><div>---</div></div>