shigeyukey / Pokemanki-Gold

This is a modified version of Pokemanki.(Not original)
2 stars 0 forks source link

Something problem with AnkiHub compatibility #13

Open shigeyukey opened 1 week ago

shigeyukey commented 1 week ago

https://community.ankihub.net/t/trying-to-download-the-deck-first-time/271028

Anki 2.1.61 (0c1eaf4c) Python 3.9.15 Qt 6.3.2 PyQt 6.3.1 Platform: macOS-14.4.1-arm64-arm-64bit Flags: frz=True ao=True sv=2 Add-ons, last update check: 2024-07-29 20:05:04

Traceback (most recent call last):

File "aqt.taskman", line 122, in _on_closures_pending

File "/Users/prasanth/Library/Application Support/Anki2/addons21/1322529746/gui/menu.py", line 335, in on_done future.result()

File "concurrent.futures._base", line 439, in result

File "concurrent.futures._base", line 391, in __get_result

File "/Users/prasanth/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper return func(*args, **kwargs)

File "/Users/prasanth/Library/Application Support/Anki2/addons21/1322529746/gui/operations/ankihub_sync.py", line 96, in _on_new_deck_subscriptions_done future.result()

File "concurrent.futures._base", line 439, in result

File "concurrent.futures._base", line 391, in __get_result

File "/Users/prasanth/Library/Application Support/Anki2/addons21/1322529746/gui/operations/utils.py", line 39, in wrapper return func(*args, **kwargs)

File "/Users/prasanth/Library/Application Support/Anki2/addons21/1322529746/gui/operations/deck_installation.py", line 95, in _on_install_done aqt.mw.reset()

File "aqt.main", line 821, in reset

File "aqt.main", line 773, in _synthesize_op_did_execute_from_reset

File "_aqt.hooks", line 3547, in call

File "aqt.main", line 785, in on_operation_did_execute

File "aqt.deckbrowser", line 90, in op_executed

File "aqt.deckbrowser", line 81, in refresh_if_needed

File "decorator", line 232, in fun

File "anki.hooks", line 89, in decorator_wrapper

File "anki.hooks", line 80, in repl

File "aqt.deckbrowser", line 76, in refresh

File "aqt.deckbrowser", line 149, in _renderPage

File "aqt.deckbrowser", line 158, in __renderPage

File "_aqt.hooks", line 1669, in call

File "/Users/prasanth/Library/Application Support/Anki2/addons21/1677779223/main.py", line 191, in replace_gears soup = BeautifulSoup(content.tree, "html.parser")

File "bs4", line 312, in init

TypeError: 'NoneType' object is not callable