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 1 of 2 12 LastLast
Results 1 to 15 of 21

Thread: ABM CustomMix Importer crashing

  1. #1
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts

    ABM CustomMix Importer crashing

    Hi I have just tried using ABM CustomMix Importer after reports of it crashing by @Willo3092 so I thought I would try it and im getting the same crash

    Code:
    <  2086.877> Traceback (most recent call last):
    <  2086.878>   File "/usr/lib/enigma2/python/Components/ActionMap.py", line 67, in action
    <  2086.878>   File "/usr/lib/enigma2/python/Components/ActionMap.py", line 48, in action
    <  2086.878>   File "/usr/lib/enigma2/python/Screens/Menu.py", line 59, in okbuttonClick
    <  2086.878>   File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 9, in __call__
    <  2086.878>   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/ABMCustomMixImporter/plugin.py", line 291, in ABMCustomMixImporterMain
    <  2086.878>     session.open(ABMCustomMixImporterScreen, 'ABMcustommiximporter', 'SystemPlugins/ABMCustomMixImporter', menu_path, PluginLanguageDomain)
    <  2086.878>   File "/usr/lib/enigma2/python/mytest.py", line 331, in open
    <  2086.879>     dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
    <  2086.879>   File "/usr/lib/enigma2/python/mytest.py", line 268, in instantiateDialog
    <  2086.879>     return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
    <  2086.879>   File "/usr/lib/enigma2/python/mytest.py", line 298, in doInstantiateDialog
    <  2086.879>     dlg.applySkin()
    <  2086.879>   File "/usr/lib/enigma2/python/Components/GUISkin.py", line 114, in applySkin
    <  2086.879>   File "/usr/lib/enigma2/python/Components/GUISkin.py", line 47, in createGUIScreen
    <  2086.879>   File "/usr/lib/enigma2/python/Screens/Setup.py", line 214, in layoutFinished
    <  2086.879> AttributeError: 'ABMCustomMixImporterScreen' object has no attribute 'setup_title'
    <  2086.880> [ePyObject] (CallObject(<bound method NumberActionMap.action of <Components.ActionMap.NumberActionMap instance at 0x9c475be8>>,('OkCancelActions', 'ok')) failed)
    I cant seem to work out why its crashing but I have noticed a few things that may or may not be the issue.

    Within the plugin.py
    Code:
    config.plugins.ABMImporter
    I noticed the old plugin has lowercase letters after plugins
    Code:
    config.plugins.dsayersImporter
    Also the same within setup.xml

    Code:
     <setup key="abmcustommiximporter" title="abm CustomMix Importer">
    Im not sure if abm should be capitial so
    Code:
     <setup key="abmcustommiximporter" title="ABM CustomMix Importer">
    I have tried changing these and it still gives the same crash so maybe I am wrong and it is something else.

    Attached is a full crash log I will try debug logs tomorrow
    Attached Files Attached Files
    Last edited by dsayers; 23-10-17 at 18:38.

  2. The Following User Says Thank You to dsayers For This Useful Post:

    Willo3092 (23-10-17)

  3. #2
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    I think this should fix it https://github.com/davesayers2014/oe...1a50372cbefdc0 I have made a pull request on GitHub for it to be looked at. Im not sure how the files have been mixed up apologies to those that have had the crash.

  4. The Following 3 Users Say Thank You to dsayers For This Useful Post:

    jawz (24-10-17),Sicilian (24-10-17),Willo3092 (24-10-17)

  5. #3
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,614
    Thanks
    2,006
    Thanked 4,947 Times in 3,269 Posts
    Are you getting anywhere with this? I see you closed the pull request.
    Help keep OpenViX servers online.Please donate!

  6. #4
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    Quote Originally Posted by Huevos View Post
    Are you getting anywhere with this? I see you closed the pull request.
    Sadly not the amendments shows the plugin but for some reason when pressing yellow to fetch file it says file not saved.

    I work 12 hour nights so it's hard to try and find time to sort it.

  7. #5
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,614
    Thanks
    2,006
    Thanked 4,947 Times in 3,269 Posts
    Ok, I'll leave it until Monday for a fix, if not I'm going to revert it.
    Help keep OpenViX servers online.Please donate!

  8. #6
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    Quote Originally Posted by Huevos View Post
    Ok, I'll leave it until Monday for a fix, if not I'm going to revert it.
    I have fixed it line 157 was with open(ABMpath + mixes[config.plugins.ABMImporter.mix.value]["provider"] it should have been lower case abm

    with open(ABMpath + mixes[config.plugins.abmImporter.mix.value]["provider"]

    If anyone wants to confirm this works here is the ABMCustomMixImporter folder in zip
    Attached Files Attached Files

  9. The Following 3 Users Say Thank You to dsayers For This Useful Post:

    Bangord30 (26-10-17),jawz (26-10-17),Willo3092 (26-10-17)

  10. #7

    Title
    Senior Member
    Join Date
    Aug 2016
    Location
    Ireland
    Posts
    112
    Thanks
    127
    Thanked 26 Times in 18 Posts
    dsayers, i can confirm the zip you provided works no problem

  11. The Following User Says Thank You to jawz For This Useful Post:

    dsayers (26-10-17)

  12. #8
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,614
    Thanks
    2,006
    Thanked 4,947 Times in 3,269 Posts
    Help keep OpenViX servers online.Please donate!

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

    dsayers (27-10-17)

  14. #9
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    Im probably going to far with this. I have been playing around with ABM about screen today and have managed to add recommended settings to the plugin but it can only fit a small amount of text.

    Recommended settings.jpg

    Is there a way to have it skip pages so we could have recommended settings for each CustomMix file on each page?

    I did try to look at how Auto Timers have added there faq.xml but thats above my knowledge.

    Just tinkering whilst im off
    Last edited by dsayers; 27-10-17 at 15:51.

  15. The Following 2 Users Say Thank You to dsayers For This Useful Post:

    Bangord30 (27-10-17),Willo3092 (27-10-17)

  16. #10
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,614
    Thanks
    2,006
    Thanked 4,947 Times in 3,269 Posts
    If you have a special text for the about screen put it in the xml file and read it from there. And then only show the preferred settings for the current provider.
    Help keep OpenViX servers online.Please donate!

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

    Willo3092 (27-10-17)

  18. #11
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    Quote Originally Posted by Huevos View Post
    If you have a special text for the about screen put it in the xml file and read it from there. And then only show the preferred settings for the current provider.
    I have just added this within the plugin.py

    Code:
    class ABMCustomMixImporterHelpScreen(Screen):
    	skin="""
    	<screen position="center,center" size="600,500">
    		<widget name="info" position="10,10" size="580,430" font="Regular;22"/>
    		<widget name="key_red" position="0,460" size="140,40" valign="center" halign="center" zPosition="5" transparent="1" foregroundColor="white" font="Regular;18"/>
    		<ePixmap name="red" pixmap="skin_default/buttons/red.png" position="0,460" size="140,40" zPosition="4" transparent="1" alphatest="on"/>
    	</screen>"""
    
    	def __init__(self, session):
    		self.session = session
    		Screen.__init__(self, session)
    		Screen.setTitle(self, _("ABMCustomMixImporter") + " - " + _("ProvidersSettings"))
    
    		self["info"] = Label("")
    		self["oealogo"] = Pixmap()
    
    		self["actions"] = ActionMap(["SetupActions", "ColorActions", "MenuActions"],
    		{
    			"red": self.quit,
    			"cancel": self.quit,
    			"menu": self.quit,
    		}, -2)
    
    		self["key_red"] = Button(_("Close"))
    		
    		info = "- Reccomended for Dsayers Virgin UK into Sky UK\n"
    		info += "- AutoBouquetsMaker, Configure 'not indexed' channels yes\n\n"
    		info += "- All providers need to be no apart from Sky UK and virgin UK needs to be yes\n"
    		info += "- Sky uk: area HD not custom or sd\n"
    		info += "-Generate bouquets yes (generate main bouquet optional)\n"
    		info += "-Channel swap to optional\n"
    		info += "-Virgin uk: yes\n"
    		info += "-Generate bouquets yes\n"
    		info += "-Virgin generate bouquets to no unless you use epgrefresh change to yes\n"
    		info += "-Channel swap to optional\n\n"
    		info += "-Providers order Sky UK on top\n"
    		self["info"].setText(info)
    		
    
    	def quit(self):
    		self.close()
    And def info button to access it. Ill have a play with it tomorrow
    Last edited by dsayers; 27-10-17 at 19:19.

  19. #12
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,614
    Thanks
    2,006
    Thanked 4,947 Times in 3,269 Posts
    No. If you have recommended settings import them from the xml file of the active provider.
    Help keep OpenViX servers online.Please donate!

  20. #13
    duoduo's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Feb 2013
    Location
    North West Seaside
    Posts
    2,006
    Thanks
    645
    Thanked 389 Times in 309 Posts
    Your plugin and disappeared from visibility in my menu since the last update pal?
    Vix image (usually latest) - VU Solo 4K- WD 1TB INTERNAL HDD - DVB-T Freeview, trialling IPTV options

    If my response has helped you, don't forget to hit the thanks button below. I appreciate you appreciate me

  21. #14
    dsayers's Avatar
    Title
    ViX Beta Tester
    Join Date
    Mar 2016
    Posts
    1,761
    Thanks
    473
    Thanked 607 Times in 433 Posts
    Quote Originally Posted by duoduo View Post
    Your plugin and disappeared from visibility in my menu since the last update pal?
    It has changed name to ABM CustomMix Importer, Im not sure how the update will work to latest version though as previous has errors as discussed in this thread

  22. #15
    duoduo's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Feb 2013
    Location
    North West Seaside
    Posts
    2,006
    Thanks
    645
    Thanked 389 Times in 309 Posts
    Don't even see that mate since I updated.
    Vix image (usually latest) - VU Solo 4K- WD 1TB INTERNAL HDD - DVB-T Freeview, trialling IPTV options

    If my response has helped you, don't forget to hit the thanks button below. I appreciate you appreciate me

Page 1 of 2 12 LastLast

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.