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 error #220

Open
LPDJulius opened this issue Nov 8, 2024 · 1 comment
Open

Anki error #220

LPDJulius opened this issue Nov 8, 2024 · 1 comment

Comments

@LPDJulius
Copy link

Here is the code of the error :

Anki 24.06.3 (d678e393) (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Traceback (most recent call last):
File "C:\Users\petit\AppData\Roaming\Anki2\addons21\1908235722_init_.py", line 2807, in
choose_pokemon_button.clicked.connect(lambda state, name=pokemon_name, nickname=pokemon_nickname, level=pokemon_level, id=pokemon_id, ability=pokemon_ability, type=pokemon_type, detail_stats=pokemon_stats, attacks=pokemon_attacks, hp=pokemon_hp, base_experience=pokemon_base_experience, growth_rate=pokemon_growth_rate, ev=pokemon_ev, iv=pokemon_iv, gender=pokemon_gender: MainPokemon(name, nickname, level, id, ability, type, detail_stats, attacks, hp, base_experience, growth_rate, ev, iv, gender))
File "C:\Users\petit\AppData\Roaming\Anki2\addons21\1908235722_init_.py", line 3641, in MainPokemon
new_pokemon() #new pokemon if you change your pokemon
File "C:\Users\petit\AppData\Roaming\Anki2\addons21\1908235722_init_.py", line 1862, in new_pokemon
update_life_bar(reviewer, 0, 0)
NameError: name 'update_life_bar' is not defined

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Anki Leaderboard - Compete with friends to boost motivation Fork by Shige ['175794613', 2024-11-05T14:09, 'None', mod]
Ankimon by Unlucky-life ['1908235722', 2024-05-16T17:07, 'None', '']

===IDs of active AnkiWeb add-ons===
175794613 1908235722

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

@Unlucky-Life
Copy link
Owner

@LPDJulius Could you go in detail why and how this error happened ?

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

2 participants