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

2.30 KeyError: 'level' #212

Closed
909oce opened this issue Mar 25, 2024 · 2 comments
Closed

2.30 KeyError: 'level' #212

909oce opened this issue Mar 25, 2024 · 2 comments

Comments

@909oce
Copy link

909oce commented Mar 25, 2024

Describe the bug
Exits itself with error

Version
2.30

Log Files
[15:12:05] [INFO ] Launching League
[15:12:11] [INFO ] Launching League
[15:12:17] [INFO ] Launching League
[15:12:22] [INFO ] Launch Success
[15:12:22] [INFO ] Closing riot client
[15:12:31] [INFO ] Checking for Client Updates
[15:12:31] [INFO ] Client is up to date
[15:12:31] [INFO ] Overwriting game configs
[15:12:31] [ERROR ] 'level'
[15:12:31] [ERROR ] Traceback (most recent call last):
File "lolbot\bot\client.py", line 69, in account_loop
File "lolbot\bot\client.py", line 104, in leveling_loop
File "lolbot\bot\client.py", line 316, in account_leveled
KeyError: 'level'

[15:12:31] [ERROR ] Unknown Error. Exiting
[15:13:34] [INFO ] Bot Successfully Terminated


Traceback (most recent call last):
File "C:\Users\909\Desktop\bot\main.pyw", line 5, in
from lolbot.view.main_window import MainWindow
File "C:\Users\909\Desktop\bot\lolbot\view\main_window.py", line 10, in
import dearpygui.dearpygui as dpg
File "C:\Users\909\AppData\Local\Programs\Python\Python312\Lib\site-packages\dearpygui\dearpygui.py", line 22, in
import dearpygui._dearpygui as internal_dpg
ImportError: DLL load failed while importing _dearpygui: The specified module could not be found.

Additional context
Everything has been fine until today, I reinstalled Windows and now I get these errors. I usually just run as python script from source but I'm getting a weird import error despite having all requirements, so I tried from .exe and I get the KeyError: 'level'.

Let me know if I'm missing something like a version of .net framework maybe?

@iholston
Copy link
Owner

to run it as a python script in the newly installed Windows, you are probably missing Microsoft C and C++ (MSVC) runtime libraries. If you didn't install them that should be the issue. Let me know.

@909oce
Copy link
Author

909oce commented Mar 25, 2024

That fixed it, thank you so much for the quick reply!

@909oce 909oce closed this as completed Mar 25, 2024
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