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

Anki error 84dcaa86 (Couldn't fix with_init_.py) #8

Open
AndreC137 opened this issue Jul 25, 2021 · 0 comments
Open

Anki error 84dcaa86 (Couldn't fix with_init_.py) #8

AndreC137 opened this issue Jul 25, 2021 · 0 comments

Comments

@AndreC137
Copy link

This happened early today, I already restarted my windows a couple of times, I was at Anki 2.1.29 when it first happened, and updated it to 2.1.40 and 2.1.44 but both of them did not even open due to https://forums.ankiweb.net/t/windows-update-broke-anki/1822.

So I downloaded the 32 bit version of 2.1.35 and the (84dcaa86) of Anki 2.1.29 was still there. I tried this fix: #4
But it did not help (I created a folder in addons with the_init_.py file inside it)

My main concern is for the Reschedule addon, it is fundamental in my workflow, although I liked pomodoro timer too. Without the reschedule I'll certainly get into an ease hell. Some other addons like killstreaks seems to be working fine, although I disabled all of them and left only Customize keyboards, pomo (which isn't working), and Reschedule (which isn't working)

Please help me out! I have 700+ reviews to take care of today and my studies are heavily dependent on Anki and this add-on.

Sorry for the inconvenience.

Debug info:
Anki 2.1.35 (84dcaa86) Python 3.8.1 Qt 5.12.6 PyQt 5.12.3
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-07-25 07:24:03

Caught exception:
Traceback (most recent call last):
File "aqt\main.py", line 286, in onOpenProfile
File "aqt\main.py", line 427, in loadProfile
File "aqt\gui_hooks.py", line 2033, in call
File "lib\site-packages\anki\hooks.py", line 583, in runHook
File "C:\Users\Andre\AppData\Roaming\Anki2\addons21\2018952444_init_.py", line 27, in start
rr = TomatoClock.OneClockAddon()
File "C:\Users\Andre\AppData\Roaming\Anki2\addons21\2018952444\TomatoClock\TomatoClock.py", line 35, in init
self.dlg = OneClock(mw)
File "C:\Users\Andre\AppData\Roaming\Anki2\addons21\2018952444\TomatoClock\ui\OneClock.py", line 28, in init
self._adjust_ui()
File "C:\Users\Andre\AppData\Roaming\Anki2\addons21\2018952444\TomatoClock\ui\OneClock.py", line 74, in _adjust_ui
self._adjust_min_list()
File "C:\Users\Andre\AppData\Roaming\Anki2\addons21\2018952444\TomatoClock\ui\OneClock.py", line 102, in _adjust_min_list
break_min_dicts = UserConfig.BREAK_MINUTES
File "C:\Users\Andre\AppData\Roaming\Anki2\addons21\2018952444\TomatoClock\lib\kkLib.py", line 116, in getattr
config_obj = load_config()
File "C:\Users\Andre\AppData\Roaming\Anki2\addons21\2018952444\TomatoClock\lib\kkLib.py", line 115, in
load_config = lambda: cls.get_config(cls.metas[cls.name].store_location)
File "C:\Users\Andre\AppData\Roaming\Anki2\addons21\2018952444\TomatoClock\lib\kkLib.py", line 171, in get_config
disk_config_obj = get_json_dict(cls.media_json_file)
File "C:\Users\Andre\AppData\Roaming\Anki2\addons21\2018952444\TomatoClock\lib\kkLib.py", line 156, in get_json_dict
return json.load(ff)
File "json_init
.py", line 293, in load
File "json_init
.py", line 357, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

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

1 participant