PDA

View Full Version : [ViX_Misc] Enigma2 crash on Information->Service page (yellow and blue)



birdman
22-04-15, 22:40
Juts noticed this. It used to work OK.

Information -> Service.

Pressing either yellow (== Multiplex) or blue (==Tuner status) crashes the GUI. The reason is the same in both cases.


File "/usr/lib/enigma2/python/Screens/ServiceInfo.py", line 248, in getFEDataNameError: global name 'channelnumbers' is not defined

which is true - channelnumbers is used, but never declared.

(I have the full logs, but that's all that seems relevant).

This is for a system with dual DVB-T2 tuners.

PS: Looks like commit e2efa27525ba0dc2e0268a4a2ae3e385e8d06d0a on 18 March 2015 changed one use of channelnumbers.getChannelNumber to just getChannelNumber, but missed the fact that channelnumbers.getChannelNumber and channelnumbers.supportedChannels are both used in a statement a few lines earlier. It's in a clause specific to DVB-T tuners.

NOTE: that there also seems to be a commit (7faca977fa376494e0587f9b9db101932b727c61) to remove lib/python/Components/Converter/ChannelNumbers.py completely - also on 18 March. I say "seems" as it's still in my git repository...

rossi2000
22-04-15, 23:10
https://github.com/OpenViX/enigma2/commit/b831ad2eb734f54514757d1f51d11c1b754f2e23

should be fixed here

birdman
23-04-15, 00:14
https://github.com/OpenViX/enigma2/commit/b831ad2eb734f54514757d1f51d11c1b754f2e23

should be fixed hereProbably.
I'd already set most of that up to check and have just tried it (as a recording finished).
I now got a complaint about
ValueError: invalid literal for int() with base 10: '474 MHz'but I see that what you have quoted adds a handler for that too.

birdman
23-04-15, 00:19
Yes - that's fixed it (for me at least...).

Thanks...