IvanIsak2000 / finance_manager_app

2 stars 0 forks source link

~~[critical] TypeError in main.py~~ instructions required #17

Open mb6ockatf opened 3 months ago

mb6ockatf commented 3 months ago

python3 src/main.py

Traceback (most recent call last):
  File "/home/mb6ockatf/projects/finance_manager_app/src/main.py", line 92, in <module>
    width, height, channels, data = dpg.load_image('background.png')
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object
mb6ockatf commented 3 months ago

probably we should add instructions on where to launch the project from in the readme file, because it works fine when launched from src

mb6ockatf commented 3 months ago

though there're some warnings, still:

python3 main.py
/home/mb6ockatf/projects/finance_manager_app/src/main.py:56: UserWarning: Starting a Matplotlib GUI outside of the main thread will likely fail.
  fig, ax = plt.subplots()
/home/mb6ockatf/projects/finance_manager_app/src/main.py:61: UserWarning: Starting a Matplotlib GUI outside of the main thread will likely fail.
  plt.show()
terminate called after throwing an instance of 'std::system_error'
  what():  Resource deadlock avoided
Opening in existing browser session.
Aborted (core dumped)
IvanIsak2000 commented 3 months ago

probably we should add instructions on where to launch the project from in the readme file, because it works fine when launched from src I agree, maybe something was changed in libs