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

My dictionary folder setting causes an instant crash of the add-on upon opening. Therefore can't change the folder setting, even by uninstall/reinstall because it remembers the path #115

Open
AnthonyBronislavaGonzales opened this issue Feb 23, 2022 · 0 comments

Comments

@AnthonyBronislavaGonzales

Word query becomes unavailable in menu. No way to switch to a different folder.

Where are the persistent settings for this add-on stored? I want to delete them and try fresh.

Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-02-22 15:30:53

Caught exception:
Traceback (most recent call last):
File "aqt\progress.py", line 54, in handler
File "aqt\main.py", line 149, in on_window_init
File "aqt\main.py", line 197, in setupProfileAfterWebviewsLoaded
File "aqt\main.py", line 244, in setupProfile
File "aqt\main.py", line 425, in loadProfile
File "aqt\hooks_gen.py", line 2985, in call
File "anki\hooks.py", line 34, in runHook
File "C:\Users\Windows 10\AppData\Roaming\Anki2\addons21\775418273_init_.py", line 31, in start_here
from . import prepare
File "C:\Users\Windows 10\AppData\Roaming\Anki2\addons21\775418273\prepare.py", line 28, in
from .ui import show_options
File "C:\Users\Windows 10\AppData\Roaming\Anki2\addons21\775418273\ui.py", line 34, in
from .service import service_manager
File "C:\Users\Windows 10\AppData\Roaming\Anki2\addons21\775418273\service_init_.py", line 20, in
from .manager import service_manager
File "C:\Users\Windows 10\AppData\Roaming\Anki2\addons21\775418273\service\manager.py", line 113, in
service_manager = ServiceManager()
File "C:\Users\Windows 10\AppData\Roaming\Anki2\addons21\775418273\service\manager.py", line 35, in init
self.update_services()
File "C:\Users\Windows 10\AppData\Roaming\Anki2\addons21\775418273\service\manager.py", line 50, in update_services
self.local_services = self._get_available_local_services()
File "C:\Users\Windows 10\AppData\Roaming\Anki2\addons21\775418273\service\manager.py", line 109, in _get_available_local_services
services.add(StardictService(dict_path))
File "C:\Users\Windows 10\AppData\Roaming\Anki2\addons21\775418273\service\base.py", line 418, in init
self.builder.get_header()
File "C:\Users\Windows 10\AppData\Roaming\Anki2\addons21\775418273\libs\pystardict.py", line 447, in get_header
self.ifo = _StarDictIfo(
File "C:\Users\Windows 10\AppData\Roaming\Anki2\addons21\775418273\libs\pystardict.py", line 57, in init
_file.readline()
File "C:\python\lib\encodings\cp1252.py", line 23, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 96: character maps to

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