Photoframe Log report

This page is intended to be used when you run into issues which cannot be resolved by the messages displayed on the frame. Please save and attach this information when you create a new issue.

Thank you for helping making this project better 😅

Running version

commit b8d7172fb98b66e10d3036c5184a56d0f30554bd
Author: Henric Andersson 
Date:   Thu Aug 5 22:49:59 2021 -0700

    Updated README.md with port details

On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean

Last 100 lines from the photoframe log

Dec 11 19:10:03 photoframe photoframe[642]: From https://github.com/mrworf/photoframe
Dec 11 19:10:03 photoframe photoframe[642]:    1cf56ec..b8d7172  master     -> origin/master
Dec 11 19:10:03 photoframe photoframe[642]:  * [new tag]         v2.0.2     -> v2.0.2
Dec 11 19:10:03 photoframe photoframe[642]: New version is available (for branch master)
Dec 11 19:10:06 photoframe photoframe[642]: Ign:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Dec 11 19:10:06 photoframe photoframe[642]: Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Dec 11 19:10:07 photoframe photoframe[642]: Err:3 http://raspbian.raspberrypi.org/raspbian stretch Release
Dec 11 19:10:07 photoframe photoframe[642]:   404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:09 photoframe photoframe[642]: Get:4 http://archive.raspberrypi.org/debian stretch/main armhf Packages [192 kB]
Dec 11 19:10:10 photoframe photoframe[642]: Get:5 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [44.6 kB]
Dec 11 19:10:14 photoframe photoframe[642]: Reading package lists...
Dec 11 19:10:14 photoframe photoframe[642]: E: The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does no longer have a Release file.
Dec 11 19:10:14 photoframe photoframe[642]: Reading package lists...
Dec 11 19:10:15 photoframe photoframe[642]: Building dependency tree...
Dec 11 19:10:15 photoframe photoframe[642]: Reading state information...
Dec 11 19:10:16 photoframe photoframe[642]: The following additional packages will be installed:
Dec 11 19:10:16 photoframe photoframe[642]:   libturbojpeg0
Dec 11 19:10:16 photoframe photoframe[642]: The following NEW packages will be installed:
Dec 11 19:10:16 photoframe photoframe[642]:   libjpeg-turbo-progs libturbojpeg0 python-netifaces
Dec 11 19:10:16 photoframe photoframe[642]: 0 upgraded, 3 newly installed, 0 to remove and 17 not upgraded.
Dec 11 19:10:16 photoframe photoframe[642]: Need to get 245 kB of archives.
Dec 11 19:10:16 photoframe photoframe[642]: After this operation, 608 kB of additional disk space will be used.
Dec 11 19:10:16 photoframe photoframe[642]: Err:1 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libturbojpeg0 armhf 1:1.5.1-2
Dec 11 19:10:16 photoframe photoframe[642]:   404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:16 photoframe photoframe[642]: Err:2 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libjpeg-turbo-progs armhf 1:1.5.1-2
Dec 11 19:10:16 photoframe photoframe[642]:   404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:17 photoframe photoframe[642]: Err:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf python-netifaces armhf 0.10.4-0.1+b1
Dec 11 19:10:17 photoframe photoframe[642]:   404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:17 photoframe photoframe[642]: E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libj/libjpeg-turbo/libturbojpeg0_1.5.1-2_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:17 photoframe photoframe[642]: E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libj/libjpeg-turbo/libjpeg-turbo-progs_1.5.1-2_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:17 photoframe photoframe[642]: E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/n/netifaces/python-netifaces_0.10.4-0.1+b1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:17 photoframe photoframe[642]: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Dec 11 19:10:18 photoframe photoframe[983]: No new version
Dec 11 19:10:18 photoframe photoframe[983]: ERROR:root:User has not installed python-netifaces, using checkNetwork() instead (depends on internet)
(size of logfile 51872 bytes, created Mon Dec 11 19:10:18 2023)

Last 100 lines from the system log (/var/log/syslog)

Jan  5 18:08:08 photoframe ifup[234]: DHCPACK of 192.168.8.172 from 192.168.8.1
Jan  5 18:08:10 photoframe ifup[234]: RTNETLINK answers: File exists
Jan  5 18:08:10 photoframe bluetoothd[494]: Bluetooth daemon 5.43
Jan  5 18:08:10 photoframe systemd[1]: Started Bluetooth service.
Jan  5 18:08:10 photoframe systemd[1]: Reached target Bluetooth.
Jan  5 18:08:10 photoframe systemd[1]: Started Raspberry Pi bluetooth helper.
Jan  5 18:08:10 photoframe bluetoothd[494]: Starting SDP server
Jan  5 18:08:10 photoframe kernel: [   63.989052] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Jan  5 18:08:10 photoframe kernel: [   63.989065] Bluetooth: BNEP filters: protocol multicast
Jan  5 18:08:10 photoframe kernel: [   63.989086] Bluetooth: BNEP socket layer initialized
Jan  5 18:08:10 photoframe bluetoothd[494]: Bluetooth management interface 1.14 initialized
Jan  5 18:08:10 photoframe bluetoothd[494]: Failed to obtain handles for "Service Changed" characteristic
Jan  5 18:08:10 photoframe bluetoothd[494]: Sap driver initialization failed.
Jan  5 18:08:10 photoframe bluetoothd[494]: sap-server: Operation not permitted (1)
Jan  5 18:08:10 photoframe systemd[1]: plymouth-start.service: Cannot add dependency job, ignoring: Unit plymouth-start.service is masked.
Jan  5 18:08:10 photoframe dbus[308]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Jan  5 18:08:10 photoframe systemd[1]: Starting Hostname Service...
Jan  5 18:08:10 photoframe systemd[1]: Reloading.
Jan  5 18:08:10 photoframe bluetoothd[494]: Failed to set privacy: Rejected (0x0b)
Jan  5 18:08:10 photoframe dbus[308]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jan  5 18:08:10 photoframe systemd[1]: Started Hostname Service.
Jan  5 18:08:10 photoframe resize2fs_once[299]: .
Jan  5 18:08:10 photoframe systemd[1]: Started LSB: Resize the root filesystem to fill partition.
Jan  5 18:08:12 photoframe dhclient[426]: bound to 192.168.8.172 -- renewal in 37659 seconds.
Jan  5 18:08:12 photoframe ifup[234]: bound to 192.168.8.172 -- renewal in 37659 seconds.
Dec 11 19:09:59 photoframe systemd[1]: Time has been changed
Dec 11 19:09:59 photoframe systemd-timesyncd[247]: Synchronized to time server 209.51.161.238:123 (0.debian.pool.ntp.org).
Dec 11 19:09:59 photoframe systemd[1]: apt-daily-upgrade.timer: Adding 19min 15.456251s random time.
Dec 11 19:09:59 photoframe systemd[1]: apt-daily.timer: Adding 9h 17min 41.806188s random time.
Dec 11 19:10:00 photoframe systemd[1]: Started Raise network interfaces.
Dec 11 19:10:00 photoframe systemd[1]: Reached target Network.
Dec 11 19:10:00 photoframe systemd[1]: Started Photo Frame.
Dec 11 19:10:00 photoframe systemd[1]: Starting /etc/rc.local Compatibility...
Dec 11 19:10:00 photoframe systemd[1]: Starting Permit User Sessions...
Dec 11 19:10:00 photoframe systemd[1]: Started /etc/rc.local Compatibility.
Dec 11 19:10:00 photoframe systemd[1]: Started Permit User Sessions.
Dec 11 19:10:00 photoframe systemd[1]: Starting Hold until boot process finishes up...
Dec 11 19:10:00 photoframe systemd[1]: Starting Terminate Plymouth Boot Screen...
Dec 11 19:10:00 photoframe systemd[1]: Started Hold until boot process finishes up.
Dec 11 19:10:00 photoframe systemd[1]: Started Terminate Plymouth Boot Screen.
Dec 11 19:10:00 photoframe systemd[1]: Reached target Multi-User System.
Dec 11 19:10:00 photoframe systemd[1]: Reached target Graphical Interface.
Dec 11 19:10:00 photoframe systemd[1]: Starting Update UTMP about System Runlevel Changes...
Dec 11 19:10:00 photoframe systemd[1]: Reloading.
Dec 11 19:10:00 photoframe systemd[1]: Started Update UTMP about System Runlevel Changes.
Dec 11 19:10:00 photoframe systemd[1]: Startup finished in 1.458s (kernel) + 1min 5.396s (userspace) = 1min 6.855s.
Dec 11 19:10:00 photoframe dhcpcd[343]: wlan0: deleted IP address 192.168.8.172/24
Dec 11 19:10:00 photoframe avahi-daemon[364]: Withdrawing address record for 192.168.8.172 on wlan0.
Dec 11 19:10:00 photoframe dhcpcd[343]: wlan0: deleting default route via 192.168.8.1
Dec 11 19:10:00 photoframe avahi-daemon[364]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.8.172.
Dec 11 19:10:00 photoframe avahi-daemon[364]: Interface wlan0.IPv4 no longer relevant for mDNS.
Dec 11 19:10:00 photoframe dhcpcd[343]: wlan0: deleting route to 192.168.8.0/24
Dec 11 19:10:00 photoframe dhclient[596]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
Dec 11 19:10:00 photoframe dhclient[596]: DHCPREQUEST of 192.168.8.172 on wlan0 to 255.255.255.255 port 67
Dec 11 19:10:00 photoframe dhclient[596]: DHCPOFFER of 192.168.8.172 from 192.168.8.1
Dec 11 19:10:00 photoframe dhclient[596]: DHCPACK of 192.168.8.172 from 192.168.8.1
Dec 11 19:10:00 photoframe avahi-daemon[364]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.8.172.
Dec 11 19:10:00 photoframe avahi-daemon[364]: New relevant interface wlan0.IPv4 for mDNS.
Dec 11 19:10:00 photoframe avahi-daemon[364]: Registering new address record for 192.168.8.172 on wlan0.IPv4.
Dec 11 19:10:01 photoframe dhcpcd[343]: wlan0: no IPv6 Routers available
Dec 11 19:10:01 photoframe dhclient[596]: bound to 192.168.8.172 -- renewal in 37051 seconds.
Dec 11 19:10:03 photoframe photoframe[642]: From https://github.com/mrworf/photoframe
Dec 11 19:10:03 photoframe photoframe[642]:    1cf56ec..b8d7172  master     -> origin/master
Dec 11 19:10:03 photoframe photoframe[642]:  * [new tag]         v2.0.2     -> v2.0.2
Dec 11 19:10:03 photoframe photoframe[642]: New version is available (for branch master)
Dec 11 19:10:06 photoframe photoframe[642]: Ign:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Dec 11 19:10:06 photoframe photoframe[642]: Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Dec 11 19:10:07 photoframe photoframe[642]: Err:3 http://raspbian.raspberrypi.org/raspbian stretch Release
Dec 11 19:10:07 photoframe photoframe[642]:   404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:09 photoframe photoframe[642]: Get:4 http://archive.raspberrypi.org/debian stretch/main armhf Packages [192 kB]
Dec 11 19:10:10 photoframe photoframe[642]: Get:5 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [44.6 kB]
Dec 11 19:10:14 photoframe photoframe[642]: Reading package lists...
Dec 11 19:10:14 photoframe photoframe[642]: E: The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does no longer have a Release file.
Dec 11 19:10:14 photoframe photoframe[642]: Reading package lists...
Dec 11 19:10:15 photoframe photoframe[642]: Building dependency tree...
Dec 11 19:10:15 photoframe photoframe[642]: Reading state information...
Dec 11 19:10:16 photoframe photoframe[642]: The following additional packages will be installed:
Dec 11 19:10:16 photoframe photoframe[642]:   libturbojpeg0
Dec 11 19:10:16 photoframe photoframe[642]: The following NEW packages will be installed:
Dec 11 19:10:16 photoframe photoframe[642]:   libjpeg-turbo-progs libturbojpeg0 python-netifaces
Dec 11 19:10:16 photoframe photoframe[642]: 0 upgraded, 3 newly installed, 0 to remove and 17 not upgraded.
Dec 11 19:10:16 photoframe photoframe[642]: Need to get 245 kB of archives.
Dec 11 19:10:16 photoframe photoframe[642]: After this operation, 608 kB of additional disk space will be used.
Dec 11 19:10:16 photoframe photoframe[642]: Err:1 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libturbojpeg0 armhf 1:1.5.1-2
Dec 11 19:10:16 photoframe photoframe[642]:   404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:16 photoframe photoframe[642]: Err:2 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libjpeg-turbo-progs armhf 1:1.5.1-2
Dec 11 19:10:16 photoframe photoframe[642]:   404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:17 photoframe photoframe[642]: Err:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf python-netifaces armhf 0.10.4-0.1+b1
Dec 11 19:10:17 photoframe photoframe[642]:   404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:17 photoframe photoframe[642]: E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libj/libjpeg-turbo/libturbojpeg0_1.5.1-2_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:17 photoframe photoframe[642]: E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/libj/libjpeg-turbo/libjpeg-turbo-progs_1.5.1-2_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:17 photoframe photoframe[642]: E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/n/netifaces/python-netifaces_0.10.4-0.1+b1_armhf.deb  404  Not Found [IP: 93.93.128.193 80]
Dec 11 19:10:17 photoframe photoframe[642]: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Dec 11 19:10:17 photoframe systemd[1]: Reloading.
Dec 11 19:10:17 photoframe systemd[1]: plymouth-start.service: Cannot add dependency job, ignoring: Unit plymouth-start.service is masked.
Dec 11 19:10:17 photoframe systemd[1]: Stopping Photo Frame...
Dec 11 19:10:17 photoframe systemd[1]: Stopped Photo Frame.
Dec 11 19:10:17 photoframe systemd[1]: Started Photo Frame.
Dec 11 19:10:18 photoframe photoframe[983]: No new version
Dec 11 19:10:18 photoframe photoframe[983]: ERROR:root:User has not installed python-netifaces, using checkNetwork() instead (depends on internet)
(size of logfile 51872 bytes, created Mon Dec 11 19:10:18 2023)

Stacktrace of all running threads

# ThreadID: 1953494128
File: "/usr/lib/python2.7/threading.py", line 774, in __bootstrap
  self.__bootstrap_inner()
File: "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  self.run()
File: "/usr/lib/python2.7/threading.py", line 754, in run
  self.__target(*self.__args, **self.__kwargs)
File: "/root/photoframe/modules/slideshow.py", line 315, in presentation
  self.delayNextImage(time_process)
File: "/root/photoframe/modules/slideshow.py", line 252, in delayNextImage
  self.delayer.wait(self.minimumWait) # Always wait ONE second to avoid busy waiting)
File: "/usr/lib/python2.7/threading.py", line 614, in wait
  self.__cond.wait(timeout)
File: "/usr/lib/python2.7/threading.py", line 359, in wait
  _sleep(delay)

# ThreadID: 1963979888
File: "/usr/lib/python2.7/threading.py", line 774, in __bootstrap
  self.__bootstrap_inner()
File: "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  self.run()
File: "/root/photoframe/modules/shutdown.py", line 59, in run
  i = poller.poll(None)

# ThreadID: 1974064240
File: "/usr/lib/python2.7/threading.py", line 774, in __bootstrap
  self.__bootstrap_inner()
File: "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  self.run()
File: "/root/photoframe/modules/timekeeper.py", line 118, in run
  time.sleep(60) # every minute

# ThreadID: 1996175552
File: "./frame.py", line 185, in 
  frame.start()
File: "./frame.py", line 182, in start
  self.webServer.start()
File: "/root/photoframe/modules/server.py", line 84, in start
  self.run()
File: "/root/photoframe/modules/server.py", line 101, in run
  self.app.run(debug=False, port=self.port, host=self.listen )
File: "/usr/lib/python2.7/dist-packages/flask/app.py", line 841, in run
  run_simple(host, port, self, **options)
File: "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 708, in run_simple
  inner()
File: "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 673, in inner
  srv.serve_forever()
File: "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 511, in serve_forever
  HTTPServer.serve_forever(self)
File: "/usr/lib/python2.7/SocketServer.py", line 233, in serve_forever
  self._handle_request_noblock()
File: "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock
  self.process_request(request, client_address)
File: "/usr/lib/python2.7/SocketServer.py", line 318, in process_request
  self.finish_request(request, client_address)
File: "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
  self.RequestHandlerClass(request, client_address, self)
File: "/usr/lib/python2.7/SocketServer.py", line 652, in __init__
  self.handle()
File: "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 228, in handle
  rv = BaseHTTPRequestHandler.handle(self)
File: "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
  self.handle_one_request()
File: "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 263, in handle_one_request
  return self.run_wsgi()
File: "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 205, in run_wsgi
  execute(self.server.app)
File: "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 193, in execute
  application_iter = app(environ, start_response)
File: "/usr/lib/python2.7/dist-packages/flask/app.py", line 1997, in __call__
  return self.wsgi_app(environ, start_response)
File: "/usr/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app
  response = self.full_dispatch_request()
File: "/usr/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request
  rv = self.dispatch_request()
File: "/usr/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request
  return self.view_functions[rule.endpoint](**req.view_args)
File: "/root/photoframe/routes/baseroute.py", line 62, in __call__
  return self.handle(self.app, **kwargs)
File: "/root/photoframe/routes/debug.py", line 34, in handle
  report.append(debug.stacktrace())
File: "/root/photoframe/modules/debug.py", line 48, in stacktrace
  for filename, lineno, name, line in traceback.extract_stack(stack):