edit4ever / script.module.zap2epg

zap2epg - EPG grabber for USA/Canada
GNU General Public License v3.0
41 stars 25 forks source link

Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" #24

Closed wbeard52 closed 3 years ago

wbeard52 commented 3 years ago

Apparently, this error occurred over the past week. I can download all the data by looking at the cache folder but the scrap fails with this message.

I am running OSMC Buster. It is based on Debian buster and it could be the latest changes to the OS has caused this issue. Any advice on troubleshooting would be appreciated.

Thanks

edit4ever commented 3 years ago

Is it possible for you to share your zap2epg log?

wbeard52 commented 3 years ago

Absolutely. Where is the log located?

Get Outlook for Androidhttps://aka.ms/ghei36


From: edit4ever notifications@github.com Sent: Tuesday, October 27, 2020 11:50:39 AM To: edit4ever/script.module.zap2epg script.module.zap2epg@noreply.github.com Cc: wbeard52 wbeard52@hotmail.com; Author author@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

Is it possible for you to share your zap2epg log?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717463004, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTGYX6NRZHEHPGNXEIDTSM4I77ANCNFSM4TBHUW5Q.

edit4ever commented 3 years ago

Should be under your /userdata/script.module.zap2epg folder.

wbeard52 commented 3 years ago

I don’t know if it will help you. Show shows at the very end it had written the xmltv file. I am using Kodi 18.8 with TVH version 4.2.8

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 12:00 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Authormailto:author@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

Should be under your /userdata/script.module.zap2epg folder.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717468364, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG2BR7BGGJDGUOL6EALSM4KEJANCNFSM4TBHUW5Q.

edit4ever commented 3 years ago

In that case - I would like to get a copy of the xmltv file that was generated.

wbeard52 commented 3 years ago

I attached the log file but apparently it didn't come through.

zap2epg.log zap2epg.zip

edit4ever commented 3 years ago

Definitely a clean run – so please send the xmltv.xml file and I’ll have a look.

It’s usually an issue with a station including some kind of strange character that kodi doesn’t recognize. This should be converted – but something may be up.

Jay M

From: wbeard52 Sent: Tuesday, October 27, 2020 1:12 PM To: edit4ever/script.module.zap2epg Cc: edit4ever; Comment Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message"xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknownsyntatic element:" (#24)

I attached the log file but apparently it didn't come through. zap2epg.log zap2epg.zip — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

wbeard52 commented 3 years ago

The xml file is located inside the zip file. Thank you for your help. It is appreciated.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 1:14 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Authormailto:author@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

Definitely a clean run – so please send the xmltv.xml file and I’ll have a look.

It’s usually an issue with a station including some kind of strange character that kodi doesn’t recognize. This should be converted – but something may be up.

Jay M

From: wbeard52 Sent: Tuesday, October 27, 2020 1:12 PM To: edit4ever/script.module.zap2epg Cc: edit4ever; Comment Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message"xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknownsyntatic element:" (#24)

I attached the log file but apparently it didn't come through. zap2epg.log zap2epg.zip — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717511808, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG5Y3XDN4A3MJBHLUB3SM4SZ7ANCNFSM4TBHUW5Q.

edit4ever commented 3 years ago

Thanx – missed that…I’ll have a look.

Jay M

From: wbeard52 Sent: Tuesday, October 27, 2020 1:15 PM To: edit4ever/script.module.zap2epg Cc: edit4ever; Comment Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message"xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknownsyntatic element:" (#24)

The xml file is located inside the zip file. Thank you for your help. It is appreciated.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 1:14 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Authormailto:author@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

Definitely a clean run – so please send the xmltv.xml file and I’ll have a look.

It’s usually an issue with a station including some kind of strange character that kodi doesn’t recognize. This should be converted – but something may be up.

Jay M

From: wbeard52 Sent: Tuesday, October 27, 2020 1:12 PM To: edit4ever/script.module.zap2epg Cc: edit4ever; Comment Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message"xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknownsyntatic element:" (#24)

I attached the log file but apparently it didn't come through. zap2epg.log zap2epg.zip — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717511808, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG5Y3XDN4A3MJBHLUB3SM4SZ7ANCNFSM4TBHUW5Q.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

edit4ever commented 3 years ago

Was there any additional info in this kodi log line? xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element: Specifically it would be nice if it had a line number there. Or the text that was unknown.

wbeard52 commented 3 years ago

No. Unfortunately. I was looking for a line number. After that line, it simply stated it grabbed no data.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 1:20 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Authormailto:author@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

Was there any additional info in this kodi log line? xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element: Specifically it would be nice if it had a line number there.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717515033, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG6GF2TGXD4QVWNDCXLSM4TQZANCNFSM4TBHUW5Q.

wbeard52 commented 3 years ago

I ran it again. 2020-10-27 13:28:03.467 xmltv: /usr/bin/tv_grab_zap2epg10: htsmsg_xml_deserialize error Unknown syntatic element: 2020-10-27 13:28:03.467 xmltv: /usr/bin/tv_grab_zap2epg10: grab returned no data

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Wes Beardmailto:wbeard52@hotmail.com Sent: Tuesday, October 27, 2020 1:21 PM To: edit4ever/script.module.zap2epgmailto:reply@reply.github.com Subject: RE: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

No. Unfortunately. I was looking for a line number. After that line, it simply stated it grabbed no data.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 1:20 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Authormailto:author@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

Was there any additional info in this kodi log line? xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element: Specifically it would be nice if it had a line number there.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717515033, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG6GF2TGXD4QVWNDCXLSM4TQZANCNFSM4TBHUW5Q.

edit4ever commented 3 years ago

No worries – I think it’s an issue with the non-ascii characters and the python update.

The code in zap2epg.py is old and not up to current python standards. It really needs to be rewritten.

However – I’m going to try a workaround for now – if I get it to run I’ll send you the file to test.

Jay M

From: wbeard52 Sent: Tuesday, October 27, 2020 1:36 PM To: edit4ever/script.module.zap2epg Cc: edit4ever; Comment Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message"xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknownsyntatic element:" (#24)

I ran it again. 2020-10-27 13:28:03.467 xmltv: /usr/bin/tv_grab_zap2epg10: htsmsg_xml_deserialize error Unknown syntatic element: 2020-10-27 13:28:03.467 xmltv: /usr/bin/tv_grab_zap2epg10: grab returned no data

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Wes Beardmailto:wbeard52@hotmail.com Sent: Tuesday, October 27, 2020 1:21 PM To: edit4ever/script.module.zap2epgmailto:reply@reply.github.com Subject: RE: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

No. Unfortunately. I was looking for a line number. After that line, it simply stated it grabbed no data.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 1:20 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Authormailto:author@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

Was there any additional info in this kodi log line? xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element: Specifically it would be nice if it had a line number there.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717515033, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG6GF2TGXD4QVWNDCXLSM4TQZANCNFSM4TBHUW5Q.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

edit4ever commented 3 years ago

OK – try replacing your zap2epg.py file with the one I the attached zip.

You’ll need to rename it to zap2epg.py

Jay M

From: wbeard52 Sent: Tuesday, October 27, 2020 1:36 PM To: edit4ever/script.module.zap2epg Cc: edit4ever; Comment Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message"xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknownsyntatic element:" (#24)

I ran it again. 2020-10-27 13:28:03.467 xmltv: /usr/bin/tv_grab_zap2epg10: htsmsg_xml_deserialize error Unknown syntatic element: 2020-10-27 13:28:03.467 xmltv: /usr/bin/tv_grab_zap2epg10: grab returned no data

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Wes Beardmailto:wbeard52@hotmail.com Sent: Tuesday, October 27, 2020 1:21 PM To: edit4ever/script.module.zap2epgmailto:reply@reply.github.com Subject: RE: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

No. Unfortunately. I was looking for a line number. After that line, it simply stated it grabbed no data.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 1:20 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Authormailto:author@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

Was there any additional info in this kodi log line? xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element: Specifically it would be nice if it had a line number there.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717515033, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG6GF2TGXD4QVWNDCXLSM4TQZANCNFSM4TBHUW5Q.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

edit4ever commented 3 years ago

I actually think the issue is Python 3 - the code of zap2epg.py is Python 2 --- I just sent a test python 3 version to @wbeard52 However - he needs to test to see if the os/kodi version he is running will read the generated xmltv file.

There is currently not an issue pulling and reading the data to create the xmltv file - just making it compatible with the kodi version that is trying to read it.

wbeard52 commented 3 years ago

I didn’t get the zip fil :-<

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 1:44 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Authormailto:author@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

OK – try replacing your zap2epg.py file with the one I the attached zip.

You’ll need to rename it to zap2epg.py

Jay M

From: wbeard52 Sent: Tuesday, October 27, 2020 1:36 PM To: edit4ever/script.module.zap2epg Cc: edit4ever; Comment Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message"xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknownsyntatic element:" (#24)

I ran it again. 2020-10-27 13:28:03.467 xmltv: /usr/bin/tv_grab_zap2epg10: htsmsg_xml_deserialize error Unknown syntatic element: 2020-10-27 13:28:03.467 xmltv: /usr/bin/tv_grab_zap2epg10: grab returned no data

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Wes Beardmailto:wbeard52@hotmail.com Sent: Tuesday, October 27, 2020 1:21 PM To: edit4ever/script.module.zap2epgmailto:reply@reply.github.com Subject: RE: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

No. Unfortunately. I was looking for a line number. After that line, it simply stated it grabbed no data.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 1:20 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Authormailto:author@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

Was there any additional info in this kodi log line? xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element: Specifically it would be nice if it had a line number there.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717515033, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG6GF2TGXD4QVWNDCXLSM4TQZANCNFSM4TBHUW5Q.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717527686, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG5YTBOQ6E5K6K5UW2LSM4WK3ANCNFSM4TBHUW5Q.

edit4ever commented 3 years ago

Here's a link to download the file: https://www.dropbox.com/s/hnc32hwb7m7oqvm/zap2epg-3.py?dl=0

You will still need to rename it once you copy to your addon folder.

wbeard52 commented 3 years ago

Thank you!

2020-10-27 13:57:36.062 xmltv: /usr/bin/tv_grab_zap2epg: grab /usr/bin/tv_grab_zap2epg 2020-10-27 13:57:36.068 spawn: Executing "/usr/bin/tv_grab_zap2epg" 2020-10-27 13:57:36.358 spawn: Traceback (most recent call last): 2020-10-27 13:57:36.358 spawn: File "/home/osmc/.kodi/addons/script.module.zap2epg/zap2epg.py", line 17, in 2020-10-27 13:57:36.359 spawn: import urllib.request, urllib.error, urllib.parse 2020-10-27 13:57:36.360 spawn: ImportError: No module named request 2020-10-27 13:57:36.414 xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element: 2020-10-27 13:57:36.414 xmltv: /usr/bin/tv_grab_zap2epg: grab returned no data

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 1:55 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Mentionmailto:mention@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

Here's a link to download the file: https://www.dropbox.com/s/hnc32hwb7m7oqvm/zap2epg-3.py?dl=0

You will still need to rename it once you copy to your addon folder.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717533224, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTGYWPDVANCLQR6JMAT3SM4XS3ANCNFSM4TBHUW5Q.

wbeard52 commented 3 years ago

The new script errored out at line 17. See TVH log below. There was no logfile generated.

2020-10-27 13:57:36.062 xmltv: /usr/bin/tv_grab_zap2epg: grab /usr/bin/tv_grab_zap2epg 2020-10-27 13:57:36.068 spawn: Executing "/usr/bin/tv_grab_zap2epg" 2020-10-27 13:57:36.358 spawn: Traceback (most recent call last): 2020-10-27 13:57:36.358 spawn: File "/home/osmc/.kodi/addons/script.module.zap2epg/zap2epg.py", line 17, in 2020-10-27 13:57:36.359 spawn: import urllib.request, urllib.error, urllib.parse 2020-10-27 13:57:36.360 spawn: ImportError: No module named request 2020-10-27 13:57:36.414 xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element: 2020-10-27 13:57:36.414 xmltv: /usr/bin/tv_grab_zap2epg: grab returned no data

edit4ever commented 3 years ago

OK - that makes sense as the addon is set to use python 2 - I'll have to either send you a new full updated addon, or give you a modified python 2 version to test.

wbeard52 commented 3 years ago

I have python2 and python3 installed if that helps.

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 2:14 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Mentionmailto:mention@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

OK - that makes sense as the addon is set to use python 2 - I'll have to either send you a new full updated addon, or give you a modified python 2 version to test.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717543824, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG43ETTAZRG7JJTDJJLSM4Z23ANCNFSM4TBHUW5Q.

edit4ever commented 3 years ago

OK - try installing this version (should install as an addon update): https://1drv.ms/u/s!AhL4aRs7Xd05ivlTTDLm8YeQKeq58Q?e=sFqhk3

wbeard52 commented 3 years ago

I do appreciate your help. I get an error when trying to install the addon. I am leaving and won’t be back till much later tonight. From the kodi.log

2020-10-27 14:31:19.779 T:27536 ERROR: CAddonInstallJob[script.module.zap2epg]: The dependency on xbmc.python version 3.0.0 could not be satisfied.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 2:23 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Mentionmailto:mention@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

OK - try installing this version (should install as an addon update): https://1drv.ms/u/s!AhL4aRs7Xd05ivlTTDLm8YeQKeq58Q?e=sFqhk3

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717548286, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG5JFW4QLEXJIWQTYPLSM4237ANCNFSM4TBHUW5Q.

edit4ever commented 3 years ago

OK – I’ll keep looking into this. Thanks.

Jay Maloney

From: wbeard52 Sent: Tuesday, October 27, 2020 2:34 PM To: edit4ever/script.module.zap2epg Cc: edit4ever; Comment Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message"xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknownsyntatic element:" (#24)

I do appreciate your help. I get an error when trying to install the addon. I am leaving and won’t be back till much later tonight. From the kodi.log

2020-10-27 14:31:19.779 T:27536 ERROR: CAddonInstallJob[script.module.zap2epg]: The dependency on xbmc.python version 3.0.0 could not be satisfied.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 2:23 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Mentionmailto:mention@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

OK - try installing this version (should install as an addon update): https://1drv.ms/u/s!AhL4aRs7Xd05ivlTTDLm8YeQKeq58Q?e=sFqhk3

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717548286, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG5JFW4QLEXJIWQTYPLSM4237ANCNFSM4TBHUW5Q.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

edit4ever commented 3 years ago

If you get a chance - you can try this version: https://1drv.ms/u/s!AhL4aRs7Xd05ivlZaLGAhGUyACxaIg?e=fcSEaf

That should just include a change to the encoding of the text - which may help.

wbeard52 commented 3 years ago

Ugh. No joy!. Same error as the first one.

2020-10-27 22:49:32.000 xmltv: /usr/bin/tv_grab_zap2epg: grab /usr/bin/tv_grab_zap2epg

2020-10-27 22:49:32.005 spawn: Executing "/usr/bin/tv_grab_zap2epg"

2020-10-27 22:50:05.981 xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:

2020-10-27 22:50:05.981 xmltv: /usr/bin/tv_grab_zap2epg: grab returned no data

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Tuesday, October 27, 2020 4:43 PM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Mentionmailto:mention@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

If you get a chance - you can try this version: https://1drv.ms/u/s!AhL4aRs7Xd05ivlZaLGAhGUyACxaIg?e=fcSEaf

That should just include a change to the encoding of the text - which may help.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-717605245, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG7244P3MQQPSPQABV3SM5LLTANCNFSM4TBHUW5Q.

edit4ever commented 3 years ago

bummer - thanks for the update.

I have a little more time later this week - I'll download and test OSMC Buster and see what is really going on.

wbeard52 commented 3 years ago

Wow. Thank you for your helkp!

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: edit4evermailto:notifications@github.com Sent: Wednesday, October 28, 2020 8:21 AM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Mentionmailto:mention@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

bummer - thanks for the update.

I have a little more time later this week - I'll download and test OSMC Buster and see what is really going on.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-718006638, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTGZKJW37JJBE4X5Y7O3SNAZHXANCNFSM4TBHUW5Q.

edit4ever commented 3 years ago

After getting OSMC installed and reviewed - turns out the issue is with the tvheadend release they are using. It is not reading the doctype line correctly in the xmltv.xml file.

I released a workaround for now - which you can try here: https://github.com/edit4ever/script.module.zap2epg/releases/tag/v1.3.1

Let me know if it works!

wbeard52 commented 3 years ago

Thank you sir! That fixed the issue. I appreciate all the help.

From: edit4evermailto:notifications@github.com Sent: Thursday, October 29, 2020 6:51 AM To: edit4ever/script.module.zap2epgmailto:script.module.zap2epg@noreply.github.com Cc: wbeard52mailto:wbeard52@hotmail.com; Mentionmailto:mention@noreply.github.com Subject: Re: [edit4ever/script.module.zap2epg] Scrap fails with message "xmltv: /usr/bin/tv_grab_zap2epg: htsmsg_xml_deserialize error Unknown syntatic element:" (#24)

After getting OSMC installed and reviewed - turns out the issue is with the tvheadend release they are using. It is not reading the doctype line correctly in the xmltv.xml file.

I released a workaround for now - which you can try here: https://github.com/edit4ever/script.module.zap2epg/releases/tag/v1.3.1

Let me know if it works!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/edit4ever/script.module.zap2epg/issues/24#issuecomment-718766035, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTKTG54Y3IH33XYD3DUH73SNFXMTANCNFSM4TBHUW5Q.