possible Plugboard issue
25 November, 2013 - 19:47
Hi all,
I seem to have picked up a strange bug almost out of the blue whilst creating some plugboard scripts
this is the debug when running xap-plugboard manually
At first i suspected this was an error in a recent lua script but i have sinced removed them from the HAH but continue to have the same error
I have also tried flashing V310 and Beta V310.1
# xap-plugboard
lua: /usr/share/lua/5.1/pl/config.lua:121: attempt to index local 'key' (a nil value)
stack traceback:
/usr/share/lua/5.1/pl/config.lua:121: in function 'process_name'
/usr/share/lua/5.1/pl/config.lua:152: in function 'read'
/etc_ro_fs/plugboard/plugboard.lua:52: in main chunk
[C]: ?
#
Thanks Andrew
Andrew,
i might be putting 2 and 2 together and getting 6, but the config.lua file is part of the penlight library used for reading config files. I know the HAh is liable to xap-livebox.ini corruption and maybe this has happened to yours. Not sure if Brett uses the penlight library to read this config file for the plugboard but it makes sense.
i would suggest looking at you xap-livebox.ini file and restoring a backup if you have one.
Garry
edit: indeed it does. Plugboard.lua uses the config.lua part of penlight as shown here