Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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
Open

Not working with python2-sqlalchemy >= 0.7 #197

dominikmayer opened this issue Jun 12, 2011 · 5 comments

Comments

@dominikmayer
Copy link

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.

@prosciutboy
Copy link

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

@dominikmayer
Copy link
Author

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

@bsl
Copy link

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
Copy link

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
Copy link

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/pinyin-toolkit@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants