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 19

Thread: favourites.xml not working in python 3 images

  1. #1
    Willo3092's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    656
    Thanks
    583
    Thanked 272 Times in 201 Posts

    favourites.xml not working in python 3 images

    I originally posted this in the ViX python 3 testers required thread but didn't get it working.
    I have tested on ViX 5.5 and on OpenATV 7.0 and cannot generate a bouquet with ABM from a favourites.xml with a python 3 image.
    All works fine on any python 2 image (ViX, ATV, Pli).

    abm.log

    favourites.xml

    BBC One E Mid_20210726140358.jpg

  2. #2
    Huevos's Avatar
    Title
    Moderator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    10,485
    Thanks
    1,809
    Thanked 3,855 Times in 2,539 Posts
    Can you check CustomMix works and I will look into this.

    Strange, because my favorites works.

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

    Willo3092 (29-08-21)

  4. #3
    Willo3092's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    656
    Thanks
    583
    Thanked 272 Times in 201 Posts
    Isn't custommix just a method of swapping channels from one bouquet to another? I haven't really used it for years.
    I like favourites.xml because it creates customisable bouquets that are totally separate from the standard ones that ABM creates.
    I just wondered if the xml file needs to be in a different format with py3.
    Maybe if you can upload your working favourites.xml I can try it on my box?

  5. #4
    Willo3092's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    656
    Thanks
    583
    Thanked 272 Times in 201 Posts
    Quote Originally Posted by Huevos View Post
    Can you check CustomMix works and I will look into this.

    I just made a slight edit to sd_sat_282_sky_uk_CustomLCN if that's the same thing?

    I swapped BBC1 and BBC2 over and that worked fine.

    I may have done the sat_282_sky_uk_CustomMix.xml wrong. I put a few deletes in that worked okay but couldn't move channels about.

  6. #5
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    3,290
    Thanks
    1,034
    Thanked 908 Times in 715 Posts
    Does it make a difference if the line endings are MS-DOS rather than unix? The favourites.xml file you posted has DOS line endings (0D0A).
    GB Quad Plus, Mut@nt HD51, AX HD61, 80cm dish and Supreme Dark motor. Sony STR-DN 1060, Sony UHP-H1 Bluray, Odroid N2+ (CoreElec), Monitor Audio Bronze 5.1 speakers

  7. The Following User Says Thank You to Joe_90 For This Useful Post:

    Willo3092 (29-08-21)

  8. #6
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    4,810
    Thanks
    484
    Thanked 1,129 Times in 962 Posts
    Quote Originally Posted by Joe_90 View Post
    Does it make a difference if the line endings are MS-DOS rather than unix? The favourites.xml file you posted has DOS line endings (0D0A).
    ... more than likely I'd have thought.

  9. #7
    Willo3092's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    656
    Thanks
    583
    Thanked 272 Times in 201 Posts
    Quote Originally Posted by Joe_90 View Post
    Does it make a difference if the line endings are MS-DOS rather than unix? The favourites.xml file you posted has DOS line endings (0D0A).
    I have just used the EOL Converter in Notepad++ and changed it to Unix and it still doesn't work. It works fine in ViX 5.4 though.
    Some of the files I uploaded were from the previous thread. This is the one I'm currently trying to get working:

    favourites.xml

  10. #8
    BefuddledBrian's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2020
    Location
    near Reading, England
    Posts
    481
    Thanks
    343
    Thanked 63 Times in 53 Posts

    Lightbulb

    Quote Originally Posted by Willo3092 View Post
    I have just used the EOL Converter in Notepad++ and changed it to Unix and it still doesn't work. It works fine in ViX 5.4 though.
    Some of the files I uploaded were from the previous thread. This is the one I'm currently trying to get working:

    favourites.xml
    The log file attached to message 1 suggests ABM is looking for favorite.xml rather than favourites.xml.
    Zgemma H7S 2x28.2E, 1xFreeview

  11. The Following 2 Users Say Thank You to BefuddledBrian For This Useful Post:

    ccs (29-08-21),Willo3092 (29-08-21)

  12. #9
    Willo3092's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    656
    Thanks
    583
    Thanked 272 Times in 201 Posts
    Quote Originally Posted by BefuddledBrian View Post
    The log file attached to message 1 suggests ABM is looking for favorite.xml rather than favourites.xml.
    I went through this on the last thread though and makes no difference.
    I renamed favourites.xml to favorites.xml, favorite.xml and favourite.xml and none of them made a difference.

    I have just compared the ABM scanner folders on machines running OpenATV 7.0 and ViX 5.4 (where the same favourites.xml works) and none of the py files on OpenATV 7.0 are compiled

    2021-08-29_175217.jpg

  13. #10
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    4,810
    Thanks
    484
    Thanked 1,129 Times in 962 Posts
    .... A bit difficult to read, but p3 .py files are compiled into the folder "__pycache__"
    Last edited by ccs; 29-08-21 at 18:00.

  14. The Following User Says Thank You to ccs For This Useful Post:

    Willo3092 (29-08-21)

  15. #11
    Willo3092's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    656
    Thanks
    583
    Thanked 272 Times in 201 Posts
    Quote Originally Posted by ccs View Post
    .... A bit difficult to read, but p3 .py files are compiled into the folder "_pycache_"
    As one door closes another one shuts! I was hoping that I was getting somewhere!

    I stopped testing the ViX 5.5 image because I couldn't get the favourites.xml working on it as that's the only bouquet I use at home. I set ABM to scan occasionally but not generate the bouquets.
    I thought I would try ATV 7.0 but that is exactly the same. I don't know if it's a python 3 issue or ABM?
    ABM obviously looks at the file but decides it is zero length for some reason. The same ABM settings and xml file work fine on ViX 5.4.

  16. #12
    Huevos's Avatar
    Title
    Moderator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    10,485
    Thanks
    1,809
    Thanked 3,855 Times in 2,539 Posts
    Quote Originally Posted by Willo3092 View Post
    I just made a slight edit to sd_sat_282_sky_uk_CustomLCN if that's the same thing?

    I swapped BBC1 and BBC2 over and that worked fine.

    I may have done the sat_282_sky_uk_CustomMix.xml wrong. I put a few deletes in that worked okay but couldn't move channels about.
    No, not CustomLCN. Please don't use that for 28.2E. CustomLCN is for allocating LCNs for providers that don't have them.

    https://github.com/oe-alliance/AutoB...ME.txt#L17-L34

    Please also post the CustomMix file you made.

    Also if it worked in Py2, but not Py3, I doubt it is anything you have done wrong.

    And I am certain that either line ending is valid in an xml file, whatever system the file is being run on.

  17. #13
    Huevos's Avatar
    Title
    Moderator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    10,485
    Thanks
    1,809
    Thanked 3,855 Times in 2,539 Posts
    Please try the attached file for both CustomMix and favorites... goes in the scanner folder, inside the plugin folder.

    Get the enigma2 debug log, not the abm log.

    From both Py2 and Py3 if possible, would be helpful.
    Attached Files Attached Files

  18. #14
    Willo3092's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Oct 2016
    Location
    East Midlands
    Posts
    656
    Thanks
    583
    Thanked 272 Times in 201 Posts
    Quote Originally Posted by Huevos View Post
    Please also post the CustomMix file you made.
    I've deleted it now! I'm not sure I had done it right anyway. Did you say your favourites.xml works?

    I have just set ABM up on 2 boxes with exactly the same settings and favourites.xml - One is ViX 5.4 (which works) and the other ATV 7.0 (which doesn't).

    I have attached the ABM logs for both but this seems to be the relevant part:

    ViX 5.4:

    Code:
    [ABM-Tools][favourites] Reading favorite.xml file
    [ABM-BouquetsWriter] Writing favourites bouquet...
    [ABM-BouquetsWriter] Done
    [ABM-BouquetsWriter] Writing Last Scanned bouquet...
    [ABM-BouquetsWriter] Writing bouquets index...
    [ABM-BouquetsWriter] Done
    [ABM-Manager][save] write bouquets, Done
    ATV 7.0:

    Code:
    [ABM-Tools][favourites] Reading favorite.xml file
    [ABM-Tools][favourites] Favourites list is zero length.
    [ABM-BouquetsWriter] Writing Last Scanned bouquet...
    [ABM-BouquetsWriter] Writing bouquets index...
    [ABM-BouquetsWriter] Done
    [ABM-Manager][save] write bouquets, Done
    abm Vix 5.4.log

    abm ATV 7.0.log

  19. #15
    Huevos's Avatar
    Title
    Moderator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    10,485
    Thanks
    1,809
    Thanked 3,855 Times in 2,539 Posts
    Use my file above, and get enigma2 log, not abm log.

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.