Giter VIP home page Giter VIP logo

Comments (14)

narboled avatar narboled commented on June 10, 2024 1

Yep! Once i installed 2.1.15 it started working again, and the import bug test reported no issues! Thank you!

from review-heatmap.

OblivionForever avatar OblivionForever commented on June 10, 2024 1

Installed the new beta release and received this glorious message with a functioning "Review Heatmap" visible in the background:
image

Thank you for all of your help @glutanimate; your work within this community is un-matched!

from review-heatmap.

glutanimate avatar glutanimate commented on June 10, 2024 1

Awesome! Thanks for the feedback, guys. I'm glad we managed to resolve this.

from review-heatmap.

glutanimate avatar glutanimate commented on June 10, 2024

Thanks for the very thorough bug report, @OblivionForever, and sorry about the late response (did not have a lot of time lately). I had a couple follow-up questions:

  • It seems like, in this bug report a least, you installed Review Heatmap using the old method (manually unpacking .zip files). I was wondering if you also gave the new .ankiaddon release a try in the meantime. This one can be installed simply by dragging and dropping it onto the add-on window. Before doing so please remove any existing versions of Review Heatmap
  • I notice that you set the checkmark on trying to disable other add-ons, but just to be 100% sure: If you head to the add-on list, select all add-ons with Ctrl+A, hit "Toggle Enabled" to disable them (they should now all be greyed out), and then just enable Review Heatmap as the only add-on – do you still see the error message pop up when you restart Anki?

Last:

  • Do you have an email address I could send you some test releases through? I have a report of a user experiencing a similar issue with the 2.1 version of Cloze Overlapper – which uses the same shared library that produced the error in this case – and I would like to send the add-on over to you for you to try. If you don't want to share your email address here, feel free to DM me on Reddit, or just send me an email yourself at [email protected]

Thanks!

from review-heatmap.

glutanimate avatar glutanimate commented on June 10, 2024

(Just adding a note for myself here: This might be similar to the issue seen here, which could point to a general problem with Anki's add-on system)

from review-heatmap.

OblivionForever avatar OblivionForever commented on June 10, 2024

Thanks for your thorough response! I'll respond to each bullet point you provided in order:

  1. I have attempted to try downloading the .ankiaddon, but am not able to open the file. I am on a mac and a bit of a computer noob (sorry haha), so I may be missing something obvious here. I am receiving this response when attempting to open the download you provided:
    image

  2. I re-attempted to disable all add-ons besides Review Heatmap as you described, but still received the same error message pop up when restarting anki.

  3. I went ahead and provided an email address for contact via "[email protected]". I would be happy to give that add-on a try to help in any way.

from review-heatmap.

glutanimate avatar glutanimate commented on June 10, 2024

Thanks for the email! I will be sending you the add-on later today.

As for the .ankiaddon file: You can install it by dragging and dropping it onto the add-ons list (Tools -> add-ons from Anki's main window). Make sure to remove any existing version of review heatmap, however.

Seeing how you're still getting the error with all other add-ons disabled, it's unlikely that this new version will fare any better, but it's worth a try. Either way, it will help us narrow down the problem further.

from review-heatmap.

OblivionForever avatar OblivionForever commented on June 10, 2024

Awesome, I look forward to that email!

I gave the .ankiaddon file a try as you described and the same problem arose. Hopefully that indeed does help narrow the problem down further for you. Thanks again for all your help!

from review-heatmap.

glutanimate avatar glutanimate commented on June 10, 2024

OK, just to get everyone up to speed who has been following this issue:

@OblivionForever and I managed to reliably reproduce this error both across other add-ons of mine that use the same type of import statement (e.g. Cloze Overlapper) and an older version of Enhance Main Window by @Arthur-Milchior where the issue seemed to have surfaced for the first time. At this point it seems all but certain that this is an issue in Anki itself, so what remains to be done now is to gather as much information as possible to pass it on upstream.

Summary

What we've figured out so far is:

  • It seems like the issue is caused by relative imports resolving to modules and packages outside of the add-on path. E.g.: with an import statement like from .html import css, rather than importing addon_module.html.css, Anki will attempt to import css from the Python stdlib package html. This is not standard Python behavior, and it is not clear where it stems from.
  • The issue affects only seems to affect a small minority of users, with no clear indication as to which factors are at play in deciding who's affected.
  • The issue seems to be present even with all other add-ons uninstalled
  • So far we have reports of this issue occurring on the following platforms:

Moving Forward

I have started working on a proof-of-concept add-on to help users reliably reproduce the error and report back with as much debug information as possible. For anyone willing to give it a try, I have just pushed a new release here.

The add-on performs a few tests, and then tells you whether your Anki installation is affected by this problem or not. Should you be one of the affected users, then I would very much appreciate your posting the debug message here. It only contains the following information:

  • Your operating system and version
  • Installed Anki version and its support libraries
  • Top-level files and folders in your add-on directory (i.e. installed add-ons)
  • Status of performed import tests

Thanks a lot in advance!

from review-heatmap.

glutanimate avatar glutanimate commented on June 10, 2024

@OblivionForever Sorry for taking up so much of your time with this bug hunt, but if you do get the chance I'd really appreciate it if you could give the test add-on a try and post the debug log here. If nothing else, this might allow me to come up with an interim workaround for the issue for anyone affected by it.

from review-heatmap.

narboled avatar narboled commented on June 10, 2024

Hi,

I am having the same bug issues as oblivion with review heatmap - I downloaded your import bug test addon below.

Bug Status: Affected 
It seems like your system is affected by a module import bug. 
To report your findings, please copy the debug info below and post it here. (no account needed). Feel free to uninstall "Import Bug Test" once you're done 
Thanks so much for your help in tracking this issue down! 
Debug info: 
Anki 2.1.14 (7b93e985) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.14.5
Flags: frz=True ao=True sv=1

Add-ons:

Image Occlusion Enhanced for Anki 21 alpha
load balancer
Hierarchical Tags Addon 20  21
Quick Colour Changing
Button Colours Good Again
Frozen Fields
More Overview Stats 21
True Retention by Card Maturity
Import Bug Test
Review Heatmap

Import Errors:

argparse:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

ast:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

base64:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

bdb:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

bisect:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

bs4:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

bz2:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

calendar:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

cgi:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

chunk:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

cmd:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

code:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

codeop:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

contextlib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

copy:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

csv:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

ctypes:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

datetime:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

decorator:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

difflib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

dis:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

distutils:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

doctest:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

dummy_threading:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

email:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

fnmatch:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

ftplib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

genericpath:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

getopt:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

getpass:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

gettext:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

glob:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

gzip:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

hashlib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

hmac:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

html:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

http:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

importlib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

inspect:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

ipaddress:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

json:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

logging:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

lzma:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

markdown:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

mimetypes:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

netrc:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

ntpath:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

nturl2path:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

opcode:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

optparse:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

os:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pdb:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pickle:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pkgutil:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

platform:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

plistlib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

posixpath:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pprint:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

py_compile:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pyaudio:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pydoc:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pydoc_data:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

PyQt5:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

queue:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

quopri:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

random:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

requests:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

selectors:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

send2trash:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

shlex:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

shutil:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

signal:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

socket:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

socketserver:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

sqlite3:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

ssl:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

stat:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

string:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

stringprep:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

subprocess:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

tarfile:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

tempfile:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

textwrap:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

threading:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

token:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

tokenize:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

tracemalloc:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

unittest:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

urllib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

uu:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

uuid:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

wave:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

webbrowser:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

xml:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

zipfile:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

certifi:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

chardet:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

idna:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

tty:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

urllib3:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

certifi:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

chardet:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

idna:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

tty:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

urllib3:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

from review-heatmap.

OblivionForever avatar OblivionForever commented on June 10, 2024

@glutanimate Absolutely! I have provided the necessary information below. Let me know if you need anymore help!

Bug Status: Affected 
It seems like your system is affected by a module import bug. 
To report your findings, please copy the debug info below and post it here. (no account needed). Feel free to uninstall "Import Bug Test" once you're done 
Thanks so much for your help in tracking this issue down! 
Debug info: 
Anki 2.1.12 (eef86bf3) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.13.6
Flags: frz=True ao=True sv=1

Add-ons:

Edit Field During Review
Speed Focus Mode auto-alert auto-reveal auto-fail
Answer Confirmation Colorized (disabled)
Special Fields
Image Occlusion Enhanced Alpha for Anki 21
Night Mode
Pop-up Dictionary beta
More Decks Stats and Time Left
Full Screen Toggle
Hierarchical Tags Addon 20  21
Fastbar another toolbar for Anki 21 beta
Customize Sidebar
Load Balanced Scheduler
Highlight Search Results in the Browser
Customize Keyboard Shortcuts
Button Colours Good Again
Mini Format Pack
ReMemorize Rescheduler with sibling and logging v114
Frozen Fields
True Retention
More Overview Stats 21
Anki Web Browser Selection searching Import texts and images automatically
Import Bug Test

Import Errors:

argparse:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

ast:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

base64:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

bdb:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

bisect:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

bs4:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

bz2:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

calendar:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

cgi:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

chunk:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

cmd:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

code:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

codeop:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

contextlib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

copy:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

csv:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

ctypes:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

datetime:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

decorator:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

difflib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

dis:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

distutils:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

doctest:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

dummy_threading:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

email:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

fnmatch:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

ftplib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

genericpath:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

getopt:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

getpass:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

gettext:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

glob:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

gzip:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

hashlib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

hmac:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

html:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

http:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

importlib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

inspect:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

ipaddress:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

json:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

logging:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

lzma:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

markdown:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

mimetypes:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

netrc:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

ntpath:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

nturl2path:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

opcode:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

optparse:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

os:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pdb:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pickle:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pkgutil:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

platform:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

plistlib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

posixpath:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pprint:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

py_compile:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pyaudio:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pydoc:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

pydoc_data:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

PyQt5:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

queue:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

quopri:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

random:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

requests:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

selectors:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

send2trash:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

shlex:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

shutil:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

signal:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

socket:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

socketserver:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

sqlite3:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

ssl:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

stat:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

string:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

stringprep:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

subprocess:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

tarfile:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

tempfile:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

textwrap:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

threading:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

token:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

tokenize:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

tracemalloc:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

unittest:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

urllib:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

uu:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

uuid:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

wave:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

webbrowser:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

xml:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

zipfile:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

certifi:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

chardet:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

idna:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

tty:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

urllib3:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

certifi:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

chardet:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

idna:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

tty:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

urllib3:
ImportError("cannot import name 'answer_to_life_universe_and_everything'",)

from review-heatmap.

glutanimate avatar glutanimate commented on June 10, 2024

Thanks for posting your debug logs, @OblivionForever and @narboled! These were very helpful. I'm happy to say that I'm finally able to reproduce the bug now. Now it's time to pass the torch to Anki and see if this can be fixed somehow: https://anki.tenderapp.com/discussions/ankidesktop/34836-relative-imports-in-add-ons-failing-under-specific-circumstances

I will let you know in this thread if I have any news.

Thanks again!

from review-heatmap.

glutanimate avatar glutanimate commented on June 10, 2024

Hey guys,

Damien (Anki's creator) just pushed a new beta release of Anki that should hopefully fix the issue. If you can, please do give it a try and let me know if both Import Bug Test and Review Heatmap work with it. Thanks in advance!

from review-heatmap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.