Hi, nachdem ein git pull auf den Master branch mein SmarthomeNG komplett lahmgelegt hat, habe ich einen kleinen Test gemacht.
Frisch vom Master Branch Smarthome und Plugins in ein leeres Verzeichnis geclont. Keine Items, Logiken und Config hinterlegt. Auch hier tritt der Fehler auf.
System ist ein Ubuntu 17.04.
Was ist da los?
LG
mode
edit: gerade Dev Brach getestet. Nach update von Cherrypy und installation von pyjwt erscheint dort der gleiche Fehler..
Frisch vom Master Branch Smarthome und Plugins in ein leeres Verzeichnis geclont. Keine Items, Logiken und Config hinterlegt. Auch hier tritt der Fehler auf.
Code:
smarthome@ubuntu:~/smarthome_new/smarthome$ bin/smarthome.py -i sh.start() Python 3.5.3 (default, Nov 23 2017, 11:34:05) [GCC 6.3.0 20170406] on linux Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsole) >>> [27/Oct/2018:22:58:28] ENGINE Bus STARTING [27/Oct/2018:22:58:28] ENGINE Started monitor thread '_TimeoutMonitor'. [27/Oct/2018:22:58:28] ENGINE Serving on http://192.168.6.99:8383 [27/Oct/2018:22:58:28] ENGINE Serving on http://192.168.6.99:8384 [27/Oct/2018:22:58:28] ENGINE Bus STARTED Exception in thread Main: Traceback (most recent call last): File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner self.run() File "/usr/lib/python3.5/threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "bin/smarthome.py", line 491, in start signal.signal(signal.SIGHUP, self.logics.reload_logics) File "/usr/lib/python3.5/signal.py", line 47, in signal handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler)) ValueError: signal only works in main thread
Was ist da los?

LG
mode
edit: gerade Dev Brach getestet. Nach update von Cherrypy und installation von pyjwt erscheint dort der gleiche Fehler..
Kommentar