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

Exception: deck was not found: words #5

Open
leej11 opened this issue Jul 10, 2022 · 1 comment
Open

Exception: deck was not found: words #5

leej11 opened this issue Jul 10, 2022 · 1 comment

Comments

@leej11
Copy link

leej11 commented Jul 10, 2022

Hey, first of all thank you for making such a cool tool! I'm excited to get using it. I've unfortunately ran into an issue when trying to run it that I can't seem to figure out what is wrong?

  • I am on MacOS (M1)
  • I installed anki-connect add-on
  • I have Anki 2.1.44 version installed
  • Anki was open in the background
(base) liamgower@Liams-MacBook-Pro kindle2anki % ./kindle2anki.py --vocab-db "/Users/liamgower/Documents/kindle_files/vocab.db" --deck words --no-ask --verbose
DEBUG:root:[Errno 2] No such file or directory: '/Users/liamgower/.kindle'
[0%]	 
Word: whet 
Context: Here are some more to whet your fancy: He was so happy!  
INFO:root:Adding note to words
Traceback (most recent call last):
  File "./kindle2anki.py", line 291, in <module>
    card.create(word, desc + "<br /><br />" + highlight_word_in_context(word, context))
  File "/Users/liamgower/Documents/kindle2anki/card_creator.py", line 30, in create
    self.invoke('addNote',
  File "/Users/liamgower/Documents/kindle2anki/card_creator.py", line 25, in invoke
    raise Exception(response['error'])
Exception: deck was not found: words
@psamim
Copy link
Owner

psamim commented Aug 7, 2022

@leej11 Welcome!
The error says the deck words is not found, do you have this deck created in your Anki?

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

2 participants