Liebe Entwickler, die folgende Fehlermeldung entsteht, wenn eine Telefonnummer aus einer nicht existenten Datei angerufen werden soll. Könnte man noch abfangen.
LG
pah
Code
2016-04-25 20:00:52,012 [INFO] [doorpi.doorpi] DoorPi started successfully
2016-04-25 20:00:52,012 [INFO] [doorpi.doorpi] BasePath is /usr/local/etc/DoorPi
2016-04-25 20:00:52,013 [INFO] [doorpi.doorpi] Weburl is http://DoorPi/
2016-04-26 09:41:44,093 [ERROR] [doorpi.action.SingleActions.file_call_value] couldn't get phonenumber from file ([Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/doorpi/callnumber')
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/DoorPi-2.5.0.2-py2.7.egg/doorpi/action/SingleActions/file_call_value.py", line 13, in call_phonenumber_from_file
with open(doorpi.DoorPi().parse_string(filename), 'r') as f:
IOError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/doorpi/callnumber'
2016-04-26 09:48:00,076 [ERROR] [doorpi.status.webserver_lib.request_handler_static_functions] DoorPiWebRequestHandler instance has no attribute 'return_fallback_content'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/DoorPi-2.5.0.2-py2.7.egg/doorpi/status/webserver_lib/request_handler.py", line 204, in real_resource_fallback
return self.return_fallback_content(self.server.online_fallback, path)
AttributeError: DoorPiWebRequestHandler instance has no attribute 'return_fallback_content'
2016-04-26 09:48:00,088 [ERROR] [doorpi.status.webserver_lib.request_handler_static_functions] [192.168.0.20] (500, "DoorPiWebRequestHandler instance has no attribute 'return_fallback_content'")
Alles anzeigen