-
Notifications
You must be signed in to change notification settings - Fork 3
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
Stop working after updating #2
Comments
Would you help run
|
Is |
|
Would you try run |
Since official Anki Client will lock the database when it opens, which make anki.el can not read the database. Copy the database is for temporary reading. |
Seems your database does not have the decks data, since |
I mean Anki.el copies the database to temp folder and read the copied file. Anki.el does not read the original database file. If your database does not have the |
I see, here is the database. |
I used https://github.com/louietan/anki-editor to add content to my decks. To be able to add content to the decks, anki has to open and have the https://github.com/FooSoft/anki-connect#installation plugin. |
One note here, if anki keeps open, it will lock the database, and any modification saves to a
I can not find a realible way to handle the |
Since the database can not sync between anki.el and anki in real time, it is difficult for me to handle some anki original data, such as the review logs. Anki is very complicated and big, which makes people can not easily port the features. People tend to implement plugins rather than replica. Besides, I am not a fan of the original anki client, what I like is the deck resources and anki's editing card features. Therefore, anki.el will go lighter and will implement its own review feature in the future. Anki is only providing the database. Actually, I already implemented the anki-connect feature to control the anki client to show and anwer the card. But anki connect is very slow, and keeps anki opening makes me distracted... |
Nice, I like your approach. I am not a elisp hacker but if you need help testing stuff, I would gladly help. When I have tested Have you checked https://github.com/l3kn/org-fc, I think it has more futures than org-drill. For example org-fc has input cards (you type the answer) similar as anki does it. The only thing that stop me from using org-fc is that I cannot use it in my phone |
I am really happy that you provide supports and help! By the way, I tested your I recommend you use the latest anki client to regenerate the database. |
Or maybe your database format is too new....Your |
I checked. Anki did change the database format in later versions.
|
You have to downgrade the anki database and check again. For latest database format, I may wait the stable anki client version come out first. Since the database is still new and does not have enough document for me to integrate. |
Indeed that was the problem. I was using anki version But it seems I do not need to install an older version. If I do |
Could you post here or cut a release when the new database format is supported? I think I'd rather use the Anki app and wait until anki.el supports the new database format than have to downgrade my database. Thanks for your work on this package! |
确实很糟糕,这个包不支持哪个版本的 Anki 应该在 README 写清楚。花时间装上发现不支持,就是浪费时间了。 |
M-x anki
throw this messagejson-read: JSON readtable error: 2
.Debugging:
(setq debug-on-error t)
The text was updated successfully, but these errors were encountered: