Superb quality and spec AB-Com PULSe 4K SE. Crazy offer! Only £99! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £149! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[ViX_Misc] Crash In Cron Timers

^^COMPASS^^

Forum Supporter
Donated Member
Joined
Dec 20, 2011
Messages
268
Reaction score
3
Points
18
Age
60
Morning gents when attempting to add a new Cron timer I'am getting a crash.

currently using Vix Night HD skin

I have only setup tuner config


crash log attached

cheers Dave...


Code:
<   219.2934> 10:53:46.5261 [InfoBarGenerics] Key: 399 (Break) KeyID='KEY_GREEN' Binding='('GREEN',)'.
<   219.2944> 10:53:46.5271 [ActionMap] Keymap 'ColorActions' -> Action = 'green'.
<   219.3053> 10:53:46.5380 Traceback (most recent call last):
<   219.3055> 10:53:46.5381   File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action
<   219.3058> 10:53:46.5385   File "/usr/lib/enigma2/python/Screens/CronTimer.py", line 147, in addtocron
<   219.3063> 10:53:46.5389   File "/usr/lib/enigma2/python/mytest.py", line 324, in openWithCallback
<   219.3068> 10:53:46.5394     dlg = self.open(screen, *arguments, **kwargs)
<   219.3069> 10:53:46.5396   File "/usr/lib/enigma2/python/mytest.py", line 334, in open
<   219.3075> 10:53:46.5402     dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
<   219.3077> 10:53:46.5403   File "/usr/lib/enigma2/python/mytest.py", line 271, in instantiateDialog
<   219.3082> 10:53:46.5409     return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
<   219.3084> 10:53:46.5410   File "/usr/lib/enigma2/python/mytest.py", line 294, in doInstantiateDialog
<   219.3089> 10:53:46.5415     dlg = screen(self, *arguments, **kwargs)
<   219.3090> 10:53:46.5417   File "/usr/lib/enigma2/python/Screens/CronTimer.py", line 318, in __init__
<   219.3098> 10:53:46.5424 AttributeError: 'CronTimersConfig' object has no attribute 'KeyText'
<   219.3099> 10:53:46.5426 [ePyObject] (CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap instance at 0x6c05d8c8>>,('ColorActions', 'green')) failed)
 

Attachments

Last edited by a moderator:
I can confirm the crash too.

Following results in a crash
Menu > Timers > Cron Timers > Green
 
This is caused because of a difference between the case of the first letter after self.

self.KeyText

self.keyText

There are couple of screens using the old "self.KeyText", we can fix these, but IMO, we should make it backward compatible to avoid issues with other potential crashes.
 
Fixed here.

Code:
https://github.com/OpenViX/enigma2/commit/7209a71d238e7b7cedcaad9b3a10e8044efbb408

Unzipped amended file goes in
/usr/lib/enigma2/python/Screens
 
Last edited:

OpenViX Feeds Status

Back
Top