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 2 of 2 FirstFirst 12
Results 16 to 30 of 30

Thread: Sundtek control center python 3

  1. #16

    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    4,478
    Thanks
    446
    Thanked 1,071 Times in 911 Posts
    There's an even newer Version "20210221-2" add support automatic detection second tuner.

    No idea who it belongs to.


    Code:
    https://github.com/Dima73/enigma2-plugin-extensions-sundtekcontrolcenter/commit/108224e2cecc04c959c2d0ce3517091da08c0d92#diff-7c9a301e06b54bdce579a009028e5d86e9b9b11e8bb5d90fe83e0ec05c1cdffd

  2. #17
    dsayers's Avatar
    Title
    Senior Member
    Join Date
    Mar 2016
    Posts
    1,368
    Thanks
    387
    Thanked 504 Times in 353 Posts
    The urllib checks dont need adding I ran the py though a converter when I made the first post, it just uses import urllib.

    This time I manauly edited version on feeds I just edited the print statements.

    This seems to work for PY2/PY3 for me, What I did notice that it doesnt seem to detect remote driver version when choosing Install or Update sundtek Driver on PY3 it shows latest sundtek driver version: n/a but it does on PY2. It still downloads the driver.
    Attached Files Attached Files
    Last edited by dsayers; 07-06-21 at 15:59.

  3. #18
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    6,520
    Thanks
    814
    Thanked 2,295 Times in 1,752 Posts
    Quote Originally Posted by dsayers View Post
    The urllib checks dont need adding I ran the py though a converter when I made the first post, it just uses import urllib.

    This time I manauly edited version on feeds I just edited the print statements.

    This seems to work for PY2/PY3 for me, What I did notice that it doesnt seem to detect remote driver version when choosing Install or Update sundtek Driver on PY3 it shows latest sundtek driver version: n/a but it does on PY2. It still downloads the driver.
    Version is I think because you need to change it to string (six.ensure_str) from binary (after urlopen) with py3
    - that handles py2 & py3

    For some reason the version checking etc is repeated in 2 different sections of code -would be better to change it to a callable routine. Also the version info should be updated after a successful download.

    I updated your zipped version if you want to try, just let me know
    Last edited by twol; 07-06-21 at 18:04.
    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

  4. #19
    dsayers's Avatar
    Title
    Senior Member
    Join Date
    Mar 2016
    Posts
    1,368
    Thanks
    387
    Thanked 504 Times in 353 Posts
    Quote Originally Posted by twol View Post
    Version is I think because you need to change it to string (six.ensure_str) from binary (after urlopen) with py3
    - that handles py2 & py3

    For some reason the version checking etc is repeated in 2 different sections of code -would be better to change it to a callable routine. Also the version info should be updated after a successful download.

    I updated your zipped version if you want to try, just let me know
    I've gone back to vix 5.4.012. I only wanted to test custommix on ATV 6.5 py3 but I couldn't without sundtek control center plugin working. I'll leave it for sundtek to update.

    Upload it here if you want and I'll add a link to my support ticket for sundtek to check. Thanks
    Last edited by dsayers; 07-06-21 at 18:28.

  5. #20

    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    4,478
    Thanks
    446
    Thanked 1,071 Times in 911 Posts
    Quote Originally Posted by ccs View Post
    There's an even newer Version "20210221-2" add support automatic detection second tuner.

    No idea who it belongs to.


    Code:
    https://github.com/Dima73/enigma2-plugin-extensions-sundtekcontrolcenter/commit/108224e2cecc04c959c2d0ce3517091da08c0d92#diff-7c9a301e06b54bdce579a009028e5d86e9b9b11e8bb5d90fe83e0ec05c1cdffd
    Probably hidden away somewhere in here....

    Code:
    https://github.com/OpenPLi/openpli-oe-core/pull/876

  6. #21
    Huevos's Avatar
    Title
    Moderator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    10,157
    Thanks
    1,787
    Thanked 3,735 Times in 2,457 Posts
    Quote Originally Posted by dsayers View Post
    I've gone back to vix 5.4.012. I only wanted to test custommix on ATV 6.5 py3 but I couldn't without sundtek control center plugin working. I'll leave it for sundtek to update.

    Upload it here if you want and I'll add a link to my support ticket for sundtek to check. Thanks
    Is there any sign of Sundtek fixing this.

  7. #22
    dsayers's Avatar
    Title
    Senior Member
    Join Date
    Mar 2016
    Posts
    1,368
    Thanks
    387
    Thanked 504 Times in 353 Posts
    Quote Originally Posted by Huevos View Post
    Is there any sign of Sundtek fixing this.
    I haven't had a reply back to my ticket. Last week they said they was busy with something else and said they will check Tuesday

  8. #23
    dsayers's Avatar
    Title
    Senior Member
    Join Date
    Mar 2016
    Posts
    1,368
    Thanks
    387
    Thanked 504 Times in 353 Posts
    Quote Originally Posted by twol View Post
    Version is I think because you need to change it to string (six.ensure_str) from binary (after urlopen) with py3
    - that handles py2 & py3

    For some reason the version checking etc is repeated in 2 different sections of code -would be better to change it to a callable routine. Also the version info should be updated after a successful download.

    I updated your zipped version if you want to try, just let me know
    Hi I'm testing python 3 openvix image if you still have it can you post your updated version or pm me it please?

    My version seems to crash on vix
    Code:
    <   277.0768> Traceback (most recent call last):
    <   277.0768>   File "/usr/lib/enigma2/python/StartEnigma.py", line 252, in processDelay
    <   277.0775>     callback(*retval)
    <   277.0775>   File "/usr/lib/enigma2/python/Plugins/Extensions/SundtekControlCenter/SundtekControlCenter.py", line 556, in thismenuCallback
    <   277.0786>     ret and ret[1]()
    <   277.0786>   File "/usr/lib/enigma2/python/Plugins/Extensions/SundtekControlCenter/SundtekControlCenter.py", line 848, in checkdriverversion
    <   277.0799>     self.session.openWithCallback(self.disclaimer, MessageBox, _("latest sundtek driver version:\n")+netdriver+"\n"+_("\nyour driver version:\n")+installeddriver+_("\nUpdate to current sundtek driver version?"), MessageBox.TYPE_YESNO)
    <   277.0799>   File "/usr/lib/enigma2/python/StartEnigma.py", line 332, in openWithCallback
    <   277.0805>     dlg = self.open(screen, *arguments, **kwargs)
    <   277.0805>   File "/usr/lib/enigma2/python/StartEnigma.py", line 342, in open
    <   277.0811>     dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
    <   277.0811>   File "/usr/lib/enigma2/python/StartEnigma.py", line 279, in instantiateDialog
    <   277.0815>     return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
    <   277.0816>   File "/usr/lib/enigma2/python/StartEnigma.py", line 309, in doInstantiateDialog
    <   277.0820>     dlg.applySkin()
    <   277.0821>   File "/usr/lib/enigma2/python/Screens/Screen.py", line 246, in applySkin
    <   277.0825>     self.createGUIScreen(self.instance, self.desktop)
    <   277.0826>   File "/usr/lib/enigma2/python/Screens/Screen.py", line 274, in createGUIScreen
    <   277.0830>     exec(f, globals(), locals())  # Python 3
    <   277.0830>   File "skin applet", line 49, in <module>
    <   277.0833>   File "/usr/lib/enigma2/python/enigma.py", line 1211, in __init__
    <   277.0850>     _enigma.ePoint_swiginit(self, _enigma.new_ePoint(*args))
    <   277.0851> TypeError: in method 'new_ePoint', argument 1 of type 'int'
    Additional information:
    Wrong number or type of arguments for overloaded function 'new_ePoint'.
      Possible C/C++ prototypes are:
        ePoint::ePoint()
        ePoint::ePoint(int,int)
    <   277.0851> 
    <   277.0852> [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session object at 0xb0a57f28>>,()) failed)
    Edit this seems to crash on various screens including image manager then choosing a backup

    I think this was a skin error using default skin seems ok
    Last edited by dsayers; 20-06-21 at 10:04.

  9. #24
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    6,520
    Thanks
    814
    Thanked 2,295 Times in 1,752 Posts
    I will have to look not sure if I kept my updated version… can you post me the version you are currently using - either I will update or if I find the other will run a compare and post back

    ..or are using code in post #17?
    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. #25
    dsayers's Avatar
    Title
    Senior Member
    Join Date
    Mar 2016
    Posts
    1,368
    Thanks
    387
    Thanked 504 Times in 353 Posts
    Quote Originally Posted by twol View Post
    I will have to look not sure if I kept my updated version… can you post me the version you are currently using - either I will update or if I find the other will run a compare and post back

    ..or are using code in post #17?
    It was this version https://www.world-of-satellite.com/s...l=1#post514446 the crash is a skin issue

  11. #26
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    6,520
    Thanks
    814
    Thanked 2,295 Times in 1,752 Posts
    Quote Originally Posted by dsayers View Post
    Hi I'm testing python 3 openvix image if you still have it can you post your updated version or pm me it please?

    My version seems to crash on vix
    Code:
    <   277.0768> Traceback (most recent call last):
    <   277.0768>   File "/usr/lib/enigma2/python/StartEnigma.py", line 252, in processDelay
    <   277.0775>     callback(*retval)
    <   277.0775>   File "/usr/lib/enigma2/python/Plugins/Extensions/SundtekControlCenter/SundtekControlCenter.py", line 556, in thismenuCallback
    <   277.0786>     ret and ret[1]()
    <   277.0786>   File "/usr/lib/enigma2/python/Plugins/Extensions/SundtekControlCenter/SundtekControlCenter.py", line 848, in checkdriverversion
    <   277.0799>     self.session.openWithCallback(self.disclaimer, MessageBox, _("latest sundtek driver version:\n")+netdriver+"\n"+_("\nyour driver version:\n")+installeddriver+_("\nUpdate to current sundtek driver version?"), MessageBox.TYPE_YESNO)
    <   277.0799>   File "/usr/lib/enigma2/python/StartEnigma.py", line 332, in openWithCallback
    <   277.0805>     dlg = self.open(screen, *arguments, **kwargs)
    <   277.0805>   File "/usr/lib/enigma2/python/StartEnigma.py", line 342, in open
    <   277.0811>     dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
    <   277.0811>   File "/usr/lib/enigma2/python/StartEnigma.py", line 279, in instantiateDialog
    <   277.0815>     return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
    <   277.0816>   File "/usr/lib/enigma2/python/StartEnigma.py", line 309, in doInstantiateDialog
    <   277.0820>     dlg.applySkin()
    <   277.0821>   File "/usr/lib/enigma2/python/Screens/Screen.py", line 246, in applySkin
    <   277.0825>     self.createGUIScreen(self.instance, self.desktop)
    <   277.0826>   File "/usr/lib/enigma2/python/Screens/Screen.py", line 274, in createGUIScreen
    <   277.0830>     exec(f, globals(), locals())  # Python 3
    <   277.0830>   File "skin applet", line 49, in <module>
    <   277.0833>   File "/usr/lib/enigma2/python/enigma.py", line 1211, in __init__
    <   277.0850>     _enigma.ePoint_swiginit(self, _enigma.new_ePoint(*args))
    <   277.0851> TypeError: in method 'new_ePoint', argument 1 of type 'int'
    Additional information:
    Wrong number or type of arguments for overloaded function 'new_ePoint'.
      Possible C/C++ prototypes are:
        ePoint::ePoint()
        ePoint::ePoint(int,int)
    <   277.0851> 
    <   277.0852> [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session object at 0xb0a57f28>>,()) failed)
    Edit this seems to crash on various screens including image manager then choosing a backup

    I think this was a skin error using default skin seems ok
    So which skin? .. and which py3 image version are you using that looks like an old skin issue if 1080

    Sundtek .... try this ....
    Attached Files Attached Files
    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

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

    dsayers (20-06-21)

  13. #27
    dsayers's Avatar
    Title
    Senior Member
    Join Date
    Mar 2016
    Posts
    1,368
    Thanks
    387
    Thanked 504 Times in 353 Posts
    It was vskin 1080 it crashed on various yes/no screens I'll report it to KiddaC as he hasn't updated that skin for a while.

    The py3 version is the vix test version on forum

    For the SundtekControlCenter.py it has a tab/spacing error on line 803. I'll have a look when I get the laptop on. Thanks

  14. #28
    dsayers's Avatar
    Title
    Senior Member
    Join Date
    Mar 2016
    Posts
    1,368
    Thanks
    387
    Thanked 504 Times in 353 Posts
    Quote Originally Posted by twol View Post

    Sundtek .... try this ....

    That solved the Sundtek driver remote version I just needed to edit line 803. thanks.

  15. #29
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    6,520
    Thanks
    814
    Thanked 2,295 Times in 1,752 Posts
    Quote Originally Posted by dsayers View Post
    It was vskin 1080 it crashed on various yes/no screens I'll report it to KiddaC as he hasn't updated that skin for a while.

    The py3 version is the vix test version on forum

    For the SundtekControlCenter.py it has a tab/spacing error on line 803. I'll have a look when I get the laptop on. Thanks
    update ...##### tabs!
    Attached Files Attached Files
    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

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

    dsayers (20-06-21)

  17. #30
    dsayers's Avatar
    Title
    Senior Member
    Join Date
    Mar 2016
    Posts
    1,368
    Thanks
    387
    Thanked 504 Times in 353 Posts
    Quote Originally Posted by twol View Post
    update ...##### tabs!
    That worked. Thanks

Page 2 of 2 FirstFirst 12

Tags for this Thread

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.