Client dies with only one slide
This was happening when the server was only showing the slide that's just the server name, but is now affecting the lecture theatre displays too. Previous issue here: https://codeshare.phy.cam.ac.uk/itservices.phy/project-archive/kiosk-firmware/luajit-and-luakit-code/issues/1
ooh-signage:~# rc-service local-kiosk stop && su -c 'luajit /usr/share/lua/5.1/its/kiosk2/main.lua' - kiosk
* Stopping local-kiosk ... [ ok ]
sh: you need to specify whom to kill
moon/its/kiosk2/main.moon:543: card reader not present
stack traceback:
[C]: in function 'assert'
moon/its/kiosk2/main.moon:543: in function <moon/its/kiosk2/main.moon:533>
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.14.78-1-vanilla armv8l Alpine Linux
Current Operating System: Linux ooh-signage 4.19.45 #0-itservices.phy SMP Tue Jun 4 15:46:08 BST 2019 armv7l
Kernel command line: dwc_otg.lpm_enable=0 elevator=deadline cma=128M consoleblank=0 panic=0 console=tty1 quiet logo.nologo 8250.nr_uarts=0 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 its.ipaddr=172.24.4.170 its.netmask=255.255.255.0 its.gateway=172.24.4.254 its.server=131.111.77.17 its.dns=131.111.8.42,131.111.12.20 its.serial=00000000935af5dc its.filename=kiosk.phy/root.img.1
Build Date: 04 December 2018 12:07:39PM
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 7 09:35:09 2019
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 0.206149] I [core/luah]: Loading rc: /etc/xdg/luakit/rc.lua
[ 0.229722] I [core/web_context]: Web process count: 0
luakit: about to connect
luakit: connected
from_luakit = {
"init",
{
display = ":0",
},
}
provisional
committed
finished
navigate to https://get.phy.cam.ac.uk/signage.phy/
GLib-GIO-Message: 09:35:12.754: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
[ 2.429578] E [core/common/lualib]: Lua error: moon/its/kiosk2/luakit.moon:do_commands:131: TypeError: undefined is not an object (evaluating 'find(find(find(document, 'HTML'), 'BODY'), 'A').attributes')
Traceback:
(1) [C] in function assert
(2) moon/its/kiosk2/luakit.moon:115 in function [anonymous]
(process:1250): libsoup-WARNING **: 09:35:13.328: soup-tld: There is no public-suffix data available.
provisional
redirected
committed
finished
javascript in window.its_next(0, "cb511a")
javascript out understood
from_luakit = {
"javascript",
"understood",
}
navigate to https://signage.phy.cam.ac.uk/?slide_id=0&perf_dropped_bad=1&perf_luakit=262&perf_sentinel=40&time=1559896529
(process:1250): libsoup-WARNING **: 09:35:17.738: soup-tld: There is no public-suffix data available.
provisional
committed
finished
javascript in window.its_next(0, "b2e7fe")
javascript out understood
from_luakit = {
"javascript",
"understood",
}
navigate to https://signage.phy.cam.ac.uk/?slide_id=0&perf_busy=1&perf_dropped=10&perf_dropped_bad=4&perf_luakit=72&perf_sentinel=40&time=1559896544
(process:1250): libsoup-WARNING **: 09:35:20.986: soup-tld: There is no public-suffix data available.
provisional
committed
finished
javascript in window.its_next(0, "971109")
javascript out understood
from_luakit = {
"javascript",
"understood",
}
navigate to https://signage.phy.cam.ac.uk/?slide_id=0&perf_busy=1&perf_dropped=13&perf_luakit=84&perf_sentinel=40&time=1559896559
(process:1250): libsoup-WARNING **: 09:35:24.173: soup-tld: There is no public-suffix data available.
provisional
committed
finished
javascript in window.its_next(0, "c0d397")
javascript out understood
from_luakit = {
"javascript",
"understood",
}
navigate to https://signage.phy.cam.ac.uk/?slide_id=0&perf_busy=1&perf_dropped=15&perf_luakit=82&perf_sentinel=40&time=1559896574
(process:1250): libsoup-WARNING **: 09:35:27.388: soup-tld: There is no public-suffix data available.
provisional
committed
finished
javascript in window.its_next(0, "14ba88")
javascript out understood
from_luakit = {
"javascript",
"understood",
}
navigate to https://signage.phy.cam.ac.uk/?slide_id=0&perf_busy=1&perf_dropped=13&perf_luakit=86&perf_sentinel=40&time=1559896589
(process:1250): libsoup-WARNING **: 09:35:30.643: soup-tld: There is no public-suffix data available.
provisional
committed
finished
javascript in window.its_next(0, "a93e52")
javascript out understood
from_luakit = {
"javascript",
"understood",
}
navigate to https://signage.phy.cam.ac.uk/?slide_id=0&perf_busy=1&perf_dropped=6&perf_luakit=97&perf_sentinel=40&time=1559896604
(process:1250): libsoup-WARNING **: 09:35:33.896: soup-tld: There is no public-suffix data available.
provisional
committed
finished
javascript in window.its_next(0, "56de8d")
javascript out understood
from_luakit = {
"javascript",
"understood",
}
navigate to https://signage.phy.cam.ac.uk/?slide_id=0&perf_busy=2&perf_dropped=7&perf_frames=17&perf_luakit=96&perf_sentinel=41&time=1559896619
(process:1250): libsoup-WARNING **: 09:35:37.140: soup-tld: There is no public-suffix data available.
provisional
committed
finished
javascript in window.its_next(0, "bc5964")
javascript out understood
from_luakit = {
"javascript",
"understood",
}
navigate to https://signage.phy.cam.ac.uk/?slide_id=0&perf_busy=1&perf_dropped=8&perf_frames=384&perf_textures=338&time=1559896634
(process:1250): libsoup-WARNING **: 09:35:52.510: soup-tld: There is no public-suffix data available.
provisional
committed
finished
javascript in window.its_next(0, "6d3b58")
javascript out understood
from_luakit = {
"javascript",
"understood",
}
[ 56.815485] E [core/common/util]: unprotected error in call to Lua API (attempt to index a number value)
/usr/bin/xinit: connection to X server lost
waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.