Your message dated Wed, 04 Nov 2015 09:25:25 +0000
with message-id <[email protected]>
and subject line Bug#803944: fixed in python-mysqldb 1.3.6-1
has caused the Debian Bug report #803944,
regarding python-mysqldb: MySQLdb.escape_string method fails
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
803944: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803944
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-mysqldb
Version: 1.3.4-2.1
Severity: important
Dear Maintainer,
Since 1.3.4-2.1, MySQLdb.escape_string method fails.
Downgrading to 1.2.3-2.1, the method works again.
Example with 1.3.4-2.1:
$ python -c 'import MySQLdb; print(MySQLdb.escape_string(b"foo"))'
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: must be impossible<bad format char>, not str
$ python -c 'import MySQLdb; print(MySQLdb.escape_string(u"foo"))'
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: must be impossible<bad format char>, not unicode
The same with 1.2.3-2.1:
$ python -c 'import MySQLdb; print(MySQLdb.escape_string(b"foo"))'
foo
$ python -c 'import MySQLdb; print(MySQLdb.escape_string(u"foo"))'
foo
Here is the same issue by other people:
https://github.com/PyMySQL/mysqlclient-python/issues/23
and a probable fix:
https://github.com/PyMySQL/mysqlclient-python/commit/fae710dbfc3d3bcdc71aaef607ebd78f0b1a49d9
Thanks,
Fabien
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.65-xenU-19-0e6777a-x86_64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages python-mysqldb depends on:
ii libc6 2.19-22
ii libmysqlclient18 5.6.25-4
ii python 2.7.9-1
pn python:any <none>
ii zlib1g 1:1.2.8.dfsg-2+b1
python-mysqldb recommends no packages.
Versions of packages python-mysqldb suggests:
ii mysql-server 5.6.25-4
pn python-egenix-mxdatetime <none>
pn python-mysqldb-dbg <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: python-mysqldb
Source-Version: 1.3.6-1
We believe that the bug you reported is fixed in the latest version of
python-mysqldb, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Brian May <[email protected]> (supplier of updated python-mysqldb package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 04 Nov 2015 19:32:44 +1100
Source: python-mysqldb
Binary: python-mysqldb python-mysqldb-dbg python3-mysqldb python3-mysqldb-dbg
Architecture: source amd64
Version: 1.3.6-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<[email protected]>
Changed-By: Brian May <[email protected]>
Description:
python-mysqldb - Python interface to MySQL
python-mysqldb-dbg - Python interface to MySQL (debug extension)
python3-mysqldb - Python interface to MySQL
python3-mysqldb-dbg - Python interface to MySQL (debug extension)
Closes: 667661 803944
Changes:
python-mysqldb (1.3.6-1) unstable; urgency=medium
.
* Incorporate NMU changes. Thanks Andreas.
* Fix debian/watch.
* Remove duplicate changelog file.
* New upstream release.
* Fixes MySQLdb.escape_string method fails. Closes: #803944.
* Don't suggest MySQL 5.1 which is no longer available. Closes: #667661.
Checksums-Sha1:
f350fe22477c3ca358f754969cf943ab3b08f34c 2438 python-mysqldb_1.3.6-1.dsc
d62efe5476dfcc65a970730bc65e73cb10ca59ec 78133 python-mysqldb_1.3.6.orig.tar.gz
0050d7fada6723d43b4c1042176d71f8cb17a1d5 8864
python-mysqldb_1.3.6-1.debian.tar.xz
18132ba40ff55d234b0a16e7e6f0518b2d526b3f 32300
python-mysqldb-dbg_1.3.6-1_amd64.deb
6285a2ca8d9191b6e78fbb12223477416cf59dc4 51166 python-mysqldb_1.3.6-1_amd64.deb
3b77fbfbe19d5147ab44e6994b282052a166a127 32686
python3-mysqldb-dbg_1.3.6-1_amd64.deb
22a54d3e7b3c71eaf589eadce9746c46b4f80f91 48254
python3-mysqldb_1.3.6-1_amd64.deb
Checksums-Sha256:
23d940a80416d86f4eae5b2e913ebcc9017e8ddc870efee3af4f0611cdae3084 2438
python-mysqldb_1.3.6-1.dsc
1f63a8ab111530a0ff9acaeb118074f11e7564b7c124f2e7fc56fcac641aecf2 78133
python-mysqldb_1.3.6.orig.tar.gz
fa187c572f120018703a026cc7dd4fc664d44e5d76fe35936a1bdb0dbb688748 8864
python-mysqldb_1.3.6-1.debian.tar.xz
ef85c1e2435f79217706b613fb3385912b6942640c7e3fc99ea3d6cc081c83b4 32300
python-mysqldb-dbg_1.3.6-1_amd64.deb
5cce4b554aa642ad0170b3ec25bda9b2822735f8cde1fc4926c487e0ccf2ce9c 51166
python-mysqldb_1.3.6-1_amd64.deb
c6c673830d1688709b54dd8a24292cd5f82bc1766d94d1dce865deadba6f335c 32686
python3-mysqldb-dbg_1.3.6-1_amd64.deb
a9a39d75a562eab7197a5eee6782256c5583b6dc8b6ec94757c6a5cc8a7c55a4 48254
python3-mysqldb_1.3.6-1_amd64.deb
Files:
095a27dbe7c3fc62f7fc2872da7715a3 2438 python optional
python-mysqldb_1.3.6-1.dsc
58d7c9c617a4286a88db290e7857d3aa 78133 python optional
python-mysqldb_1.3.6.orig.tar.gz
828ff08c42e3dba9e82c939f5fdc7eb2 8864 python optional
python-mysqldb_1.3.6-1.debian.tar.xz
aed704d051495d840960e782e4e247bc 32300 debug extra
python-mysqldb-dbg_1.3.6-1_amd64.deb
656806d426e3327df52da130554be692 51166 python optional
python-mysqldb_1.3.6-1_amd64.deb
de85a1c709a2d288fd7d6fdcc3ccff12 32686 debug extra
python3-mysqldb-dbg_1.3.6-1_amd64.deb
aa188523ebc8676165d82a2640d66993 48254 python optional
python3-mysqldb_1.3.6-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJWOcNkAAoJEJyE7hq50CY2XOUQAMqvx4AQVjJexeP9sE6k49aB
+OZ9UVg/c/2doirtz9T3zqGukdYu8HHGguzOaPP8DM2LjT9kP6AC8WhfpCap88co
Bv2KcgZlTQy2JZvSmMp6+B3zp1R/NimIF26sNGA891eh+XCiQRvGaRpI67MVOWVc
L94kesXb7zQ7nHBTGTx7brqEvKtBSn6DwmOJPM9U2wr/KPY+h96A1/WxNcw7ocCP
eRAiDs3loTj5sWp+2iVxJyjAE9aBnarsKSc62ruimzQGMYhGB+a2yIyT3xD47Gs8
CkM8qNeIsXirxntB8BvWhJAestt2gX6I1Wz1PHqWoElTxAzQj6FjTU+itRs02R0j
BiF/cqomsvhpZsO6zr2jlmh2+eABIBNvEwQTQj0cdd4uqMr3BEy5dmCP8R4Sp3EX
/2sm9P2zsMUW2Uwg6xxuvbGzkLwQCNOm0lyUJJwGYulAmUmpAILD+yDRDWuCaRyw
1gt49ZcIvLgCCComGBIpSf6mXAPjmBfURbJZf8IeNx1zuC4HE0Z/SMS7dSYXrvR2
y3AtQ93ipGgatVeV/ScEqYxf0UjeYAZA/RUwr/hsMFWLfJON531ERc/1zRydj+zf
AWI+P2hOpzW7/SoFVCG6yaEQW+lSbIcctxjiGr0swcqidiG7eYnvqaPS2SNL5w8y
M9xk9DXDVyWY0UcPQlV7
=QQ6/
-----END PGP SIGNATURE-----
--- End Message ---