Unzip and copy the 2 files into here, replacing what exists (back up the existing files first)
If neither of us have had the error after a week or so, I'd say we're goodCode:\Root\usr\lib\enigma2\python\Plugins\Extensions\LCD4linux
Unzip and copy the 2 files into here, replacing what exists (back up the existing files first)
If neither of us have had the error after a week or so, I'd say we're goodCode:\Root\usr\lib\enigma2\python\Plugins\Extensions\LCD4linux
chaser (31-05-15)
My error occurs at the exact same time as well
Thanks for this. I'm away from by box just now, but will get it done tomorrow evening.
I'm getting some other errors now similar issue somewhere else... still testing.
Ok, found another separate issue that's causing the weather not to show...
This occurs because for some reason every now and again, the degrees symbol is returned with the feel value, so I'll need to change it to handle thisCode:06:41:03 Error1: Traceback (most recent call last): File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 4023, in run para[0](para[1],para[2],para[3]) File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 9194, in putWetter if Feel=="" or abs(int(Feel or "0")-int(Temp_c[:-1] or "0")) < int(LCD4linux.WetterExtraFeel.value) or LCD4linux.WetterExtra.value == False: ValueError: invalid literal for int() with base 10: '9\xb0'
e.g. when it works, the value is just a digit,
when it fails, the value is...Code:01:35:03 feel is: 8
I'll take a look and fix the - problem is, right now I can't work out why this happens, whether its the weather api, or somewhere else in the code, but I can put some defensive code in to avoid the crash.Code:06:41:03 feel is: 9°
Last edited by pembo; 04-06-15 at 07:00.
Ok - anyone who uses LCD4L and weather and having issues with crashes please try the attached.
- browse to
Code:/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux- backup the following two files:
- plugin.py
- plugin.pyo
- Unzip the files in the attached zip replacing these two files
- Restart the e2 gui for the file to take effect
Leave this running, ensure the weather eventually shows (may take 10 minutes to refresh the weather) and post back if you don't experience any more crashes over the next few days.
Last edited by pembo; 04-06-15 at 23:05.
abu baniaz (04-06-15),chaser (05-06-15),Sicilian (07-06-15)
just to report back, no crashes so far, but it's too early to be sure. Need to monitor the weather over a few days!
The change covers two area that were causing crashes for me...
1) Regen (German for rain!) when no value is returned from the weather api
2) Temperature Feel - when a degrees symbol is returned.
Andy_Hazza (05-06-15),chaser (05-06-15)
I've copied the files over to the box, but I've not had the opportunity to reboot the box yet. Will do that later this evening when everyone else has gone to bed and will report back later.
pembo (05-06-15)
Rebooted the box yesterday evening, but still seem to be getting a crash.
L4Lcrash.txt:The L4log.txt file shows this error occurring several times during the early hours of the morning:Code:Traceback (most recent call last): File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 4023, in run para[0](para[1],para[2],para[3]) File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 9150, in putWetter if int(Regen.replace("%","")) >= int(LCD4linux.WetterRainColor2use.value): ValueError: invalid literal for int() with base 10: ''
00:36:04
00:40:04
00:56:04
Typical output from L4log.txt:
The 'Wetter Picon used:' line looks a bit odd. There is no actual picon file name - just the png extension.Code:00:36:03 Data-Build 00:36:04 creating LCD-Picture 00:36:04 Wetter Picon used: /usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/wetter/ png 00:36:04 Error1: Traceback (most recent call last): File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 4023, in run para[0](para[1],para[2],para[3]) File "/usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/plugin.py", line 9150, in putWetter if int(Regen.replace("%","")) >= int(LCD4linux.WetterRainColor2use.value): ValueError: invalid literal for int() with base 10: '' 00:36:04 Push: 0.178 (1/0/0) Wait: 0.001 00:36:04 writing to Vu+ LCD 00:36:04 RunTime: 0.255 (Picture: 0.192 / Write: 0.063)
Last edited by chaser; 06-06-15 at 11:49.
pembo (06-06-15)
Thanks... I've been waiting for rain ;
I'll take a look... I haven't changed the code there so it's probably another issue but I'll check it out based on your trace!
Ok, same instructions as before... give this a try.. I've addressed the 'Regen' (rain) issue everywhere I think!
Still waiting for any sort of rain chance on the weather myself so can't recreate this issue yet... only a matter of time though
Let me know how you get on this time!
chaser (07-06-15)
no issues overnight - but no chance of rain either!
Yeah. not sure it's too relevant actually. Before you posted your latest fix, I did a bit of digging around yesterday, and found the following changelog:
The latest r4 update is what looked interesting.Code:4.5r0 (26.01.2015) - Wetter: OpenWeatherMap Alternative - zusätzliches Hintergrund-Element - randlose Forschrittbar , +/-min - einige weitere Elemente: +Längeneinstellung - externes Element: +"circle" - Unterstützung ET8500-Skin-LCD - Fix: jährliche ICS-Termine , IMAP Tageabfrage - weitere kleine Anpassungen (MP3-Info...) r1 (27.01.): Fix: geteilter Schirm/Länge ; Fortschrittbar "auf Linie" r2 (31.01.): Fix: globale Font-Einstellung per WebIF ; Picondarstellung bei Position>0 ; Satellit OE2.2 ; Standardwert Länge Sendungsinfo ist "100%" r3 (28.02.): Timeshift"Ring" ; Fortschrittbar ausschaltbar ; Klappenuhr mit Datum oder Wochentag ; Sprachenupdate pl,fr,ru,es (Thanks to contributors) r4 (05.04.): Fix: Wettercrash , Kalenderaktualisierung ; Sprachenupdate Spanisch
I'm a bit confused about where the 4.6-r1 version that is currently ships with OpenVix comes from, and if this is actually later than the 4.5-r4 version above. I suspect it's not.
I downloaded the latest enigma2-plugin-extensions-lcd4linux_4.5-r4_mips32el.ipk and installed this over the top of the existing version, but this didn't seem to work properly. I then decided to just replace the plugin.py file, and see what difference that made. It messed up much of my LCD config, so I had to set it up from scratch again. But once that was done, it all seems to be working again. No crashes yet, and plenty of rain here. In fact, Thursday looks very rainy! Copy of plugin.py from the 4.5-r4 ipk file attached below...
plugin.rar
Last edited by chaser; 07-06-15 at 10:45.
Just extracted the entire LCD4Linux and Component folders from the 4.5-r4 ipk (using 7zip), copied these over to my box, rebooted, and all looks good. There are also usb and icalendar subfolders in the tmp folder of the ipk. I didn't copy these across. I suspect the usb bit was breaking comms with the LCD screen when using the VU box to install the ipk. Copy of full ipk below:
enigma2-plugin-extensions-lcd4linux_4.5-r4_mips32el.ipk
Last edited by chaser; 07-06-15 at 11:35.
the vix version of lcd4linux is a branch of the original (with additional modifications) I believe at request of the author - so it's not quite as straight forward.
If you copy the original, you'll lose certain features, e.g. service name picon support.
The fixes I've applied to the vix version also appear to have resolved all the weather issues - I've not had a crash in just short of a week now.