Unlucky-Life / ankimon

Ankimon is a Anki Addon to Gamify your learning experience
Other
38 stars 4 forks source link

issues with downloading #94

Closed monshino closed 2 months ago

monshino commented 2 months ago

this message shows up when I install the addon.. and no ankimon tab found on the side bar. image

Anki 24.04.1 (ccd9ca1a) (ao) Python 3.9.18 Qt 6.6.2 PyQt 6.6.1 Platform: Windows-10-10.0.22635

When loading Ankimon by Unlucky-life: Traceback (most recent call last): File "C:\Users*\AppData\Roaming\Anki2\addons21\1908235722__init__.py", line 1121, in generate_random_pokemon base_experience = search_pokeapi_db_by_id(id, "base_experience") File "C:\Users*\AppData\Roaming\Anki2\addons21\1908235722__init__.py", line 1981, in search_pokeapi_db_by_id with open(str(pokeapi_db_path), "r", encoding="utf-8") as json_file: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\*****\AppData\Roaming\Anki2\addons21\1908235722\user_files\data_files\pokeapi_db.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "aqt.addons", line 247, in loadAddons File "C:\Users*\AppData\Roaming\Anki2\addons21\1908235722__init__.py", line 2034, in name, id, level, ability, type, stats, enemy_attacks, base_experience, growth_rate, hp, max_hp, ev, iv, gender, battle_status, battle_stats = generate_random_pokemon() File "C:\Users*\AppData\Roaming\Anki2\addons21\1908235722__init.py", line 1153, in generate_random_pokemon return generate_random_pokemon() # Return the result of the recursive call File "C:\Users*****\AppData\Roaming\Anki2\addons21\1908235722\init__.py", line 1155, in generate_random_pokemon showInfo("Error", "Can't open the JSON File.") File "aqt.utils", line 296, in showInfo TypeError: arguments did not match any overloaded call: QMessageBox(parent: Optional[QWidget] = None): argument 1 has unexpected type 'str' QMessageBox(icon: QMessageBox.Icon, title: Optional[str], text: Optional[str], buttons: QMessageBox.StandardButton = QMessageBox.NoButton, parent: Optional[QWidget] = None, flags: Qt.WindowType = Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint): argument 1 has unexpected type 'str'

Victologo commented 2 months ago

The same... when dowloading the sprites at a certain % it stops, then crashs

Victologo commented 2 months ago

The same... when dowloading the sprites at a certain % it stops, then crashs

Unlucky-Life commented 2 months ago

@Victologo @monshino hey, ok no worries, here is the link to the zip files we the needed downloaded files: https://send.vis.ee/download/0899a03b34e6edfa/#HpsBY06HjH8LcyH8T9B1lQ

=> download the zip file and unzip it inside of your user_files folder image Meaning this location ^

Unlucky-Life commented 2 months ago

@Victologo @monshino Let me know if the issue persists !

monshino commented 2 months ago

@Unlucky-Life mind sharing this again?.. I was busy and didn't catch up to download the link.

Unlucky-Life commented 2 months ago

@monshino no worries here you go :) : https://pixeldrain.com/u/cwd49pLt

monshino commented 2 months ago

@Unlucky-Life that solved the issue. thank you so much for making this amazing add-on and for being so helpful! wish you all the best.