Closed ducapedia closed 1 month ago
The stack trace contains File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
, so it sounds like you're trying to run it on Python 3.8. The README says that Python 3.10 is a requirement, while the tests currently run on Python 3.11: https://github.com/muniter/halinuxcompanion/blob/7a65b6f6e7341d031d8e16a042112ffc7f726056/.github/workflows/build.yml#L20
So I think you need to at least start by updating your Python version.
Hi, my error is similar.
chef@PC:~/halinuxcompanion$ python3 -V
Python 3.12.3
chef@PC:~/halinuxcompanion$ python3.12 -m halinuxcompanion --config config.json
INFO:halinuxcompanion:Reading configuration file config.json
Traceback (most recent call last):
File "
Can anybody help me?
Thanks
That looks like a completely different error to me, I would suggest opening a new issue.
Agreed, previous error was about wrong python version, if the error persists @MatzeP feel free to create a new issue.
Describe the bug The program doesnt start properly. The error code appears to be about a bad variable declare. I think it could be a kind of mismatch of version, but, Ive triple check it, and all dependancies are satisfied
To Reproduce Steps to reproduce the behavior:
I just follow instructions on README. used pip3 to install (and recheck) all dependencies copy config.example.json to config.json and have it edited.
Expected behavior App doesnt start and give the error messages above
Application Logs I couldnt find any log in app directory or /var/log
Home Assistant Logs as long as it doesnt even started (or connect), the HA server could`t register any log about it.
Additional context Dist: ZorinOS 16.3