Jump to content


Photo

Crash on changing channels in Autotimer


  • Please log in to reply
17 replies to this topic

#1 Dream1975

  • Senior Member
  • 1,634 posts

+14
Neutral

Posted 12 October 2013 - 15:21

Hello,

 

I tried changing some autotimers from the old NGC HD position to the new one and got this crash:

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 1893, in channelSelected
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 1316, in gotoCurrentServiceOrProvider
AttributeError: 'SimpleChannelSelection' object has no attribute 'bouquet_mark_edit'
(PyObject_CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap instance at 0x740d85a8>>,('OkCancelActions', 'ok')) failed)
getResolvedKey config.plugins.crashlogautosubmit.sendAnonCrashlog failed !! (Typo??)
getResolvedKey config.plugins.crashlogautosubmit.addNetwork failed !! (Typo??)
getResolvedKey config.plugins.crashlogautosubmit.addWlan failed !! (Typo??)
]]>
        </enigma2crashlog>
    </crashlogs>
</openpli>


Mutant HD2400, OpenPLi nightly, 2x DVB-C & 2x DVB-S

Mutant HD51, OpenPLi nightly, 1x DVB-C & 1x DVB-S

Wavefrontier T55 (Astra 1,2,3 en HB)

Smartcards Ziggo (Irdeto) and CDS (Seca) on Oscam

 


Re: Crash on changing channels in Autotimer #2 Dimitrij

  • PLi® Core member
  • 10,020 posts

+338
Excellent

Posted 12 October 2013 - 18:41

class ChannelSelectionBase(Screen):
	def __init__(self, session):
		Screen.__init__(self, session)

		self["key_red"] = Button(_("All"))
		self["key_green"] = Button(_("Satellites"))
		self["key_yellow"] = Button(_("Provider"))
		self["key_blue"] = Button(_("Favourites"))

		self["list"] = ServiceList()
		self.servicelist = self["list"]

		self.numericalTextInput = NumericalTextInput()
		self.numericalTextInput.setUseableChars(u'1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ')

		self.servicePathTV = [ ]
		self.servicePathRadio = [ ]
		self.servicePath = [ ]
		self.history = [ ]
		self.rootChanged = False
		self.startRoot = None
+		self.bouquet_mark_edit = OFF
		self.mode = MODE_TV
		self.dopipzap = False

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Crash on changing channels in Autotimer #3 littlesat

  • PLi® Core member
  • 56,273 posts

+691
Excellent

Posted 12 October 2013 - 19:07

Why is this required?
Isn't it possible to initialize it in the plugin itself?
OFF looks wierd...

Edited by littlesat, 12 October 2013 - 19:08.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Crash on changing channels in Autotimer #4 Dimitrij

  • PLi® Core member
  • 10,020 posts

+338
Excellent

Posted 12 October 2013 - 19:56

Why is this required?
Isn't it possible to initialize it in the plugin itself?
OFF looks wierd...

class AutoTimerChannelSelection(SimpleChannelSelection):
	def __init__(self, session, autotimer):
		SimpleChannelSelection.__init__(self, session, _("Channel Selection"))
		self.skinName = "SimpleChannelSelection"
		self.autotimer = autotimer

		self["ChannelSelectEPGActions"] = ActionMap(["ChannelSelectEPGActions"],
			{
				"showEPGList": self.channelSelected
			}
		)

	def channelSelected(self):
		ref = self.getCurrentSelection()
		if (ref.flags & 7) == 7:
			self.enterPath(ref)
		elif not (ref.flags & eServiceReference.isMarker):
			self.session.open(
				AutoTimerEPGSelection,
				ref
			)

AutoTimerEditor.py


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Crash on changing channels in Autotimer #5 Dimmie

  • Senior Member
  • 2,338 posts

+33
Good

Posted 12 October 2013 - 20:16

both solutions still end in a green screen.

 

So autotimer is not working in OPenPli 4.0



Re: Crash on changing channels in Autotimer #6 Dimitrij

  • PLi® Core member
  • 10,020 posts

+338
Excellent

Posted 13 October 2013 - 07:00

Same problem in EPGSearch.

class EPGSearchChannelSelection(SimpleChannelSelection):

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Crash on changing channels in Autotimer #7 littlesat

  • PLi® Core member
  • 56,273 posts

+691
Excellent

Posted 13 October 2013 - 08:37

Which autotimer plugin are you using? In ours I cannot find any refference to bouquet_mark_edit


Edited by littlesat, 13 October 2013 - 08:38.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Crash on changing channels in Autotimer #8 Dream1975

  • Senior Member
  • 1,634 posts

+14
Neutral

Posted 13 October 2013 - 08:47

The autotimer from the feed (I'm still at OpenPLi 3.0).


Mutant HD2400, OpenPLi nightly, 2x DVB-C & 2x DVB-S

Mutant HD51, OpenPLi nightly, 1x DVB-C & 1x DVB-S

Wavefrontier T55 (Astra 1,2,3 en HB)

Smartcards Ziggo (Irdeto) and CDS (Seca) on Oscam

 


Re: Crash on changing channels in Autotimer #9 ims

  • PLi® Core member
  • 13,624 posts

+212
Excellent

Posted 13 October 2013 - 08:50

I am using AT of 4.0:

 

SimpleChannelSelection ... called from several plugins  (imdb, autotimer, epgsearch, epgrefresh ... ...)

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 1924, in channelSelected
    self.gotoCurrentServiceOrProvider(ref)
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 1347, in gotoCurrentServiceOrProvider
    elif not self.isBasePathEqual(self.bouquet_root) or self.bouquet_mark_edit == EDIT_ALTERNATIVES:
AttributeError: 'SimpleChannelSelection' object has no attribute 'bouquet_mark_edit'
(PyObject_CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap instance at 0x1f3ae68>>,('OkCancelActions', 'ok')) failed)

Edited by ims, 13 October 2013 - 08:55.

Kdo nic nedělá, nic nezkazí!

Re: Crash on changing channels in Autotimer #10 littlesat

  • PLi® Core member
  • 56,273 posts

+691
Excellent

Posted 13 October 2013 - 08:52

The normal or the mod version...?


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Crash on changing channels in Autotimer #11 littlesat

  • PLi® Core member
  • 56,273 posts

+691
Excellent

Posted 13 October 2013 - 08:53

Now I see what happens..... WIll be fixed soon... The fix in #2 should work as far I can see.... bouquet_mark_edit was not initialised when coming from simple channel selection and you goto the channel


Edited by littlesat, 13 October 2013 - 09:00.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Crash on changing channels in Autotimer #12 littlesat

  • PLi® Core member
  • 56,273 posts

+691
Excellent

Posted 13 October 2013 - 09:09

It also crashes when you want to change a channel from the normal timer... Not related to autotimer,,,


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Crash on changing channels in Autotimer #13 littlesat

  • PLi® Core member
  • 56,273 posts

+691
Excellent

Posted 13 October 2013 - 09:14

Fixed...


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Crash on changing channels in Autotimer #14 PiratDK

  • Senior Member
  • 40 posts

0
Neutral

Posted 13 October 2013 - 12:11

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 1906, in channelSelected
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 1329, in gotoCurrentServiceOrProvider
AttributeError: 'SimpleChannelSelection' object has no attribute 'bouquet_mark_edit'
(PyObject_CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap instance at 0x1afb0f8>>,('OkCancelActions', 'ok')) failed)
getResolvedKey config.plugins.crashlogautosubmit.sendAnonCrashlog failed !! (Typo??)
getResolvedKey config.plugins.crashlogautosubmit.addNetwork failed !! (Typo??)
getResolvedKey config.plugins.crashlogautosubmit.addWlan failed !! (Typo??)
]]>

EPGRefresh crashes box


The Real PiratDK
46" Samsung 8005, VU+ Duo2, Dreambox 8000HD


Re: Crash on changing channels in Autotimer #15 littlesat

  • PLi® Core member
  • 56,273 posts

+691
Excellent

Posted 13 October 2013 - 12:19

With the new ChannelSelection.py just committed you should not get that GSOD.


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Crash on changing channels in Autotimer #16 PiratDK

  • Senior Member
  • 40 posts

0
Neutral

Posted 13 October 2013 - 12:56

No updates available....


The Real PiratDK
46" Samsung 8005, VU+ Duo2, Dreambox 8000HD


Re: Crash on changing channels in Autotimer #17 littlesat

  • PLi® Core member
  • 56,273 posts

+691
Excellent

Posted 13 October 2013 - 13:01

Then you have to wait for tomorrow... after the next build as the fix is committed today.

 

When you are not patient you can download the latest ChannelSelection.py from our sources.. http://sourceforge.n...nelSelection.py

And put it on your box under /usr/lib/enigma2/python/Screens and then restart Enigma2.


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Crash on changing channels in Autotimer #18 PiratDK

  • Senior Member
  • 40 posts

0
Neutral

Posted 13 October 2013 - 13:16

Files in there are all .pyo files...

 

Should I rename ?


The Real PiratDK
46" Samsung 8005, VU+ Duo2, Dreambox 8000HD



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users