DrozmotiX / ioBroker.esphome

Control your ESP8266/ESP32 with simple yet powerful configuration files created and managed by ESPHome
MIT License
30 stars 23 forks source link

Dashboard error #191

Closed akriton closed 10 months ago

akriton commented 10 months ago

[espHomeDashboard] Error: Command failed with exit code 1: /home/iobroker/.cache/autopy/python/3.11.6/bin/python3 -m venv /home/iobroker/.cache/autopy/venv/esphome Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/home/iobroker/.cache/autopy/python/3.11.6/bin/python3' isolated = 0 environment = 1 user site = 1 safe_path = 0 import site = 1 is in build tree = 0 stdlib dir = '/install/lib/python3.11' sys._base_executable = '/home/iobroker/.cache/autopy/python/3.11.6/bin/python3' sys.base_prefix = '/install' sys.base_exec_prefix = '/install' sys.platlibdir = 'lib' sys.executable = '/home/iobroker/.cache/autopy/python/3.11.6/bin/python3' sys.prefix = '/install' sys.exec_prefix = '/install' sys.path = [ '/install/lib/python311.zip', '/install/lib/python3.11', '/install/lib/python3.11/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x0000007fb995b040 (most recent call first): <no Python frame>

DutchmanNL commented 10 months ago

Thank you, what kind of system ist this, Linux/docker/windows ?

akriton commented 10 months ago

ioBroker installed on an Raspberry Pi 4

DutchmanNL commented 10 months ago

ioBroker installed on an Raspberry Pi 4

Interesting, which Operation System? It should work on any Linux based OS

akriton commented 10 months ago

Linux ioBroker1 6.1.0-rpi6-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) aarch64 GNU/Linux

DutchmanNL commented 10 months ago

Linux ioBroker1 6.1.0-rpi6-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) aarch64 GNU/Linux

Would it be possible to try on in Ubuntu setup? Trying to find out of it's related to Debian 😅

akriton commented 10 months ago

I just installed version 0.5.0-beta.8 on my test environment. Initially, there were errors. I reconfigured the adapter and restarted it several times. Now it seems to be working.

DutchmanNL commented 10 months ago

I just installed version 0.5.0-beta.8 on my test environment. Initially, there were errors. I reconfigured the adapter and restarted it several times. Now it seems to be working.

would it be possible to share the errors ?

DutchmanNL commented 10 months ago

would be still interested in error logs if present, for now I will close this one :)