Hallo in die Runde!
Der portallocker bremst mich plötzlich aus.
Ich habe keine Ahnung wo das Problem liegt.
Kann mir bitte jemand eine Hilfe geben?
Danke für jede Hilfe!
Wolfgang
Der portallocker bremst mich plötzlich aus.
Ich habe keine Ahnung wo das Problem liegt.
Kann mir bitte jemand eine Hilfe geben?
Code:
smarthome@SmartHomeNG-4-8-IP40 ~]$ /usr/local/smarthome/bin/smarthome.py -r No instance of SmartHomeNG running Daemon PID 2163 Traceback (most recent call last): File "/home/smarthome/.local/lib/python3.9/site-packages/portalocker/portalocker.py", line 109, in lock fcntl.flock(file_, flags) BlockingIOError: [Errno 11] Die Ressource ist zur Zeit nicht verfügbar During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/smarthome/bin/smarthome.py", line 291, in <module> sh = SmartHome(MODE=MODE, extern_conf_dir=extern_conf_dir) File "/usr/local/smarthome/lib/smarthome.py", line 315, in __init__ lib.daemon.daemonize(PIDFILE) File "/usr/local/smarthome/lib/daemon.py", line 79, in daemonize write_pidfile(os.getpid(), pidfile) File "/usr/local/smarthome/lib/daemon.py", line 130, in write_pidfile portalocker.lock(_pidfile_handle, portalocker.LOCK_EX | portalocker.LOCK_NB) File "/home/smarthome/.local/lib/python3.9/site-packages/portalocker/portalocker.py", line 113, in lock raise exceptions.LockException(exc_value, fh=file_) portalocker.exceptions.LockException: [Errno 11] Die Ressource ist zur Zeit nicht verfügbar
Wolfgang
Kommentar