Jump to content


Photo

Enigma2 freezes, dm500hd, sundtek usb


  • Please log in to reply
20 replies to this topic

#1 atilaks

  • Senior Member
  • 245 posts

+5
Neutral

Posted 16 April 2012 - 17:58

Hey OpenPli team,

Enigma2 freezes when I zap to a DVB-C channel. Could you help me?

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Navigation.py", line 49, in dispatchEvent
  File "/usr/lib/enigma2/python/Components/PerServiceDisplay.py", line 17, in event
  File "/usr/lib/enigma2/python/Components/Sources/CurrentService.py", line 24, in serviceEvent
  File "/usr/lib/enigma2/python/Components/Element.py", line 86, in changed
  File "/usr/lib/enigma2/python/Tools/CList.py", line 7, in __call__
  File "/usr/lib/enigma2/python/Components/Converter/pliExpertInfo.py", line 164, in changed
  File "/usr/lib/enigma2/python/Components/Element.py", line 86, in changed
  File "/usr/lib/enigma2/python/Tools/CList.py", line 7, in __call__
  File "/usr/lib/enigma2/python/Components/Renderer/Label.py", line 21, in changed
  File "/usr/lib/enigma2/python/Components/Element.py", line 15, in wrapper
  File "/usr/lib/enigma2/python/Components/Converter/pliExpertInfo.py", line 76, in getText
  File "/usr/lib/enigma2/python/Tools/Transponder.py", line 64, in ConvertToHumanReadable
KeyError: 'modulation'
(PyObject_CallObject(<bound method Navigation.dispatchEvent of <Navigation.Navigation instance at 0x17005a8>>,(4,)) failed)


Re: Enigma2 freezes, dm500hd, sundtek usb #2 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 16 April 2012 - 22:01

Hopefully this is fix tomorrow.... As I cannot check it I'm not 100% sure .

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


Re: Enigma2 freezes, dm500hd, sundtek usb #3 atilaks

  • Senior Member
  • 245 posts

+5
Neutral

Posted 16 April 2012 - 22:25

Thanks. Modified Transponder.py from another thread solved my problem. However this is just a quick and dirty solution, so I hope sundtek will fix the problem soon.

Re: Enigma2 freezes, dm500hd, sundtek usb #4 atilaks

  • Senior Member
  • 245 posts

+5
Neutral

Posted 17 April 2012 - 08:32

Hi again,

Could you also take a look on pliExpertInfo.py (lines 78:96) and add some checks for frequency, symbolrate and fec_inner? When zapping to a dvb-c channel values are null and enigma2 crashes.

http://openpli.git.s...3a17d987e459dba

Thanks.

Re: Enigma2 freezes, dm500hd, sundtek usb #5 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 17 April 2012 - 11:29

So PliExtraInfo.py is fine now and pliExpertInfo.py is still "crashing"?.... please note pliExpertInfo.py is principally obsoleted.... it is only there for skins that do not adjust (yet) to PliExtraInfo.py....

In fact the issue is that the tuner is not returning the correct values as they are not fully DVBAPI 5 compatible.

Based on the structure of pliExpertInfo the easiest solution is to put a try/except structure around this code - or (better rewrite) to check the values for being having a value before doing a calculation.

But because I consider pliExptertInfo as obsoleted I would recommend to use a skin that does not use this anymore.

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


Re: Enigma2 freezes, dm500hd, sundtek usb #6 atilaks

  • Senior Member
  • 245 posts

+5
Neutral

Posted 17 April 2012 - 11:39

Yes, I switched to Holi's SimpleHD skin and pliExpertInfo was crashing, so I fixed pliExpertInfo by hand, just to get it to work.

I will ask Holi to update his skin.

Thanks.

Re: Enigma2 freezes, dm500hd, sundtek usb #7 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 17 April 2012 - 12:05

I would prefer these skins change to pliExtraInfo.... ;) ... Finally I can just remove pliExpertInfo...

Edited by littlesat, 17 April 2012 - 12:06.

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


Re: Enigma2 freezes, dm500hd, sundtek usb #8 atilaks

  • Senior Member
  • 245 posts

+5
Neutral

Posted 17 April 2012 - 13:08

agree, I asked Holi to switch to pliExtraInfo

Re: Enigma2 freezes, dm500hd, sundtek usb #9 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 17 April 2012 - 13:20

so I fixed pliExpertInfo by hand

Could you post your fix here?

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


Re: Enigma2 freezes, dm500hd, sundtek usb #10 atilaks

  • Senior Member
  • 245 posts

+5
Neutral

Posted 17 April 2012 - 20:34

Here you go.

Attached Files



Re: Enigma2 freezes, dm500hd, sundtek usb #11 sundtek

  • Senior Member
  • 170 posts

+8
Neutral

Posted 18 April 2012 - 17:56

In fact the issue is that the tuner is not returning the correct values as they are not fully DVBAPI 5 compatible.

Hi littleat,

Can you point out to which values are wrong?

Re: Enigma2 freezes, dm500hd, sundtek usb #12 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 18 April 2012 - 19:55

the problem is not that parameters are wrong, the driver returns no parameters at all (when using FE_GET_PROPERTY).

Re: Enigma2 freezes, dm500hd, sundtek usb #13 sundtek

  • Senior Member
  • 170 posts

+8
Neutral

Posted 19 April 2012 - 01:00

the problem is not that parameters are wrong, the driver returns no parameters at all (when using FE_GET_PROPERTY).


FE_GET_PROPERTY is fully supported with the driver, reading FEC, Delivery System etc. is no problem. Linux VDR and some Linux Applications are using it for a long time.
We've seen some issues with FE_GET_PROPERTY in the past with some vtuner/broadcom module versions, do you think that might be the issue?

our openpli buildsystem is ready so far. we'll have a look at overriding the dvb commands and submitting it directly to the driver soon.

Re: Enigma2 freezes, dm500hd, sundtek usb #14 sundtek

  • Senior Member
  • 170 posts

+8
Neutral

Posted 19 April 2012 - 02:21

As mentioned earlier already, we can give away some samples for E2 developers if there's some interest about it.

Re: Enigma2 freezes, dm500hd, sundtek usb #15 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 19 April 2012 - 08:42

The driver returns an invalid result on FE_GET_PROPERTY, so I think it does not even get forwarded to your code.
The dmm vtuner driver probably has no dvbapi5 support.

Re: Enigma2 freezes, dm500hd, sundtek usb #16 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 19 April 2012 - 10:02

So as work-a-round we should/could re-enable usbtunerhelper for the DMM boxes....:D

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


Re: Enigma2 freezes, dm500hd, sundtek usb #17 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 19 April 2012 - 10:12

no, that won't help

Re: Enigma2 freezes, dm500hd, sundtek usb #18 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 19 April 2012 - 10:12

:(

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


Re: Enigma2 freezes, dm500hd, sundtek usb #19 atilaks

  • Senior Member
  • 245 posts

+5
Neutral

Posted 19 April 2012 - 12:12

well, the device works like a charm, I can live without freq and fec on my screen until sundtek or dmm releases a new driver...

Re: Enigma2 freezes, dm500hd, sundtek usb #20 littlesat

  • PLi® Core member
  • 56,306 posts

+691
Excellent

Posted 19 April 2012 - 12:47

until sundtek or dmm releases a new driver...

Sundtek is not the issue here ;)

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



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users