chill wrote:
> I've started to try and get one or two of Roobarb's Joggler-specific
> applets working. His replacement 'Quit' applet, which allows the
> Joggler to reboot, shutdown, or quit Jivelite, works out of the box.
> None of the others that I've tried do though, so I enabled logging and
> saw warnings about an 'invalid escape sequence'.
>
> >
Code:
--------------------
> > 20190130 18:29:50.443 ERROR jivelite.applets - AppletManager.lua:242
Error while loading meta for
JogglerBacklight:/root/jivelite/share/jive/jive/AppletManager.lua:210: error
loading meta `JogglerBacklight'
(...e/jive/applets/JogglerBacklight/JogglerBacklightMeta.lua:45: invalid escape
sequence near '"[ ! -f $HOME/.jivelite/userpath/settings/JogglerBacklight.lua ]
|| sqp_JogglerBacklight.sh `cat
$HOME/.jivelite/userpath/settings/JogglerBacklight.lua | awk -F')
> stack traceback:
> /root/jivelite/share/jive/jive/AppletManager.lua:242: in function
'_ploadMe
>
--------------------
> >
>
>
> Is that because of this issue?
>
>
>
> Is this the way to fix that?
>
>
> I'd like to be reasonably sure that the library version issue is the
> cause of this error before attempting the alternative lua integration,
> because frankly that all seems like it could easily go badly in the
> wrong hands (mine)!
I can confirm it IS the language differences between lua 5.1 and luajit.
Here's the backlight applet running on Jivelite lua 5.1.5.
26654
I get the error sh: sqp_JogglerBacklight.sh: command not found on the
console because I didn't copy the script.
It shouldn't be too hard to update your build script to use lua-5.1.5
but make sure you use the sources from my squeezeplay github as it has
an additional language extension needed to be able to run the jivelite
lua files.
Code:
--------------------
https://github.com/ralph-irving/squeezeplay/tree/master/src/lua-5.1.5
--------------------
Build lua-5.1.5 and install in /usr/local
Apply the attached jivelite-lua51.patch to remove the luajit-2.0
references from the Make and config files.
Build jivelite
Apply the scripts/remove-ffi.patch from the jivelite source to the
installed files afterward.
+-------------------------------------------------------------------+
|Filename: jivelite-lua51.patch.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=26655|
+-------------------------------------------------------------------+
Ralphy
*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110040
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix