Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Not working with python2-sqlalchemy >= 0.7 #197

Open
dominikmayer opened this Issue Jun 12, 2011 · 5 comments

Comments

Projects
None yet
5 participants

I'm running Anki on Arch Linux. With the update of python2-sqlalchemy from 0.6.7 to 0.7.0 (now 0.7.1) Pinyin Toolkit doesn't work anymore. Anki had a similar problem but the bug has been fixed.

Until next pinyin-toolkit update, keep using the old package python2-sqlalchemy-0.6.7-1 is the only solution ?

Is there going to be a next version? pinyin-toolkit seems to be abandoned.

bsl commented Feb 23, 2012

I changed two instances of "sqlalchemy.exceptions" to "sqlalchemy.exc" under ~/.anki (use grep or ack to find them) to get it to work somewhat. I forked the repo and I'm going to try fix it some better way.

jruere commented Mar 13, 2012

AFAICS, this is a problem in sqlalchemy (http://www.sqlalchemy.org/trac/ticket/2433) that is triggered in cjklib (http://code.google.com/p/cjklib/issues/detail?id=15), not of this project.

ospalh commented May 7, 2012

The problem is that nobody has ever updated cjklib to reflect changes in sqlalchemy.
The daring can go into the plugins folder, than to pinyin/vendor/cjklib and apply this patch: ospalh@5bf6985 which should be equivalent to
https://gist.github.com/2630334
which should be equivalent to changing sqlalchemy.exception to sqlalchemy.exc wherever you find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment