Your message dated Sat, 09 Jun 2012 00:32:10 +0000
with message-id <[email protected]>
and subject line Bug#675405: fixed in anki 1.2.11-1
has caused the Debian Bug report #675405,
regarding anki: unicode warning with sqlalchemy
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.)
--
675405: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675405
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: anki
Version: 1.2.9-2
Severity: minor
Tags: patch upstream
Dear Maintainer,
running anki from the command line yields
$ anki
/usr/share/anki/anki/deck.py:3597: SAWarning: Unicode column received
non-unicode default value.
Column('name', UnicodeText, nullable=False, default=""),
I've attached the trivial patch to fix this.
Kind regards,
--Toni++
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.3.0-trunk-686-pae (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages anki depends on:
ii python 2.7.2-10
ii python-beautifulsoup 3.2.0-2
ii python-qt4 4.9.1-3
ii python-simplejson 2.5.2-1
ii python-sqlalchemy 0.7.7-1
Versions of packages anki recommends:
ii kakasi 2.3.5~pre1+cvs20071101-1
ii python-matplotlib 1.1.1~rc1-2
Versions of packages anki suggests:
ii dvipng 1.14-1+b1
-- no debconf information
commit d2c903ab87b8a2f6fec08b3e51f67fda8c403fbc
Author: Toni Mueller <[email protected]>
Date: Thu May 31 23:25:31 2012 +0200
fix unicode problem in database code
diff --git a/debian/patches/fix-unicode-problem b/debian/patches/fix-unicode-problem
new file mode 100644
index 0000000..748dfe1
--- /dev/null
+++ b/debian/patches/fix-unicode-problem
@@ -0,0 +1,11 @@
+--- a/libanki/anki/deck.py
++++ b/libanki/anki/deck.py
+@@ -3594,7 +3594,7 @@
+ sourcesTable = Table(
+ 'sources', metadata,
+ Column('id', Integer, nullable=False, primary_key=True),
+- Column('name', UnicodeText, nullable=False, default=""),
++ Column('name', UnicodeText, nullable=False, default=u""),
+ Column('created', Float, nullable=False, default=time.time),
+ Column('lastSync', Float, nullable=False, default=0),
+ # -1 = never check, 0 = always check, 1+ = number of seconds passed.
diff --git a/debian/patches/series b/debian/patches/series
index bcc99a2..56a5473 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+fix-unicode-problem
no-version-nag
paths
default-locale
--- End Message ---
--- Begin Message ---
Source: anki
Source-Version: 1.2.11-1
We believe that the bug you reported is fixed in the latest version of
anki, which is due to be installed in the Debian FTP archive:
anki_1.2.11-1.debian.tar.gz
to main/a/anki/anki_1.2.11-1.debian.tar.gz
anki_1.2.11-1.dsc
to main/a/anki/anki_1.2.11-1.dsc
anki_1.2.11-1_all.deb
to main/a/anki/anki_1.2.11-1_all.deb
anki_1.2.11.orig.tar.gz
to main/a/anki/anki_1.2.11.orig.tar.gz
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.
Andreas Bombe <[email protected]> (supplier of updated anki 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: SHA1
Format: 1.8
Date: Sat, 09 Jun 2012 02:00:08 +0200
Source: anki
Binary: anki
Architecture: source all
Version: 1.2.11-1
Distribution: unstable
Urgency: low
Maintainer: Andreas Bombe <[email protected]>
Changed-By: Andreas Bombe <[email protected]>
Description:
anki - extensible flashcard learning program
Closes: 673032 675405
Changes:
anki (1.2.11-1) unstable; urgency=low
.
* Imported Upstream version 1.2.11
* Upstream release fixes Unicode warning from SQLAlchemy
(Closes: 675405)
* Bump Standards-Version to 3.9.3
* Change archive section to education
* Increase python-sqlalchemy dependency version to 0.5.3 because
module sqlalchemy.exc first appeared in 0.5.0 and there is a known
issue with old versions of pysqlite solved in 0.5.3 (Closes: 673032)
Checksums-Sha1:
5022b93f2b662e2d62752faf19ac390d2f064c0f 1174 anki_1.2.11-1.dsc
9c6dd8e227841e574b56c51ee439d298bd51ac27 1886062 anki_1.2.11.orig.tar.gz
f6277000c7fa3334f0b5fbc3e44daca0d2367e92 14229 anki_1.2.11-1.debian.tar.gz
85c19e33a4603708dded0ad1cc0aa25f2ee30b4c 1414358 anki_1.2.11-1_all.deb
Checksums-Sha256:
9c3ba65b8108ad529306e9c5effa689017b902ef5c85f5e7a9c4cc3e4e27cff0 1174
anki_1.2.11-1.dsc
ca075fd0c0d6851d22046de8f6fa90d7c442cdd4a6783f7c6ffad7fbc46f5089 1886062
anki_1.2.11.orig.tar.gz
6398b29d6995541714e250dc4b27129c1571a5ba01a3fffd021875e1dc3a2e45 14229
anki_1.2.11-1.debian.tar.gz
43929e58739e9a419f266e438ada67f8df33e1d00c7ae8dfb5b7fd648a3f8fc3 1414358
anki_1.2.11-1_all.deb
Files:
7f1ec5b0d03f8afaaca2ce01a367623a 1174 education optional anki_1.2.11-1.dsc
dcd43787bed2dbe63ffb6d153ee9dbe5 1886062 education optional
anki_1.2.11.orig.tar.gz
dfe841fe30ce0c2537996951de0a69ed 14229 education optional
anki_1.2.11-1.debian.tar.gz
61194a99bb446af177b1329418b5f7aa 1414358 education optional
anki_1.2.11-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iD8DBQFP0pXDEYFwMgSICkQRApaIAJ41H87yF/7BDKosDUSu2PZpkV3BywCfWRUy
Dh4NDvRPiREHZr9YdTU+GXM=
=e/Pn
-----END PGP SIGNATURE-----
--- End Message ---