Superb quality and spec AB-Com PULSe 4K SE only £99! FREE UK DELIVERY! 4K UHD, Enigma 2, Multiboot 4 images & more!...
Superb quality and spec AB-Com PULSe 4K Rev II Twin Satellite tuner only £149! FREE UK DELIVERY! 4K UHD, Enigma 2, SATA HDD facility, Multiboot 4 images & more!...

[GiGaBlue UHD UE 4K] EPG missing via openwebif

Morini

Forum Supporter
Donated Member
Joined
Dec 2, 2010
Messages
70
Reaction score
0
Points
0
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.webp

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:
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
 
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)
 
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?
 
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
 

Attachments

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.
 
This is also affecting the dream EPG Premium Android app. Lots of channels are not updating. I sent the log to the developer and it shows lots of 500 errors. This is upgrading to Openvix 6.5.003.

I copied the patched genre.py file to my receiver and it also fixed the problem.
 
Last edited:
Thanks for the advice given here - it was driving me mad!
 

OpenViX Feeds Status

Back
Top