Earthtools

I don't know if anyone else has been affected but I think that the Earthtools website is down which has caused my plugboard to crash. I've disabled the Applets that use it and the plugboard seems to be run okay now.

Member for

14 years 5 months

mark_baldwin

11 years 4 months ago

do you mean this error Allan?

lua: /usr/share/lua/5.1/pl/xml.lua:619: attempt to perform arithmetic on local 'j' (a nil value)

stack traceback:

        /usr/share/lua/5.1/pl/xml.lua:619: in function 'parser'

        /usr/share/lua/5.1/pl/xml.lua:86: in function 'parse'

        /etc/plugboard/sunForcastApplet.lua:40: in function 'callback'

        /usr/share/lua/5.1/xap/init.lua:172: in function 'dispatch'

        /usr/share/lua/5.1/xap/init.lua:124: in function 'fun'

        /usr/share/lua/5.1/pl/List.lua:392: in function 'foreach'

        /usr/share/lua/5.1/xap/init.lua:122: in function 'process'

        /etc/plugboard/plugboard.lua:68: in main chunk

        [C]: ?

Member for

15 years 1 month

allanayr

11 years 4 months ago

Yes it looked something like that. It stopped the plugboard so I renamed the applets that are connected to it and rebooted. 

Member for

14 years 5 months

mark_baldwin

11 years 4 months ago

How did you figure it was Earthtools? EDIT Ignore that, just spotted sunforcast in the traceback lol

I have the fix that Brett suggested last year

if xmlstring == nil or statuscode ~= 200 then return end

but still it crashes plugboard 

Member for

15 years 1 month

allanayr

11 years 4 months ago

Yep, I did that mod too but It still crashes the plugboard. It's not a critical applet for me so I'll just manage without it for now and keep an eye out for earthtools coming back online, if that ever happens!

Member for

14 years 5 months

mark_baldwin

11 years 4 months ago

SWMBO struggled to find the light switches last night :)