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: Weather plugin time format error

  1. #1

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    217
    Thanked 77 Times in 64 Posts

    Weather plugin time format error

    Hello, can this be fixed ? Weather Plugin time format error.jpg

  2. #2

    Title
    ViX Beta Tester
    Join Date
    Apr 2011
    Location
    Ireland
    Posts
    2,049
    Thanks
    404
    Thanked 668 Times in 547 Posts
    You would have to contact the plugin author (no idea who it is) to get it fixed. I just checked it on my H7S and it worked fine so it may be a problem with the skin you are using.
    Zgemma H7S running OpenVIX 6.2, Darkmotor, Triax TD110 dish, Inverto Black Ultra dual lnb
    LG 50UM7450 4K TV, Pioneer VSX-534 Atmos AVR , Panasonic UB820 region free 4K Bluray & a PS4.

  3. #3

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    217
    Thanked 77 Times in 64 Posts
    I have tried several skins and the error stays. When testing with OpenMultiboot and OpenATV it works, so it must have something to do with OpenViX itself.

  4. #4
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    @ronand - which skin works for you?

  5. #5
    adm's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2014
    Location
    Southend on Sea, UK
    Posts
    1,654
    Thanks
    65
    Thanked 655 Times in 511 Posts
    Quote Originally Posted by ccs View Post
    @ronand - which skin works for you?
    works for me Xtrend 10k, Vix 5.4.004, vix-night-HD (1280x720) skin - and seems to work whatever the time setting (menu -> setup -> time -> time style)

    weather.jpg
    Last edited by adm; 21-01-21 at 15:49.
    Xtrend ET10K, 2 x satellite tuners 28.2 (Sky FTA), 2 x hybrid (UK Freeview), Zgemma H9S (satellite)

  6. #6

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    217
    Thanked 77 Times in 64 Posts
    It has something to do with the language selection. When I select User Interface -> Language from Suomi (Finland) to English (UK) it works. Maybe some developer can check it ?Weather plugin.jpg

  7. #7

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    217
    Thanked 77 Times in 64 Posts
    I think the problem is in this file : \Root\usr\lib\locale\fi_FI\LC_TIME, there is time format %H.%M.%S and in \Root\usr\lib\locale\en_GB\LC_TIME it is %H:%M:%S. How I can edit that file to test ?

  8. #8
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    .... it's a binary file, I doubt that you can edit it easily.

    Those files haven't changed for over 3 years, they'll probably be part of the image build process.

    And who knows what might stop working if you did make the change?
    Last edited by ccs; 21-01-21 at 17:21.

  9. #9
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by adm View Post
    works for me Xtrend 10k, Vix 5.4.004, vix-night-HD (1280x720) skin - and seems to work whatever the time setting (menu -> setup -> time -> time style)
    Took a while for me to work out that the time style option doesn't show in the simple_1080 skin.

  10. #10
    adm's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2014
    Location
    Southend on Sea, UK
    Posts
    1,654
    Thanks
    65
    Thanked 655 Times in 511 Posts
    Quote Originally Posted by Orlandox View Post
    I think the problem is in this file : \Root\usr\lib\locale\fi_FI\LC_TIME, there is time format %H.%M.%S and in \Root\usr\lib\locale\en_GB\LC_TIME it is %H:%M:%S. How I can edit that file to test ?
    I’m not sure that this is the cause as I’ve just changed all the colons in the English/GB and English/English versions with full stops, uploaded the file to my box and have rebooted the box. My version of the Weather plug-in still works without shown a time error message.

    However you may want to try with the Finnish file.

    Download and install a hex editor such HxD HEX Editor

    https://mh-nexus.de/en/hxd/

    MAKE A BACKUP OF THE LC_time file

    In Hxd Hex Editor open the LC_time file

    From the top menu bar select search
    In the search window that appears select the “Hex-values” tab
    Search for “2E” (2E = . and 3A =
    Replace the appropriate 2E with 3A and save the file

    You can manually highlight 2E and type 3A or you can use the search/replace menu item.

    One window will show the Hex (binary) code AND an ASCII translation which you can identify H:M:S etc.

    hex_edit.jpg
    Xtrend ET10K, 2 x satellite tuners 28.2 (Sky FTA), 2 x hybrid (UK Freeview), Zgemma H9S (satellite)

  11. #11
    adm's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2014
    Location
    Southend on Sea, UK
    Posts
    1,654
    Thanks
    65
    Thanked 655 Times in 511 Posts
    Quote Originally Posted by adm View Post

    Search for “2E” (2E = . and 3A =
    That should read
    2E = a full stop
    3A = a colon
    Xtrend ET10K, 2 x satellite tuners 28.2 (Sky FTA), 2 x hybrid (UK Freeview), Zgemma H9S (satellite)

  12. #12
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,109
    Thanks
    1,275
    Thanked 1,122 Times in 884 Posts
    The closing bracket turned it into a smiley! Like this
    Code tags would have resolved the issue

    Code:
    (colon =:)
    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

  13. #13

    Title
    ViX Beta Tester
    Join Date
    Nov 2020
    Location
    Finland
    Posts
    625
    Thanks
    217
    Thanked 77 Times in 64 Posts
    Hello, I made a test by copying LC_TIME file from \Root\usr\lib\locale\en_GB\ to \Root\usr\lib\locale\fi_FI\, but same time format error. So localization is done somewhere else or the error is caused by plugin itself. I give up...

  14. #14
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    ... did you reboot the box after making the change?

  15. #15
    adm's Avatar
    Title
    Forum Supporter
    Donated Member
    Join Date
    Sep 2014
    Location
    Southend on Sea, UK
    Posts
    1,654
    Thanks
    65
    Thanked 655 Times in 511 Posts
    Quote Originally Posted by ccs View Post
    ... did you reboot the box after making the change?
    I did a few test with replacing the colon in the H:M:S fields with full stops and rebooting after uploading the changed file. It made no difference to my working weather plugin - it still worked indicating the difference in the LC_time files for each language is probably not the cause of the problem.
    Xtrend ET10K, 2 x satellite tuners 28.2 (Sky FTA), 2 x hybrid (UK Freeview), Zgemma H9S (satellite)

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.