PDA

View Full Version : [ViX_Misc] 5.3 031 Crash when making an instant record



abu baniaz
21-05-20, 05:14
We are aware of a crash when creating an instant recording. Timer/Auto Timer recordings are fine. Apologies for the inconvenience. A fix will be made as soon as possible.





< 13576.6264> Traceback (most recent call last):
< 13576.6265> File "/usr/lib/enigma2/python/mytest.py", line 244, in processDelay
< 13576.6301> callback(*retval)
< 13576.6303> File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 3131, in recordQuestionCallback
< 13576.6481> File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 3029, in startInstantRecording
< 13576.6484> File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 3017, in getProgramInfoAndEvent
< 13576.6487> File "/usr/lib/enigma2/python/RecordTimer.py", line 58, in parseEvent
< 13576.6523> AttributeError: 'eServiceReference' object has no attribute 'ref'
< 13576.6525> [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session instance at 0x70796b98>>,()) failed)

simonc
21-05-20, 09:28
You can work around for now by turning off the split programme detection in the recording options, the problem won't occur.

This just backs up why the ServiceReference class has to go. The bug is the direct result of the class being a really bad idea.

Sicilian
21-05-20, 09:45
You can work around for now by turning off the split programme detection in the recording options, the problem won't occur.

This just backs up why the ServiceReference class has to go. The bug is the direct result of the class being a really bad idea.

Are you able to fix the crash so we can get it release build or as a work around for now please can you issue a PR setting the default to 0 until a solution is found.

Sicilian
21-05-20, 09:52
I'm going to set the default to '0' now as a temp workaround unless you're able to fix the crash today?

ccs
21-05-20, 09:54
.... are you able to only allow a value of '0' in the options?

simonc
21-05-20, 10:19
Going to fix it now. Setting to 0 is a workaround for anyone with 31 installed, not a suitable fix for Dev or master.

Edit, PR submitted

Sicilian
21-05-20, 10:57
Thanks Simon, merged and building now. 5.3.031 won't be released to public. Should be able to get 5.3.032 built during today.

Sicilian
21-05-20, 11:45
Tested fix, 5.3.032 release build running now. Most likely be uploaded tomorrow morning or late tonight.