PDA

View Full Version : [GiGaBlue UHD UE 4K] EPG missing via openwebif



Morini
18-04-24, 11:43
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


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::CReadStat e::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%3A11A0 000%3A0%3A0%3A0%3A> Failed with code 500:

Pasting the url into a browser gave me this

66327

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?

Morini
18-04-24, 12:15
This is the text from the webpage screenshot


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

twol
18-04-24, 13:19
This is the text from the webpage screenshot


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)

Morini
18-04-24, 17:08
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

http://[user]:[password]@<ip-ddress>/web/epgservice?sRef=1%3A0%3A19%3A5159%3A810%3A2%3A11A0 000%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

http://[user]:[password]@<ip-address>/web/epgservice?sRef=1%3A0%3A19%3ACD64%3A844%3A2%3A11A0 000%3A0%3A0%3A0

The client isn't influencing this, so I'm wondering is it an E2 problem or an openwebif problem?

Huevos
18-04-24, 18:51
This should be reported as an issue at OpenWebIf repo.

Morini
18-04-24, 19:11
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 ?

Huevos
21-04-24, 16:24
Yes .

Huevos
22-04-24, 10:55
Please add the attached file and restart the box. Then get debug logs from when the problem occurs.

Goes in:

/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models

Morini
22-04-24, 12:15
Do you need the full debug logs or just this bit?


< 63.884727> "::ffff:192.168.175.247" - - [22/Apr/2024:11:06:57 +0000] "GET /web/epgservice?sRef=1%3A0%3A19%3A5159%3A810%3A2%3A11A0 000%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.

LraiZer
22-04-24, 20:15
Probably some bad code introduced here?

https://github.com/OpenViX/enigma2/commit/2a92646cacf5922dc150f2688b48e644f45dc3f1#diff-8a2a12323373cf78be1dafdac5441c62ef242a67ebe6bbadcb 34f6a0c96d0b6aR1230

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

LraiZer
22-04-24, 21:47
see https://github.com/OpenViX/enigma2/pull/1022

Huevos
22-04-24, 22:03
see https://github.com/OpenViX/enigma2/pull/1022
Ok, thanks.

Morini
24-04-24, 21:12
see https://github.com/OpenViX/enigma2/pull/1022

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!

mitchelln
14-05-24, 12:50
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.

jbd1974
22-05-24, 23:10
Thanks for the advice given here - it was driving me mad!