Jump to content


Photo

ChannelSelection modifications


  • Please log in to reply
229 replies to this topic

Re: ChannelSelection modifications #201 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 2 December 2014 - 20:20

Thanks.

Better opkg download enigma2-src and take just the one I want....


Enigma is getting old....

 

Spoiler

Re: ChannelSelection modifications #202 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 2 December 2014 - 22:27

 

The refreshment could also be arranged. See how this is done with e.g. the picon on/off.... The list should be rebuilded...

 

OK. I'll take a look.

Thanks.

 

 

The refreshment doesn't work as desired.

In UsageConfig.py , I can do a refreshlist ( ....... .addNotifier(refreshServiceList) ) after changes, but it's not the desired action.

 

I'm in SAT list and I press 2x menu , then I change option value. Then When pressing OK, I don't get SAT list, but I get "refreshed" Services List.

So I think it's not possible to get back to SAT "refreshed" list, at least I don't really know how to do it.

 

After changing picons on/off, you really get Services List, take a look.


Enigma is getting old....

 

Spoiler

Re: ChannelSelection modifications #203 littlesat

  • PLi® Core member
  • 57,178 posts

+698
Excellent

Posted 3 December 2014 - 20:30

FYI:

 

http://sourceforge.n...9e5ddbb230329f/

 

And in addition I tried to avoid to make a real config for it...


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


Re: ChannelSelection modifications #204 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 3 December 2014 - 21:31

I have downloaded both files, and it doesn't work.

Perhaps I've done something wrong ?

I've replaced UsageConfig and ChannelSelection on their respective folders, and the line which I added to setup.xml  has been deleted , then restarted enigma.

Receiver even doesn't boot.


Enigma is getting old....

 

Spoiler

Re: ChannelSelection modifications #205 littlesat

  • PLi® Core member
  • 57,178 posts

+698
Excellent

Posted 4 December 2014 - 00:02

Wierd... as here it is working as a charm....... 

 

Do you have a crashlog?

 

I just added something else... Current Transponder is now on top of the list... and also Ter. and Cab. services.


Edited by littlesat, 4 December 2014 - 00:02.

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


Re: ChannelSelection modifications #206 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 4 December 2014 - 00:14

No I have not a crashlog because I don't see any Green Screen.

Enigma2 simply doesn't start.

 

/var/volatile/log/messages  file, contains that ending line....

 

Dec  4 00:10:36 et8000 daemon.info init: Id "gui" respawning too fast: disabled for 5 minutes


Enigma is getting old....

 

Spoiler

Re: ChannelSelection modifications #207 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 4 December 2014 - 00:26

i have tried to start enigma2 from telnet.

 

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/mytest.py", line 18, in <module>
    from Screens import InfoBar
  File "/usr/lib/enigma2/python/Screens/InfoBar.py", line 15, in <module>
  File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 1, in <module>
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 33, in <module>
    from Screens.Hotkey import InfoBarHotkey, hotkeyActionMap, getHotkeyFunctions
  File "/usr/lib/enigma2/python/Screens/Hotkey.py", line 7, in <module>
ImportError: cannot import name SimpleChannelSelection

Enigma is getting old....

 

Spoiler

Re: ChannelSelection modifications #208 littlesat

  • PLi® Core member
  • 57,178 posts

+698
Excellent

Posted 4 December 2014 - 00:32

I know this one... Mmmm... you need also upgrade Hotkey.py at least....  ;)

you're not running on the latest openPLi at this moment

 

Also this should generate a log file...


Edited by littlesat, 4 December 2014 - 00:33.

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


Re: ChannelSelection modifications #209 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 4 December 2014 - 00:43

you're not running on the latest openPLi at this moment

 

?????

 

Attached File  openpli_noupdates.jpg   34.09KB   3 downloads

 

 

I've updated manually hotkey.py, and now it works.  :)

Why hasn't been updated automatically ?


Enigma is getting old....

 

Spoiler

Re: ChannelSelection modifications #210 ims

  • PLi® Core member
  • 13,787 posts

+214
Excellent

Posted 4 December 2014 - 00:48

may be, you forgot there hotkey.py and because update is replacing .pyo files, then after restart gui was compiled old .py to .pyo again


Kdo nic nedělá, nic nezkazí!

Re: ChannelSelection modifications #211 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 4 December 2014 - 00:56

No, no, I had no Hotkey.py file in /usr/lib/enigma2/phyton/Screens folder.

 

I had only the pyo file, dated 17-11-2014

Anyway, it's fixed now .


Enigma is getting old....

 

Spoiler

Re: ChannelSelection modifications #212 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 4 December 2014 - 01:15

Oops !!!!!!

Green screen!!!

Open Any sat List, f.,i. Astra 19º , and the press MENU. It crashes !!!!!

 

action ->  ChannelSelectEditActions contextMenu
Screen <class 'Screens.ChannelSelection.ChannelContextMenu'>((<class 'Screens.ChannelSelection.ChannelSelection'>,), {}): <type 'exceptions.AttributeError'>
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/mytest.py", line 226, in create
    return screen(self, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 150, in __init__
    for p in plugins.getPlugins(PluginDescriptor.WHERE_CHANNEL_CONTEXT_MENU):
AttributeError: class PluginDescriptor has no attribute 'WHERE_CHANNEL_CONTEXT_MENU'
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 713, in action
    return ActionMap.action(self, contexts, action)
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 1110, in doContext
    self.session.openWithCallback(self.exitContext, ChannelContextMenu, self)
  File "/usr/lib/enigma2/python/mytest.py", line 294, in openWithCallback
    dlg = self.open(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/mytest.py", line 305, in open
    dlg.isTmp = True
AttributeError: 'NoneType' object has no attribute 'isTmp'
(PyObject_CallObject(<bound method ChannelSelectionEditActionMap.action of <Screens.ChannelSelection.ChannelSelectionEditActionMap instance at 0x1ab6eb8>>,('ChannelSelectEditActions', 'contextMenu')) failed)
getResolvedKey config.plugins.crashlogautosubmit.sendAnonCrashlog failed !! (Typo??)
getResolvedKey config.plugins.crashlogautosubmit.addNetwork failed !! (Typo??)
getResolvedKey config.plugins.crashlogautosubmit.addWlan failed !! (Typo??)

Edited by jpuigs, 4 December 2014 - 01:16.

Enigma is getting old....

 

Spoiler

Re: ChannelSelection modifications #213 littlesat

  • PLi® Core member
  • 57,178 posts

+698
Excellent

Posted 4 December 2014 - 07:54

You need more to be updated.... Your py files are extreme old...!!!

"'WHERE_CHANNEL_CONTEXT_MENU'" is also a recent new feature...


Edited by littlesat, 4 December 2014 - 07:54.

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


Re: ChannelSelection modifications #214 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 4 December 2014 - 09:55

...... OK, but as you see in previous post, my box is updated.(I do it every 4-5 days) and I have no py files which could overwrite pyo ones.

 

Which file is in this case suposed to be old ??

 

root@et8000:/usr/lib/enigma2/python/Components# ls -l
-rw-r--r--    1 root     root          8232 Nov 17 06:10 AVSwitch.pyo
-rw-r--r--    1 root     root          3598 Nov 17 06:10 About.pyo
-rw-r--r--    1 root     root          3882 Nov 17 06:10 ActionMap.pyo
-rw-r--r--    1 root     root          1089 Nov 17 06:10 BlinkingPixmap.pyo
-rw-r--r--    1 root     root          2451 Nov 17 06:10 Button.pyo
-rw-r--r--    1 root     root          2248 Nov 17 06:10 ChoiceList.pyo
-rw-r--r--    1 root     root          3682 Nov 17 06:10 ConditionalWidget.pyo
-rw-r--r--    1 root     root         14818 Nov 17 06:10 ConfigList.pyo
-rw-r--r--    1 root     root          3060 Nov 17 06:10 Console.pyo
drwxr-xr-x    2 root     root         12488 Nov 30 02:36 Converter
-rw-r--r--    1 root     root          1569 Nov 17 06:10 DiskInfo.pyo
-rw-r--r--    1 root     root          4504 Nov 17 06:10 Element.pyo
-rw-r--r--    1 root     root         16117 Nov 17 06:10 EpgList.pyo
-rw-r--r--    1 root     root          1495 Nov 17 06:10 FIFOList.pyo
-rw-r--r--    1 root     root          6201 Nov 17 06:10 FanControl.pyo
-rw-r--r--    1 root     root         14420 Nov 17 06:10 FileList.pyo
-rw-r--r--    1 root     root          5406 Nov 17 06:10 GUIComponent.pyo
-rw-r--r--    1 root     root          4655 Nov 17 06:10 GUISkin.pyo
-rw-r--r--    1 root     root           503 Nov 17 06:10 HTMLComponent.pyo
-rw-r--r--    1 root     root           784 Nov 17 06:10 HTMLSkin.pyo
-rw-r--r--    1 root     root         32495 Nov 17 06:10 Harddisk.pyo
-rw-r--r--    1 root     root         11246 Nov 17 06:10 HdmiCec.pyo
-rw-r--r--    1 root     root          3182 Nov 17 06:10 HelpMenuList.pyo
-rw-r--r--    1 root     root          9484 Nov 17 06:10 Input.pyo
-rw-r--r--    1 root     root         10032 Nov 17 06:10 InputDevice.pyo
-rw-r--r--    1 root     root          2059 Nov 17 06:10 InputHotplug.pyo
-rw-r--r--    1 root     root          7168 Nov 17 06:10 Ipkg.pyo
-rw-r--r--    1 root     root          2312 Nov 17 06:10 Keyboard.pyo
-rw-r--r--    1 root     root          4930 Nov 17 06:10 Label.pyo
-rw-r--r--    1 root     root          5838 Nov 17 06:10 Language.pyo
-rw-r--r--    1 root     root          4830 Nov 17 06:10 Lcd.pyo
-rw-r--r--    1 root     root          6316 Nov 17 06:10 MediaPlayer.pyo
-rw-r--r--    1 root     root          3721 Nov 17 06:10 MenuList.pyo
-rw-r--r--    1 root     root         28094 Nov 17 06:10 MovieList.pyo
-rw-r--r--    1 root     root          2701 Nov 17 06:10 MultiContent.pyo
-rw-r--r--    1 root     root          1238 Nov 17 06:10 Netlink.pyo
-rw-r--r--    1 root     root         27364 Nov 17 06:10 Network.pyo
-rw-r--r--    1 root     root         62484 Nov 17 06:10 NimManager.pyo
-rw-r--r--    1 root     root         14001 Nov 17 06:10 PackageInfo.pyo
-rw-r--r--    1 root     root         11430 Nov 17 06:10 ParentalControl.pyo
-rw-r--r--    1 root     root          2686 Nov 17 06:10 ParentalControlList.pyo
-rw-r--r--    1 root     root          3897 Nov 17 06:10 PerServiceDisplay.pyo
-rw-r--r--    1 root     root          5084 Nov 17 06:10 Pixmap.pyo
-rw-r--r--    1 root     root          5306 Nov 17 06:10 Playlist.pyo
-rw-r--r--    1 root     root          5805 Nov 17 06:10 PluginComponent.pyo
-rw-r--r--    1 root     root          2915 Nov 17 06:10 PluginList.pyo
-rw-r--r--    1 root     root          1507 Nov 17 06:10 ProgressBar.pyo
-rw-r--r--    1 root     root          4074 Nov 17 06:10 RFmod.pyo
-rw-r--r--    1 root     root          2115 Nov 17 06:10 RcModel.pyo
-rw-r--r--    1 root     root          1037 Nov 17 06:10 RecordingConfig.pyo
drwxr-xr-x    2 root     root          5976 Nov 21 03:23 Renderer
-rw-r--r--    1 root     root          1428 Nov 17 06:10 ResourceManager.pyo
-rw-r--r--    1 root     root          6941 Nov 17 06:10 Scanner.pyo
-rw-r--r--    1 root     root          5818 Nov 17 06:10 ScrollLabel.pyo
-rw-r--r--    1 root     root          3230 Nov 17 06:10 SelectionList.pyo
-rw-r--r--    1 root     root          3070 Nov 17 06:10 Sensors.pyo
-rw-r--r--    1 root     root          5183 Nov 17 06:10 ServiceEventTracker.pyo
-rw-r--r--    1 root     root         15673 Nov 17 06:10 ServiceList.pyo
-rw-r--r--    1 root     root          6854 Nov 17 06:10 ServicePosition.pyo
-rw-r--r--    1 root     root          8394 Nov 17 06:10 ServiceScan.pyo
-rw-r--r--    1 root     root          2046 Nov 17 06:10 SetupDevices.pyo
-rw-r--r--    1 root     root           995 Nov 17 06:10 Slider.pyo
drwxr-xr-x    2 root     root          1864 Nov 17 22:02 Sources
-rw-r--r--    1 root     root          2465 Nov 17 06:10 SystemInfo.pyo
-rw-r--r--    1 root     root         22311 Nov 17 06:10 Task.pyo
-rw-r--r--    1 root     root          6317 Nov 17 06:10 TimerList.pyo
-rw-r--r--    1 root     root          6859 Nov 17 06:10 TimerSanityCheck.pyo
-rw-r--r--    1 root     root          2263 Nov 17 06:10 Timezones.pyo
-rw-r--r--    1 root     root         10707 Nov 17 06:10 TuneTest.pyo
-rw-r--r--    1 root     root          4790 Nov 17 06:10 TunerInfo.pyo
-rw-r--r--    1 root     root         28795 Dec  4 01:19 UsageConfig.pyo
-rw-r--r--    1 root     root          1428 Nov 17 06:10 VariableText.pyo
-rw-r--r--    1 root     root          1267 Nov 17 06:10 VariableValue.pyo
-rw-r--r--    1 root     root          1041 Nov 17 06:10 VideoWindow.pyo
-rw-r--r--    1 root     root           956 Nov 17 06:10 VolumeBar.pyo
-rw-r--r--    1 root     root          3381 Nov 17 06:10 VolumeControl.pyo
-rw-r--r--    1 root     root           133 Nov 17 06:10 __init__.pyo
-rw-r--r--    1 root     root           135 Nov 17 06:10 components.pyo
-rw-r--r--    1 root     root         66433 Nov 17 06:10 config.pyo
-rw-r--r--    1 root     root          1755 Nov 17 06:10 opkg.pyo
root@et8000:/usr/lib/enigma2/python/Components#

 


Enigma is getting old....

 

Spoiler

Re: ChannelSelection modifications #215 littlesat

  • PLi® Core member
  • 57,178 posts

+698
Excellent

Posted 4 December 2014 - 13:19

Pyo's are from the 17th.... so not really updated..... ;)


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


Re: ChannelSelection modifications #216 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 4 December 2014 - 14:44

and..... apart from online updates which I do every 4-5 days, what I'm suposed to do to have those pyo 's updated ????

Aren't they updated online ?


Enigma is getting old....

 

Spoiler

Re: ChannelSelection modifications #217 littlesat

  • PLi® Core member
  • 57,178 posts

+698
Excellent

Posted 4 December 2014 - 14:52

I'm afraid that you need to reflash...


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


Re: ChannelSelection modifications #218 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 4 December 2014 - 15:06

If I do a opkg install enigma2-src, and after rebooting delete .py,  will solve this problem ?


Enigma is getting old....

 

Spoiler

Re: ChannelSelection modifications #219 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 4 December 2014 - 16:13

During our efforts to get the latest upstream-merge working, the package versions (in particular the automatic git revision count) have been set backwards.

As a result, opkg will not see the latest versions as updates to your current version.

 

You need to reflash, that's the only way to get the version numbers back in sync.

This can happen every once in a while, when something bad happens on our buildserver, and we have to setup a clean build environment.



Re: ChannelSelection modifications #220 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 4 December 2014 - 21:26

Just flashed (OpenPLi-4.0-beta-et8000-20141204_usb.zip)

Now it works fine....... but now if I do a software update it says 228 packages available !!!!!!

How is it possible ????, if I've just updated using last image.


Edited by jpuigs, 4 December 2014 - 21:26.

Enigma is getting old....

 

Spoiler


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users