Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 60 of 60 FirstFirst ... 1050585960
Results 886 to 900 of 900

Thread: Testers required for OpenViX Python 3 images

  1. #886
    BefuddledBrian's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2020
    Location
    near Reading, England
    Posts
    507
    Thanks
    359
    Thanked 67 Times in 56 Posts
    Quote Originally Posted by ccs View Post
    epgcache.cpp appears to process those characters in a couple of places as well...

    Code:
    https://github.com/OpenViX/enigma2/blob/ea04c8fd3743ee345c5e0dd026a080485512c91b/lib/dvb/epgcache.cpp#L1766
    
    https://github.com/OpenViX/enigma2/blob/ea04c8fd3743ee345c5e0dd026a080485512c91b/lib/dvb/epgcache.cpp#L2561
    I think those remove the control characters if they are in the name of the channel.

    But maybe they show a slightly neater way of doing it than using replace_all.

    it's also not clear to me if these methods are properly aware of character boundaries. There are no comments saying what each routine does.

    replace_all looks complicated so I guess it probably is aware of character boundaries, I haven't looked closely at what epgcache does yet.
    Last edited by BefuddledBrian; 25-10-21 at 15:06.
    Zgemma H7S 2x28.2E, 1xFreeview

  2. #887
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    4,901
    Thanks
    497
    Thanked 1,152 Times in 982 Posts
    Quote Originally Posted by BefuddledBrian View Post
    I think those remove the control characters if they are in the name of the channel.
    Yes, it just looked like a more likely place to remove them from titles/descriptions or whatever.

  3. #888
    BefuddledBrian's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2020
    Location
    near Reading, England
    Posts
    507
    Thanks
    359
    Thanked 67 Times in 56 Posts
    Quote Originally Posted by BefuddledBrian View Post
    it's also not clear to me if these methods are properly aware of character boundaries. There are no comments saying what each routine does.

    replace_all looks complicated so I guess it probably is aware of character boundaries, I haven't looked closely at what epgcache does yet.
    Apparently UTF-8 is self synchronising. I didn't know that.
    Zgemma H7S 2x28.2E, 1xFreeview

  4. #889
    Huevos's Avatar
    Title
    Moderator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    10,577
    Thanks
    1,817
    Thanked 3,892 Times in 2,567 Posts
    Quote Originally Posted by BefuddledBrian View Post
    I'm thinking that the end of convertDVBUTF8 in estring.cpp would be the place to remove these characters.

    Code:
    	// replace EIT CR/LF with standard newline:
    	output = replace_all(replace_all(output, "\xC2\x8A", "\n"), "\xEE\x82\x8A", "\n");
    	return output;
    could become
    Code:
    	// replace EIT CR/LF with standard newline:
    	output = replace_all(replace_all(output, "\xC2\x8A", "\n"), "\xEE\x82\x8A", "\n");
    
    	// remove character emphasis control characters:
    	output = replace_all(replace_all(replace_all(replace_all(output, "\xC2\x86", ""), "\xEE\xC2\x86", ""), "\xC2\x87", ""), "\xEE\xC2\x87", "");
    	
    	return output;
    It'd mess up existing autotimers where the strings in the timers included the control characters.

    Any thoughts anyone?
    Binary attached (arm) with your mod.
    Attached Files Attached Files

  5. The Following User Says Thank You to Huevos For This Useful Post:

    BefuddledBrian (25-10-21)

  6. #890
    BefuddledBrian's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2020
    Location
    near Reading, England
    Posts
    507
    Thanks
    359
    Thanked 67 Times in 56 Posts

    Post

    Quote Originally Posted by Huevos View Post
    Binary attached (arm) with your mod.
    I think it's working (but see correction below) but the front panel 7 segment display on my Zgemma H7S is freezing on -99- or -00- as soon as the boot sequence completes.

    Also I made a stupid mistake copying the codes from the ETSI document. It should be:

    Code:
    	// replace EIT CR/LF with standard newline:
    	output = replace_all(replace_all(output, "\xC2\x8A", "\n"), "\xEE\x82\x8A", "\n");
    
    	// remove character emphasis control characters:
    	output = replace_all(replace_all(replace_all(replace_all(output, "\xC2\x86", ""), "\xEE\x82\x86", ""), "\xC2\x87", ""), "\xEE\x82\x87", "");
    	
    	return output;
    Zgemma H7S 2x28.2E, 1xFreeview

  7. #891
    Huevos's Avatar
    Title
    Moderator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    10,577
    Thanks
    1,817
    Thanked 3,892 Times in 2,567 Posts
    Quote Originally Posted by BefuddledBrian View Post
    I think it's working (but see correction below) but the front panel 7 segment display on my Zgemma H7S is freezing on -99- or -00- as soon as the boot sequence completes.

    Also I made a stupid mistake copying the codes from the ETSI document. It should be:

    Code:
    	// replace EIT CR/LF with standard newline:
    	output = replace_all(replace_all(output, "\xC2\x8A", "\n"), "\xEE\x82\x8A", "\n");
    
    	// remove character emphasis control characters:
    	output = replace_all(replace_all(replace_all(replace_all(output, "\xC2\x86", ""), "\xEE\x82\x86", ""), "\xC2\x87", ""), "\xEE\x82\x87", "");
    	
    	return output;
    Try again
    Attached Files Attached Files

  8. The Following User Says Thank You to Huevos For This Useful Post:

    BefuddledBrian (26-10-21)

  9. #892
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    6,826
    Thanks
    851
    Thanked 2,420 Times in 1,852 Posts
    Quote Originally Posted by BefuddledBrian View Post
    I think it's working (but see correction below) but the front panel 7 segment display on my Zgemma H7S is freezing on -99- or -00- as soon as the boot sequence completes.

    Also I made a stupid mistake copying the codes from the ETSI document. It should be:

    Code:
    	// replace EIT CR/LF with standard newline:
    	output = replace_all(replace_all(output, "\xC2\x8A", "\n"), "\xEE\x82\x8A", "\n");
    
    	// remove character emphasis control characters:
    	output = replace_all(replace_all(replace_all(replace_all(output, "\xC2\x86", ""), "\xEE\x82\x86", ""), "\xC2\x87", ""), "\xEE\x82\x87", "");
    	
    	return output;
    Anything in debug log that would indicate why its frozen?
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  10. #893
    thedoc11's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Mar 2011
    Location
    Bolton
    Posts
    92
    Thanks
    11
    Thanked 13 Times in 11 Posts
    Hi could i please test this image python 3 please would be more than happy to test
    Thedoc
    VU+ Duo 4K SE
    Zone 2 dish 60cm
    Gigablue LNB Unicable SCR 2 legacy 5.4 (release)
    Positioned to 28.2E

  11. #894
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    4,901
    Thanks
    497
    Thanked 1,152 Times in 982 Posts
    Quote Originally Posted by Huevos View Post
    Try again
    Does this (enigma2) only apply to the H7, or is it ok to try on any arm box?

  12. #895
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    6,826
    Thanks
    851
    Thanked 2,420 Times in 1,852 Posts
    Quote Originally Posted by ccs View Post
    Does this (enigma2) only apply to the H7, or is it ok to try on any arm box?
    should work on any arm box (not hisilicon) ... but backup beforehand
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  13. The Following User Says Thank You to twol For This Useful Post:

    ccs (26-10-21)

  14. #896
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    4,901
    Thanks
    497
    Thanked 1,152 Times in 982 Posts
    Quote Originally Posted by twol View Post
    should work on any arm box (not hisilicon) ... but backup beforehand
    No harm done so far, nothing obvious at any rate, just re-populating the epg at the moment.

    NB Freeview only.

    Wasn't seeing these yesterday.....

    Code:
    13:33:41.8993 [eServiceReference] May be unencoded URL: BBC ONE Yk&Li
    13:33:41.8993 [eServiceReference] find old format eServiceReference string
    13:33:41.8994 [eServiceReference] May be unencoded URL: BBC TWO
    13:33:41.8994 [eServiceReference] find old format eServiceReference string
    13:33:41.8996 [eServiceReference] May be unencoded URL: ITV
    13:33:41.8996 [eServiceReference] find old format eServiceReference string
    13:33:41.8997 [eServiceReference] May be unencoded URL: Channel 4
    13:33:41.8997 [eServiceReference] find old format eServiceReference string
    13:33:41.8998 [eServiceReference] May be unencoded URL: Channel 5
    13:33:41.8999 [eServiceReference] find old format eServiceReference string
    Last edited by ccs; 26-10-21 at 13:44.

  15. #897
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    4,901
    Thanks
    497
    Thanked 1,152 Times in 982 Posts
    Quote Originally Posted by ccs View Post

    Wasn't seeing these yesterday.....

    Code:
    13:33:41.8993 [eServiceReference] May be unencoded URL: BBC ONE Yk&Li
    13:33:41.8993 [eServiceReference] find old format eServiceReference string
    13:33:41.8994 [eServiceReference] May be unencoded URL: BBC TWO
    13:33:41.8994 [eServiceReference] find old format eServiceReference string
    13:33:41.8996 [eServiceReference] May be unencoded URL: ITV
    13:33:41.8996 [eServiceReference] find old format eServiceReference string
    13:33:41.8997 [eServiceReference] May be unencoded URL: Channel 4
    13:33:41.8997 [eServiceReference] find old format eServiceReference string
    13:33:41.8998 [eServiceReference] May be unencoded URL: Channel 5
    13:33:41.8999 [eServiceReference] find old format eServiceReference string
    Maybe they only show after deleting epg.dat, no more are appearing after a reboot.

    Answer is yes, checked by going back to the original enigma2.
    Last edited by ccs; 26-10-21 at 14:32.

  16. #898
    BefuddledBrian's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2020
    Location
    near Reading, England
    Posts
    507
    Thanks
    359
    Thanked 67 Times in 56 Posts
    Quote Originally Posted by twol View Post
    Anything in debug log that would indicate why its frozen?
    I don't know.

    From latest enigma2 provided by Huevos:
    Enigma2_debug_2021-10-26_14-51-37.log



    It's dimming when I go to standby as usual but just shows -00- all the time rather than showing the time or channel number.
    Zgemma H7S 2x28.2E, 1xFreeview

  17. #899
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    4,901
    Thanks
    497
    Thanked 1,152 Times in 982 Posts
    Maybe this......

    Code:
    < 61.4773> 14:52:13.9289 [eDVBResourceManager] start release channel timer
    < 61.5450> 14:52:13.9966 [Skin] Processing screen 'Standby', position=(0, 0), size=(1920 x 1080) for module 'Standby'.
    < 61.5507> 14:52:14.0022 [Skin] Processing screen 'StandbySummary' from list 'StandbySummary, ScreenSummary, Standby_summary, SimpleSummary', position=(0, 0), size=(1 x 1) for module 'StandbySummary'.
    < 61.5522> 14:52:14.0038 [Skin] Error in screen 'StandbySummary', AttributeError: 'CurrentService' object has no attribute 'boolean'!
    < 61.5583> 14:52:14.0098 Traceback (most recent call last):
    < 61.5586> 14:52:14.0101 File "/usr/lib/enigma2/python/skin.py", line 1310, in readSkin
    processScreen(myScreen, context)
    < 61.5586> 14:52:14.0102 File "/usr/lib/enigma2/python/skin.py", line 1266, in processScreen
    p(w, context)
    < 61.5587> 14:52:14.0102 File "/usr/lib/enigma2/python/skin.py", line 1218, in processWidget
    c.connect(source)
    < 61.5587> 14:52:14.0102 File "/usr/lib/enigma2/python/Components/Element.py", line 61, in connect
    self.connectUpstream(upstream)
    < 61.5588> 14:52:14.0103 File "/usr/lib/enigma2/python/Components/Element.py", line 58, in connectUpstream
    self.changed((self.CHANGED_DEFAULT,))
    < 61.5588> 14:52:14.0103 File "/usr/lib/enigma2/python/Components/Converter/ConditionalShowHide.py", line 49, in changed
    vis = self.calcVisibility()
    < 61.5588> 14:52:14.0104 File "/usr/lib/enigma2/python/Components/Converter/ConditionalShowHide.py", line 42, in calcVisibility
    b = self.source.boolean
    < 61.5589> 14:52:14.0104 File "/usr/lib/enigma2/python/Components/Element.py", line 16, in wrapper
    return f(self)
    < 61.5589> 14:52:14.0104 File "/usr/lib/enigma2/python/Components/Converter/ConfigEntryTest.py", line 48, in getBoolean
    if self.checkSourceBoolean and not self.source.boolean:
    < 61.5590> 14:52:14.0106 AttributeError: 'CurrentService' object has no attribute 'boolean'
    < 61.5606> 14:52:14.0122 [eDboxLCD] setLCDBrightness 25
    < 61.8499> 14:52:14.3014 [eEPGChannelData] abort non avail schedule reading
    < 61.8506> 14:52:14.3021 [eEPGChannelData] abort non avail schedule other reading
    < 62.0236> 14:52:14.4751 [eEPGChannelData] nownext finished(1635256334)
    < 62.0238> 14:52:14.4753 [eEPGChannelData] stop caching events(1635256334)
    < 62.0239> 14:52:14.4754 [eEPGChannelData] next update in 60 min
    < 63.4578> 14:52:15.9094 [DVBCAHandler] no more services
    < 64.4774> 14:52:16.9289 [eDVBResourceManager] release cached channel (timer timeout)
    < 64.4775> 14:52:16.9290 [eDVBLocalTimerHandler] remove channel 0x724698
    < 64.4775> 14:52:16.9291 [eEPGTransponderDataReader] remove channel 0x724698
    < 64.4781> 14:52:16.9296 [eDVBResourceManager] stop release channel timer
    Standby not causing me any issues on the lcd.
    Last edited by ccs; 26-10-21 at 15:48.

  18. #900
    Huevos's Avatar
    Title
    Moderator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    10,577
    Thanks
    1,817
    Thanked 3,892 Times in 2,567 Posts
    Quote Originally Posted by ccs View Post
    Does this (enigma2) only apply to the H7, or is it ok to try on any arm box?
    That binary is from my Vu Ultimo 4k build.

  19. The Following User Says Thank You to Huevos For This Useful Post:

    BefuddledBrian (26-10-21)

Page 60 of 60 FirstFirst ... 1050585960

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.