daedsidog / Anki-autoLapseNewInterval

An Anki 2.1 addon which automatically adjusts the new lapse interval.
GNU General Public License v3.0
6 stars 1 forks source link

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

Open AndreC137 opened 3 years ago

AndreC137 commented 3 years ago

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: https://github.com/daedsidog/Anki-autoLapseNewInterval/issues/4 But it did not help (I created a folder in addons with theinit.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)