Jump to content


Photo

streamrelay channels - crash on eventview


  • Please log in to reply
16 replies to this topic

#1 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 3 May 2024 - 08:08

On streamrelay channels, Enigma often crashes when pressing "Info".

[eDVBRecordFileThread] wait: aio_return returned failure: Interrupted system call
[eDVBRecordFileThread] wait: aio_return returned failure: Interrupted system call
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Screens/EventView.py", line 290, in getSimilarEvents
Exception: type error
[ePyObject] (CallObject(<bound method EventViewBase.getSimilarEvents of <class 'Screens.EventView.EventViewEPGSelect'>>,()) failed)

(with nightly build, oscam, standard skin)
 

 



Re: streamrelay channels - crash on eventview #2 Dimitrij

  • PLi® Core member
  • 10,338 posts

+352
Excellent

Posted 3 May 2024 - 08:43

	def getSimilarEvents(self):
		# search similar broadcastings
		if not self.event:
			return
-	        refstr = str(self.currentService)
+               refstr = ':'.join(self.currentService.ref.toString().split(':')[:11])
		id = self.event.getEventId()
		epgcache = eEPGCache.getInstance()
		ret = epgcache.search(('NB', 100, eEPGCache.SIMILAR_BROADCASTINGS_SEARCH, refstr, id))

 

 


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


Re: streamrelay channels - crash on eventview #3 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 3 May 2024 - 11:20

It still crashes.

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Screens/EventView.py", line 290, in getSimilarEvents
    ret = epgcache.search(('NB', 100, eEPGCache.SIMILAR_BROADCASTINGS_SEARCH, refstr, id))
Exception: type error
[ePyObject] (CallObject(<bound method EventViewBase.getSimilarEvents of <class 'Screens.EventView.EventViewEPGSelect'>>,()) failed)

 



Re: streamrelay channels - crash on eventview #4 Dimitrij

  • PLi® Core member
  • 10,338 posts

+352
Excellent

Posted 3 May 2024 - 14:42

What channel is this?


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


Re: streamrelay channels - crash on eventview #5 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 3 May 2024 - 15:43

It happens erratically on german S K Y channels on Astra 19°E.


Edited by Stan, 3 May 2024 - 15:46.


Re: streamrelay channels - crash on eventview #6 littlesat

  • PLi® Core member
  • 57,255 posts

+702
Excellent

Posted 3 May 2024 - 16:24

I cannot verify this crash. What are you exactly doing and/or what plugins do you have installed?

maybe post the complete crashlog?


Edited by littlesat, 3 May 2024 - 16:25.

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


Re: streamrelay channels - crash on eventview #7 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 3 May 2024 - 20:35

It's just a clean nightly build and oscam. No plugins are installed. I have enabled streamrelay in oscam and copied the file whitelist_streamrelay for german S K Y channels to folder /etc/enigma2. (When switching to one of these channels, the yellow streaming indicator appears in the infobar.)

 

The crash randomly occurs when pressing the "Info" button on these channels.

 

Attached Files



Re: streamrelay channels - crash on eventview #8 Dimitrij

  • PLi® Core member
  • 10,338 posts

+352
Excellent

Posted 4 May 2024 - 05:22

Stan

please use this EventView.py

	def getSimilarEvents(self):
		# search similar broadcastings
		if not self.event:
			return
		refstr = str(self.currentService)
		id = self.event.getEventId()
+               print(refstr, id, self.currentService)
		epgcache = eEPGCache.getInstance()
		ret = epgcache.search(('NB', 100, eEPGCache.SIMILAR_BROADCASTINGS_SEARCH, refstr, id))

and show enigma2_crash witch print


Edited by Dimitrij, 4 May 2024 - 05:22.

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


Re: streamrelay channels - crash on eventview #9 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 4 May 2024 - 10:50

This is what it looks like when it's behaving correctly:

[InfoBarStreamRelay] Play service 1:0:19:74:9:85:C00001:0:0:0:http%3a//127.0.0.1%3a17999/1%3a0%3a19%3a74%3a9%3a85%3aC00000%3a0%3a0%3a0%3a:Sky Cinema Action via streamrelay
[...]
[Skin] Processing screen 'EventView', position=(0, 0), size=(1920 x 1080) for module 'EventViewEPGSelect'.
[Screen] Warning: Skin is missing element 'epg_description' in <class 'Screens.EventView.EventViewEPGSelect'>.
[Skin] Processing screen 'SimpleSummary' from list 'EventView_summary, SimpleSummary', position=(0, 0), size=(132 x 64) for module 'SimpleSummary'.
[Screen] Showing screen '['EventView_summary', 'SimpleSummary']'.
[Screen] Showing screen 'EventView'.
1:0:19:74:9:85:C00000:0:0:0: 291 1:0:19:74:9:85:C00000:0:0:0:

And this when it crashes:

[InfoBarStreamRelay] Play service 1:0:19:6F:D:85:C00001:0:0:0:http%3a//127.0.0.1%3a17999/1%3a0%3a19%3a6F%3aD%3a85%3aC00000%3a0%3a0%3a0%3a:Sky Cinema Highlights via streamrelay
[Navigation] Streamrelay was active -> delay the zap till tuner is freed
[Screen] Showing screen 'InfoBarSummary'.
[eFilePushThread]: stopping thread that is already stopped
[Navigation] playing:  1:0:19:6F:D:85:C00000:0:0:0:
[InfoBarStreamRelay] Play service 1:0:19:6F:D:85:C00001:0:0:0:http%3a//127.0.0.1%3a17999/1%3a0%3a19%3a6F%3aD%3a85%3aC00000%3a0%3a0%3a0%3a:Sky Cinema Highlights via streamrelay
[...]
[Skin] Processing screen 'EventView', position=(0, 0), size=(1920 x 1080) for module 'EventViewEPGSelect'.
[Screen] Warning: Skin is missing element 'epg_description' in <class 'Screens.EventView.EventViewEPGSelect'>.
[Skin] Processing screen 'SimpleSummary' from list 'EventView_summary, SimpleSummary', position=(0, 0), size=(132 x 64) for module 'SimpleSummary'.
[Screen] Showing screen '['EventView_summary', 'SimpleSummary']'.
[Screen] Showing screen 'EventView'.
-1:0:0:0:991201:0:0:B6FBC0:1A39DE0:0: 270 -1:0:0:0:991201:0:0:B6FBC0:1A39DE0:0:
[eEPGCache] tuple arg 4 is not a valid service reference string
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Screens/EventView.py", line 291, in getSimilarEvents
    ret = epgcache.search(('NB', 100, eEPGCache.SIMILAR_BROADCASTINGS_SEARCH, refstr, id))
Exception: type error

What I found out so far, is that when switching to a streamrelay channel, sometimes the Service reference is N/A. And this causes the crash.

Attached Files


Edited by Stan, 4 May 2024 - 10:56.


Re: streamrelay channels - crash on eventview #10 littlesat

  • PLi® Core member
  • 57,255 posts

+702
Excellent

Posted 4 May 2024 - 11:20

What kind of settings are you using? C0000001 looks wrong. And then when you view the epg a complete different service ref popups which isn’t even real. Starts with -1 ???

 

but when it happens in similar events it could simply be your epg.dat is corrupted and if finds an equal event with invalid service ref or so…. So stop enigma2 remove the epg.dat and restart enigma2


Edited by littlesat, 4 May 2024 - 11:24.

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


Re: streamrelay channels - crash on eventview #11 WanWizard

  • PLi® Core member
  • 70,596 posts

+1,821
Excellent

Posted 4 May 2024 - 14:18

Also, why does the service ref has C00001,while the generates streamrelay URL has C00000 ?

 

Not that is the cause of the error, as that is the same for the request that does work.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: streamrelay channels - crash on eventview #12 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 4 May 2024 - 14:34

I assume that the namespace is changed to C00001 to mark the service as streaming channel. (if the service is found in whitelist_streamrelay)

 

The initial problem might indeed be a matter of timing. I have now increased the value of "Stream Relay delay" (to 300 in my case), and that helped.

If that value ist too low (<150), then I also get the issue with channels grayed out in the channel list.


Edited by Stan, 4 May 2024 - 14:37.


Re: streamrelay channels - crash on eventview #13 littlesat

  • PLi® Core member
  • 57,255 posts

+702
Excellent

Posted 4 May 2024 - 21:02

Maybe also smarter to have normal services and use the stream relay whitelist functionality. But still I’m afraid it is related to the epg.dat is corrupt.

Edited by littlesat, 4 May 2024 - 21:04.

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


Re: streamrelay channels - crash on eventview #14 Huevos

  • PLi® Contributor
  • 4,706 posts

+167
Excellent

Posted 4 May 2024 - 21:50

Yes. This is correct. The namespace is updated.

Re: streamrelay channels - crash on eventview #15 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 4 May 2024 - 21:51

From the crashlog it seems as if the service ref string gets corrupt sometimes.

 

After increasing "Stream Relay delay" from 100 to 300, it happens very rarely now.



Re: streamrelay channels - crash on eventview #16 littlesat

  • PLi® Core member
  • 57,255 posts

+702
Excellent

Posted 5 May 2024 - 05:57

That delay is in oscam and not enigma2. So that should not be related

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


Re: streamrelay channels - crash on eventview #17 Stan

  • Senior Member
  • 381 posts

0
Neutral

Posted 5 May 2024 - 11:20

I wonder, could oscam be the culprit for causing "not a valid service reference string"?

(post #9)


Edited by Stan, 5 May 2024 - 11:26.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users