Hab ich ja in dem Post über Deinem Post geschrieben...
Ankündigung
Einklappen
Keine Ankündigung bisher.
SmarthomeNG v1.9.2 Image für Raspberry Pi
Einklappen
X
-
Hallo, ich musste gerade meinen Pi neu aufsetzten und hab dazu das Image genommen.
Nach dem Start komme ich aber nicht weiter. Der Pi startet in einer Dauerschleife.
Anscheinend gibt es ein Problem mit Python und PIP.
Vieleicht könnte mir hier jemand unter die Arme greifen?
Das Log:
Code:-------------------- Init SmartHomeNG v1.9.4-master (c0cfb39c) -------------------- 2023-03-31 01:22:09 NOTICE lib.smarthome Running in Python interpreter 'v3.9.2 final', from directory /usr/local/smarthome 2023-03-31 01:22:09 NOTICE lib.smarthome - operating system 'Debian GNU/Linux 11 (bullseye)' (pid=5224) 2023-03-31 01:22:09 NOTICE lib.smarthome - on 'Raspberry Pi 4 v1.1, 4GB (Sony, UK)' 2023-03-31 01:22:11 ERROR lib.shpypi test_requirements: 'lxml' not installed, any version needed 2023-03-31 01:22:11 ERROR lib.shpypi test_requirements: 'pyotp' not installed. Minimum v2.6.0 needed 2023-03-31 01:22:11 ERROR lib.shpypi test_requirements: 'python-telegram-bot' not installed. Minimum v12.8.0 needed 2023-03-31 01:22:11 ERROR lib.shpypi test_requirements: 'scapy' not installed. Minimum v2.4.3 needed 2023-03-31 01:22:11 ERROR lib.shpypi test_requirements: 'scipy' v1.9.3 too new. Maximum v1.8.1 needed 2023-03-31 01:22:11 NOTICE lib.shpypi Installing plugin requirements for the current user, please wait... 2023-03-31 01:22:11 NOTICE lib.shpypi > using PIP command: '/usr/bin/pip3' 2023-03-31 01:22:11 ERROR lib.shpypi /bin/sh: 1: /usr/bin/pip3: not found 2023-03-31 01:22:11 CRITICAL lib.smarthome Python package requirements for configured plugins are not met and unable to install those requirements 2023-03-31 01:22:11 CRITICAL lib.smarthome Do you have multiple Python3 Versions installed? Maybe PIP3 looks into a wrong Python environment. Try to configure pip_command in etc/smarthome.yaml 2023-03-31 01:22:11 CRITICAL lib.smarthome Aborting
Kommentar
-
Onkelandy die Änderung in der Smarthome.yaml hat nicht gereicht.
Ich musste wie in Post 58 die requirements auch noch von Hand aufrufen:
Code:pip3 install -r /usr/local/smarthome/requirements/conf_all.txt --user
Hab dann auch gleich problemlos auf 1.9.5 hochgepullt.
Vielen Dank an alle!
Kommentar
-
OK, eine Sache habe ich noch...
Evtl. gibt es ja dafür auch eine schnelle Lösung.
Das MQTT Module möchte nicht so richtig. Kennst das jemand?
Code:2023-03-31 22:26:28 NOTICE lib.smarthome -------------------- Init SmartHomeNG v1.9.5-master (646146a0f) -------------------- 2023-03-31 22:26:28 NOTICE lib.smarthome Running in Python interpreter 'v3.9.2 final', from directory /usr/local/smarthome 2023-03-31 22:26:28 NOTICE lib.smarthome - operating system 'Debian GNU/Linux 11 (bullseye)' (pid=1531) 2023-03-31 22:26:28 NOTICE lib.smarthome - on 'Raspberry Pi 4 v1.1, 4GB (Sony, UK)' 2023-03-31 22:26:30 NOTICE lib.smarthome - Nutze Feiertage für Land 'DE', Provinz 'NI', 1 benutzerdefinierte(r) Feiertag(e) definiert 2023-03-31 22:26:32 CRITICAL lib.module Module 'mqtt' (modules.mqtt) exception during import of __init__.py: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' 2023-03-31 22:26:34 INFO plugins.smartvisu sv version=3.3.1, sv_is_configured=True 2023-03-31 22:26:34 INFO plugins.smartvisu Using deprecated info from file '/var/www/html/smartvisu/widgets/deprecated.yaml' for smartVISU v3.3.1 2023-03-31 22:26:36 INFO plugins.operationlog OperationLog mylogstatus: logging to file /usr/local/smarthome/var/log/operationlog/{year:04}-{month:02}-{day:02}-{name}.log, keeping 50 entries in memory, caching active 2023-03-31 22:26:46 INFO plugins.simulation Init Simulation release 1.5.1 2023-03-31 22:26:46 INFO plugins.alexa4p3 Alexa: service setup at 0.0.0.0:9000 2023-03-31 22:26:47 ERROR plugins.mqtt Module 'mqtt' not loaded. The plugin is not starting 2023-03-31 22:26:47 ERROR lib.plugin Plugin 'mqtt' initialization failed, plugin not loaded
Kommentar
-
Das Problem hatte schloessl in einem anderen Thread auch beschrieben. Änderungen, die zu dem Fehler passen, hat es im mqtt Modul nicht gegeben (ich habe bis 2021 zurück geschaut).
Da fallen mir nur zwei Komponenten ein, die dort eine Rolle spielen können. 1. das paho mqtt package und 2. der broker.
Welche Version von paho-mqtt hast Du installiert (pip oder die Admin GUI verraten es Dir) und welche Version des Brokers setzt Du ein (ich gehe mal davon aus, Du nutzt mosquitto)?
Nachtrag: Welche Version des cryptography Packages hast Du installiert?Zuletzt geändert von Msinn; 31.03.2023, 21:54.Viele Grüße
Martin
There is no cloud. It's only someone else's computer.
Kommentar
Kommentar