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.

View Entry Info: EPG missing via openwebif

Category:
Possible Bug
What ViX Image build number are you using?
Please provide your ViX Team image build number. Menu > Information > About > Build number > ENTER THIS NUMBER e.g. 4.2.028
6.5.002
Have you tried a flash WITHOUT settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
No
Have you tried a flash WITH settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
No
Attachments
Results 1 to 13 of 13

Thread: EPG missing via openwebif

  1. #1

    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2010
    Posts
    63
    Thanks
    11
    Thanked 6 Times in 5 Posts

    EPG missing via openwebif

    Apologies for the number of problem posts from me recently. My new setup is *almost* there now, just one more little issue I have run into.

    The EPG is appearing fine (complete) when I access "guide" on the receiver, it also appears fine when browsing to the openwebif url and selecting EPG in the menu on the left hand side. However, I noticed that the remote kodi client(s) are all missing large chunks of EPG data. There are a lot of these messages in the kodi log file

    Code:
    2024-04-18 10:46:05.628 T:10940   error <general>: AddOnLog: pvr.vuplus: pvr.vuplus - GetHttp - Could not open webAPI.
    2024-04-18 10:46:05.628 T:10940   error <general>: AddOnLog: pvr.vuplus: pvr.vuplus - GetEPGForChannel Unable to parse XML: Error document empty. at line 0
    2024-04-18 10:46:05.628 T:10940   error <general>: GetEPGForChannel: Add-on 1822431298 returned an error: server error
    2024-04-18 10:46:05.741 T:10940   error <general>: CCurlFile::CReadState::XFILE::CCurlFile::CReadState::FillBuffer - (0x26001df5ce0) Failed: HTTP returned code 500
    2024-04-18 10:46:05.742 T:10940   error <general>: CCurlFile::XFILE::CCurlFile::Open - <https://<redacted>:443/web/epgservice?sRef=1%3A0%3A19%3A50FA%3A80F%3A2%3A11A0000%3A0%3A0%3A0%3A> Failed with code 500:
    Pasting the url into a browser gave me this

    Screenshot 2024-04-18 113628.jpg

    Which suggests to me the issue probably isn't on the client side. Any pointers on what I can do to fix this one?

    [edit]
    I see the image is not very readable, not sure how to make it bigger?
    Last edited by Morini; 18-04-24 at 11:45.

  2. #2

    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2010
    Posts
    63
    Thanks
    11
    Thanked 6 Times in 5 Posts
    This is the text from the webpage screenshot

    Code:
    web.Server Traceback (most recent call last):
    builtins.Exception: [eEPGCache] handleEvent: error in convertFunc execute
    /usr/lib/python3.12/site-packages/twisted/web/server.py:227 in process
    226
    227
    228
    /usr/lib/python3.12/site-packages/twisted/web/server.py:292 in render
    291
    292
    293
    /home/vixdev/6.5/builds/openvix/release/gb7252/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-git-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/base.py:193 in render
    192
    193
    194
    /home/vixdev/6.5/builds/openvix/release/gb7252/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-git-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/web.py:1705 in P_epgservice
    1704
    1705
    1706
    /home/vixdev/6.5/builds/openvix/release/gb7252/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-git-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/services.py:762 in getChannelEpg
    761
    762
    763
    /home/vixdev/6.5/builds/openvix/release/gb7252/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-git-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/epg.py:176 in getChannelEvents
    175
    176
    177
    builtins.Exception: [eEPGCache] handleEvent: error in convertFunc execute

  3. #3
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,425
    Thanks
    997
    Thanked 2,897 Times in 2,250 Posts
    Quote Originally Posted by Morini View Post
    This is the text from the webpage screenshot

    Code:
    web.Server Traceback (most recent call last):
    builtins.Exception: [eEPGCache] handleEvent: error in convertFunc execute
    /usr/lib/python3.12/site-packages/twisted/web/server.py:227 in process
    226
    227
    228
    /usr/lib/python3.12/site-packages/twisted/web/server.py:292 in render
    291
    292
    293
    /home/vixdev/6.5/builds/openvix/release/gb7252/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-git-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/base.py:193 in render
    192
    193
    194
    /home/vixdev/6.5/builds/openvix/release/gb7252/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-git-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/web.py:1705 in P_epgservice
    1704
    1705
    1706
    /home/vixdev/6.5/builds/openvix/release/gb7252/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-git-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/services.py:762 in getChannelEpg
    761
    762
    763
    /home/vixdev/6.5/builds/openvix/release/gb7252/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-git-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/epg.py:176 in getChannelEvents
    175
    176
    177
    builtins.Exception: [eEPGCache] handleEvent: error in convertFunc execute
    I guess its not providing the request information correctly or maybe a utf-8 issue - but the epgcache routines are obviously being handled correctly for the normal EPG & webif (which is similar test)
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB 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 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  4. #4

    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2010
    Posts
    63
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Quote Originally Posted by twol View Post
    I guess its not providing the request information correctly or maybe a utf-8 issue - but the epgcache routines are obviously being handled correctly for the normal EPG & webif (which is similar test)
    From the logs I can see the url's being called and the format looks ok to me. Also it's a bit strange that some channels are showing EPG information while others are not.

    I did a bit of manual testing by constructing the http call myself by pulling a couple service ID's from dreamboxedit (replacing the underscores with %3A) and calling the epgservice directly from a web browser

    This one fails and gives the error above

    ITV4 HD - Service ID 1_0_19_5159_810_2_11A0000_0_0_0
    Code:
    http://[user]:[password]@<ip-ddress>/web/epgservice?sRef=1%3A0%3A19%3A5159%3A810%3A2%3A11A0000%3A0%3A0%3A0
    This one works and gives back an xml formatted list of events

    QUEST HD - service ID 1_0_19_CD64_844_2_11A0000_0_0_0
    Code:
    http://[user]:[password]@<ip-address>/web/epgservice?sRef=1%3A0%3A19%3ACD64%3A844%3A2%3A11A0000%3A0%3A0%3A0
    The client isn't influencing this, so I'm wondering is it an E2 problem or an openwebif problem?

  5. #5
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,650
    Thanks
    2,007
    Thanked 4,961 Times in 3,278 Posts
    This should be reported as an issue at OpenWebIf repo.
    Help keep OpenViX servers online.Please donate!

  6. #6

    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2010
    Posts
    63
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Quote Originally Posted by Huevos View Post
    This would be reported as an issue at OpenWebIf repo.
    Ok thanks.

    Would this be the correct place to report it https://github.com/oe-alliance/OpenWebif/issues ?

  7. #7
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,650
    Thanks
    2,007
    Thanked 4,961 Times in 3,278 Posts
    Yes .
    Help keep OpenViX servers online.Please donate!

  8. #8
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,650
    Thanks
    2,007
    Thanked 4,961 Times in 3,278 Posts
    Please add the attached file and restart the box. Then get debug logs from when the problem occurs.

    Goes in:
    Code:
    /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models
    Attached Files Attached Files
    Help keep OpenViX servers online.Please donate!

  9. #9

    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2010
    Posts
    63
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Do you need the full debug logs or just this bit?

    Code:
    <    63.884727> "::ffff:192.168.175.247" - - [22/Apr/2024:11:06:57 +0000] "GET /web/epgservice?sRef=1%3A0%3A19%3A5159%3A810%3A2%3A11A0000%3A0%3A0%3A0 HTTP/1.1" 401 149 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
    <    63.950146> Traceback (most recent call last):
    <    63.951240>   File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/epg.py", line 310, in convertEventSingle
    ev["genre"], ev["genreid"] = convertGenre(event[8])
    ^^^^^^^^^^^^^^^^^^^^^^
    <    63.951316>   File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/epg.py", line 77, in convertGenre
    return str(getGenreStringLong(val[0], val[1])).strip(), gid
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    <    63.951362>   File "/usr/lib/enigma2/python/Components/Converter/genre.py", line 1230, in getGenreStringLong
    <    63.951450> TypeError: argument of type 'NoneType' is not iterable
    <    63.980877> Traceback (most recent call last):
    <    63.981696>   File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/epg.py", line 310, in convertEventSingle
    ev["genre"], ev["genreid"] = convertGenre(event[8])
    ^^^^^^^^^^^^^^^^^^^^^^
    <    63.981770>   File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/epg.py", line 77, in convertGenre
    return str(getGenreStringLong(val[0], val[1])).strip(), gid
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    <    63.981813>   File "/usr/lib/enigma2/python/Components/Converter/genre.py", line 1230, in getGenreStringLong
    <    63.981899> TypeError: argument of type 'NoneType' is not iterable
    <    64.027934> Traceback (most recent call last):
    <    64.028777>   File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/epg.py", line 310, in convertEventSingle
    ev["genre"], ev["genreid"] = convertGenre(event[8])
    ^^^^^^^^^^^^^^^^^^^^^^
    <    64.028852>   File "/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/epg.py", line 77, in convertGenre
    return str(getGenreStringLong(val[0], val[1])).strip(), gid
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    <    64.028898>   File "/usr/lib/enigma2/python/Components/Converter/genre.py", line 1230, in getGenreStringLong
    <    64.028974> TypeError: argument of type 'NoneType' is not iterable
    <    64.135604> Unhandled Error
    Traceback (most recent call last):
    File "/usr/lib/python3.12/site-packages/twisted/protocols/basic.py", line 549, in dataReceived
    
    File "/usr/lib/python3.12/site-packages/twisted/web/http.py", line 2307, in lineReceived
    
    File "/usr/lib/python3.12/site-packages/twisted/web/http.py", line 2440, in allContentReceived
    
    File "/usr/lib/python3.12/site-packages/twisted/web/http.py", line 1020, in requestReceived
    
    --- <exception caught here> ---
    File "/usr/lib/python3.12/site-packages/twisted/web/server.py", line 227, in process
    
    File "/usr/lib/python3.12/site-packages/twisted/web/server.py", line 292, in render
    
    File "/home/vixdev/6.5/builds/openvix/release/gb7252/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-git-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/base.py", line 227, in render
    
    File "/home/vixdev/6.5/builds/openvix/release/gb7252/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-git-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/base.py", line 115, in loadTemplate
    
    File "/usr/lib/python3.12/site-packages/Cheetah/Template.py", line 1053, in __unicode__
    
    File "/home/vixdev/6.5/builds/openvix/release/gb7252/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/enigma2-plugin-extensions-openwebif/enigma2-plugin-extensions-openwebif-git-r0/image/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/views/web/epgservice.py", line 135, in respond
    
    NameMapper.NotFound: cannot find 'genreid'
    I can provide the full logs if required, but this is the only info I can see that is relevant.

  10. #10

    Title
    V.I.P
    Join Date
    Jan 2011
    Posts
    265
    Thanks
    60
    Thanked 572 Times in 188 Posts
    Probably some bad code introduced here?

    https://github.com/OpenViX/enigma2/c...0c96d0b6aR1230
    Code:
    if hn == 15 and (country is not None and "OpenTV" not in country) and not (hasattr(config.plugins, "icetv") and config.plugins.icetv.enable_epg.value):
    Last edited by LraiZer; 22-04-24 at 20:26.

  11. #11

    Title
    V.I.P
    Join Date
    Jan 2011
    Posts
    265
    Thanks
    60
    Thanked 572 Times in 188 Posts

  12. #12
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,650
    Thanks
    2,007
    Thanked 4,961 Times in 3,278 Posts
    Quote Originally Posted by LraiZer View Post
    Ok, thanks.
    Help keep OpenViX servers online.Please donate!

  13. #13

    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2010
    Posts
    63
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Quote Originally Posted by LraiZer View Post
    Just to feedback, I copied this file to my receiver and it has fixed my issue. The epg on my kodi clients is complete now.

    Many thanks!

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

    abu baniaz (25-04-24)

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.