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 2.1.57 (6b7d372c) Error for Anki 2.1.57 - maximum recursion depth after opening Anki #15

Open
Kosezu opened this issue Feb 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working todo Scheduled for development

Comments

@Kosezu
Copy link

Kosezu commented Feb 6, 2023

Happens after opening Anki 57

Debug info:
Anki 2.1.57 (6b7d372c) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1
Platform: macOS-13.2-x86_64-i386-64bit
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-12-16 15:33:52
Add-ons possibly involved: ⁨Leech Toolkit⁩

Caught exception:
Traceback (most recent call last):
File "aqt.taskman", line 122, in _on_closures_pending
File "aqt.taskman", line 71, in
File "aqt.taskman", line 90, in wrapped_done
File "aqt.sync", line 117, in on_future_done
File "aqt.main", line 1023, in on_collection_sync_finished
File "_aqt.hooks", line 4624, in call
File "/Users/cso/Library/Application Support/Anki2/addons21/368380974/src/sync.py", line 80, in sync_collection
toolkit_configs: dict = manager.get_all_configs()
File "/Users/cso/Library/Application Support/Anki2/addons21/368380974/src/config.py", line 76, in get_all_configs
toolkit_configs[f'{deck_name_id.id}'] = merge_fields(self.config.get(str(config_id), {}), self.config)
File "/Users/cso/Library/Application Support/Anki2/addons21/368380974/src/config.py", line 28, in merge_fields
config[field] = merge_fields(config[field], default_copy[field])
File "/Users/cso/Library/Application Support/Anki2/addons21/368380974/src/config.py", line 28, in merge_fields
config[field] = merge_fields(config[field], default_copy[field])
File "/Users/cso/Library/Application Support/Anki2/addons21/368380974/src/config.py", line 28, in merge_fields
config[field] = merge_fields(config[field], default_copy[field])
[Previous line repeated 983 more times]
File "/Users/cso/Library/Application Support/Anki2/addons21/368380974/src/config.py", line 21, in merge_fields
default_copy = default_config.copy()
RecursionError: maximum recursion depth exceeded while calling a Python object

@Kosezu Kosezu added the issue Facing some difficulties label Feb 6, 2023
@iamjustkoi
Copy link
Owner

Sorry this's popped up for you and thanks, again, for the report!
Will try and look into it and see if it's something I can fix, as soon as I can.

@iamjustkoi iamjustkoi added bug Something isn't working and removed issue Facing some difficulties labels Feb 7, 2023
@iamjustkoi iamjustkoi changed the title Anki 2.1.57 (6b7d372c) Error Anki 2.1.57 (6b7d372c) Error for Anki 2.1.57 - maximum recursion depth after opening Anki Feb 7, 2023
@iamjustkoi iamjustkoi added the todo Scheduled for development label Feb 7, 2023
@iamjustkoi iamjustkoi self-assigned this Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working todo Scheduled for development
Projects
None yet
Development

No branches or pull requests

2 participants