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

No module named 'statistics' #1

Open
Damaskox opened this issue Mar 24, 2023 · 10 comments
Open

No module named 'statistics' #1

Damaskox opened this issue Mar 24, 2023 · 10 comments

Comments

@Damaskox
Copy link

Damaskox commented Mar 24, 2023

image

The card loaded but it doesn't accept an answer.

adam-binks added a commit that referenced this issue Mar 24, 2023
@adam-binks
Copy link
Collaborator

Thanks for reporting @Damaskox! I've updated to fix this, could you update the addon, restart Anki, and see if it works now?

To update the addon, open Anki, go to Tools > Addons > Select "Anki with Uncertainty" > Check for updates > Update all

@Damaskox
Copy link
Author

@adam-binks Just done the deed!
More oh-noes' there however!

image

@adam-binks
Copy link
Collaborator

@Damaskox Huh, thanks for reporting!

Looks like your Anki instance is running Python 2.7 instead of 3 as it's missing those language features. I'm curious if you did any custom configuration? Or maybe it's an especially old install of Anki?

@adam-binks
Copy link
Collaborator

@Damaskox - I just pushed a fix for this, could you test and let me know if it works for you?

It's hard to reproduce these errors as my Anki version comes with Python 3 as far as I can tell. So thanks again for your help tracking these issues down!

@Damaskox
Copy link
Author

@adam-binks

image

Good question! I have many addons so they could be a culprit...other than that I have no memory xD

Anki-Habitica was causing some problems so I deactivated it.
Now I don't get complaints (errors) from Anki anymore but your test card either won't accept my answer (Pressing enter after writing number-number leads to nothing happening).

Weell I'd like to give te addon a try so I'd like to see it fixed xD

@adam-binks adam-binks reopened this Mar 29, 2023
@adam-binks
Copy link
Collaborator

@Damaskox Huh! This one is hard to debug, you could try pressing "Show answer" after typing in the box to see if the back of the card works. But I expect it won't.

If you install the Web view inspector, could you open the console (right click the card > "Inspect" > "Console") and see if there any errors showing up in there?

@Damaskox
Copy link
Author

@adam-binks

image

I did type the answer; I just couldn't insert my answer with Enter 😅

image

@Damaskox
Copy link
Author

Damaskox commented Apr 3, 2023

@adam-binks

Anything new?
I've been waiting excitedly 😂
Dreaming about this when I see a number in my cards.

@Damaskox
Copy link
Author

Bump

@adam-binks
Copy link
Collaborator

Hey @Damaskox, could you email me at adam [[at]] sage-future [.] org? I'm having trouble reproducing this bug, I think we'll need to call to investigate more.

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