Anki emits warning to standard out on startup

Bug #987370 reported by Ted
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
anki (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Anki emits a warning to standard out the first time /usr/share/anki/anki/deck.py:

/usr/share/anki/anki/deck.py:3597: SAWarning: Unicode column received non-unicode default value.

This is confusing to users who launch Anki from the command line, and is trivially fixed by changing the relevant line of deck.py from:

    Column('name', UnicodeText, nullable=False, default=""),

to:

    Column('name', UnicodeText, nullable=False, default=unicode("")),

This also causes unnecessary output for third-party tools that use Anki, like launchpad.net/space.

This is a regression from Ubuntu 11.10.

It's necessary for this bug to be fixed in Ubuntu, since the Anki maintainer has announced that he won't be supporting Anki 1.x versions after Anki 2 is released.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: anki 1.2.9-2 [modified: usr/share/anki/anki/deck.py]
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
CheckboxSubmission: a7b7c6be700da674f2e6dc61bef2a8d8
CheckboxSystem: 86f6fcdd6850a813cd5c77b7959e6176
Date: Mon Apr 23 11:34:43 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327.1)
PackageArchitecture: all
SourcePackage: anki
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ted (tedks) wrote :
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Anki 2.x has been in Ubuntu for a while

Changed in anki (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.