Msinn : Danke für fix im Develop. Funktioniert jetzt sauber!
Ankündigung
Einklappen
Keine Ankündigung bisher.
Rückmeldung zu V1.9
Einklappen
X
-
Hallo zusammen!
Versuche jetzt schon mehrmals, eine ganz frische Installation mittels Anleitung Homepage auf die Beine zustellen.
Sowohl mit Debian 10 als auch Debian 11 versucht, es scheitert dann immer beim ersten Startversuch von SHNG - hiermal der Konsolenauszug nach erfolgreicher Installation/Durchführung des Punkts "zusätzliche Linuxpakete":
smarthome@SHNG:~$ cd /usr/local
smarthome@SHNG:/usr/local$ sudo mkdir smarthome
smarthome@SHNG:/usr/local$ sudo chown -R smarthome:smarthome /usr/local/smarthome
smarthome@SHNG:/usr/local$ cd smarthome
smarthome@SHNG:/usr/local/smarthome$ git clone git://github.com/smarthomeNG/smarthome.git .
Klone nach '.' ...
remote: Enumerating objects: 55747, done.
remote: Counting objects: 100% (3864/3864), done.
remote: Compressing objects: 100% (2357/2357), done.
remote: Total 55747 (delta 1524), reused 3785 (delta 1472), pack-reused 51883
Empfange Objekte: 100% (55747/55747), 80.10 MiB | 4.78 MiB/s, Fertig.
Löse Unterschiede auf: 100% (36453/36453), Fertig.
smarthome@SHNG:/usr/local/smarthome$ git clone git://github.com/smarthomeNG/plugins.git plugins
Klone nach 'plugins' ...
remote: Enumerating objects: 42295, done.
remote: Counting objects: 100% (3202/3202), done.
remote: Compressing objects: 100% (1617/1617), done.
remote: Total 42295 (delta 1594), reused 2874 (delta 1399), pack-reused 39093
Empfange Objekte: 100% (42295/42295), 53.78 MiB | 4.99 MiB/s, Fertig.
Löse Unterschiede auf: 100% (23682/23682), Fertig.
smarthome@SHNG:/usr/local/smarthome$ python3 bin/smarthome.py
shyaml: ruamel.yaml is not installed
smarthome@SHNG:/usr/local/smarthome$ sudo pip3 install ruamel.yaml==0.16.7
Collecting ruamel.yaml==0.16.7
Downloading https://files.pythonhosted.org/packa...069d8ec1185ccf 947881ac58/ruamel.yaml-0.16.7-py2.py3-none-any.whl (123kB)
100% |████████████████████████████████| 133kB 1.8MB/s
Collecting ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.8" (from ruamel.yaml==0.16.7)
Downloading https://files.pythonhosted.org/packa...7350694180468e 1698085c58/ruamel.yaml.clib-0.2.6-cp37-cp37m-manylinux1_x86_64.whl (546kB)
100% |████████████████████████████████| 552kB 1.4MB/s
Installing collected packages: ruamel.yaml.clib, ruamel.yaml
Successfully installed ruamel.yaml-0.16.7 ruamel.yaml.clib-0.2.6
smarthome@SHNG:/usr/local/smarthome$ python3 bin/smarthome.py
test_requirements: 'ephem' not installed. Minimum v3.7 needed
test_requirements: 'holidays' not installed. Minimum v0.9.11 needed
test_requirements: 'iowait' not installed, any version needed
test_requirements: 'portalocker' not installed, any version needed
test_requirements: 'psutil' not installed, any version needed
test_requirements: 'python-dateutil' not installed. Minimum v2.5.3 needed
test_requirements: 'ruamel.yaml' v0.16.7 too new. Maximum v0.15.74 needed
test_requirements: 'xmltodict' not installed, any version needed
Installing core requirements for the current user, please wait...
python_bin_path=/usr/bin
> using PIP command: '/usr/bin/pip3'
core requirements installed
Starting SmartHomeNG again...
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
!!! Ab hier verhält sich das ganze System komisch (Zeicheneingaben werden nicht mehr angezeigt, System friert quasi ein) -> wenn SHNG nochmals versucht wird zu starten kommt dann folgende Fehlermeldung:
smarthome@SHNG:/usr/local/smarthome$ Traceback (most recent call last):
File "bin/smarthome.py", line 165, in <module>
import lib.backup
File "/usr/local/smarthome/lib/backup.py", line 34, in <module>
from lib.shtime import Shtime
File "/usr/local/smarthome/lib/shtime.py", line 31, in <module>
import pytz
ModuleNotFoundError: No module named 'pytz'
smarthome@SHNG:/usr/local/smarthome$
Was mach ich falsch bzw. Ideen warum es sich nicht starten lässt? Habe mich wirklich mehrmals penibel an die Anleitung gehalten ...
BG
David
Kommentar
-
Den Fix habe ich jetzt ausgeführt, leider gleiches Ergebnis:
smarthome@SHNG:/usr/local/smarthome$ python3 -m pip install "holidays<0.13" --upgrade --user
Collecting holidays<0.13
Downloading https://files.pythonhosted.org/packa...f6645daddf9c03 489dbe0ec0/holidays-0.12-py3-none-any.whl (165kB)
100% |████████████████████████████████| 174kB 1.9MB/s
Requirement already satisfied, skipping upgrade: convertdate>=2.3.0 in /home/smarthome/.local/lib/python3.7/site-packages (from holidays<0.13) (2.4.0)
Requirement already satisfied, skipping upgrade: python-dateutil in /home/smarthome/.local/lib/python3.7/site-packages (from holidays<0.13) (2.8.2)
Requirement already satisfied, skipping upgrade: korean-lunar-calendar in /home/smarthome/.local/lib/python3.7/site-packages (from holidays<0.13) (0.2.1)
Requirement already satisfied, skipping upgrade: hijri-converter in /home/smarthome/.local/lib/python3.7/site-packages (from holidays<0.13) (2.2.3)
Requirement already satisfied, skipping upgrade: pymeeus<=1,>=0.3.13 in /home/smarthome/.local/lib/python3.7/site-packages (from convertdate>=2.3.0->holidays<0.13) (0.5.11)
Requirement already satisfied, skipping upgrade: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil->holidays<0.13) (1.12.0)
Installing collected packages: holidays
Found existing installation: holidays 0.13
Uninstalling holidays-0.13:
Successfully uninstalled holidays-0.13
Successfully installed holidays-0.12
smarthome@SHNG:/usr/local/smarthome$ python3 bin/smarthome.py -d
Traceback (most recent call last):
File "bin/smarthome.py", line 165, in <module>
import lib.backup
File "/usr/local/smarthome/lib/backup.py", line 34, in <module>
from lib.shtime import Shtime
File "/usr/local/smarthome/lib/shtime.py", line 31, in <module>
import pytz
ModuleNotFoundError: No module named 'pytz'
smarthome@SHNG:/usr/local/smarthome$
Kommentar
Kommentar