Kodi Community Forum
Zap2xml for ATSC in OpenELEC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: Tvheadend (https://forum.kodi.tv/forumdisplay.php?fid=168)
+---- Thread: Zap2xml for ATSC in OpenELEC (/showthread.php?tid=267022)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48


RE: Zap2xml for ATSC in OpenELEC - edit4ever - 2017-09-03

So in both cases you are not being successfully logged into your accounts so no data is downloaded. Double check your username and password in both addons settings. In the case of sd4tvh it looks like you have two words (showing as 2 arguements) for your username.

For zap2xml - if your username/password is correct...I need you to check what it says at rthe top of the webpage when you login on the zap2it website. Does it say "Logout of your Zap2it account." or "Logout of your Screener account." when you put your mouse over the logout option?

If it says "Logout of your Zap2it account." - then the next thing to try is to use version v0.7.1


RE: Zap2xml for ATSC in OpenELEC - StitchedChin - 2017-09-03

Hi edit4ever,
Thanks a ton for keeping this going!
Quick specs:
Odroid C2
Zap2XML 0.6.5
LE 7.0.1
TVHeadEnd 4.1.1945
Edit** OTA US Southern California (in case it is a new program description that is throwing the error, fall season is starting to hit guide)

Had a nice run with 0.6.5, was working like a champ! August 30 I started getting the 3 login error from zap2it. I wiped the cache, reran, no luck. Just wiped everything out and upgraded to your 0.7.1 version, base settings, everything worked. Extra program details works. When I check Append extra details to program description, that's when I get the 3 login error. I tried 3 days and still got the error. I'm running 14 days now without Append and it is working. In case that helps troubleshoot anything.

When I hovered over the the link on zap2it, I had the Logout of your Screener Account in case that helps too.

Thanks again!


RE: Zap2xml for ATSC in OpenELEC - edit4ever - 2017-09-03

OK the login problem makes sense as it seem zap2it is showing some people the old zap2it name and some people see the screener name.

Try this test version and see if that solves the issue:

https://www.dropbox.com/s/y9y0gcbeiylg12j/script.module.zap2xml-0.7.3-logintest.zip?dl=0

@stephr1 you can try it too to see if it solves your issues.


RE: Zap2xml for ATSC in OpenELEC - clarkss12 - 2017-09-03

Mine says "Logout of your Zap2it account." , I will try the 0. 7.1, now.


RE: Zap2xml for ATSC in OpenELEC - clarkss12 - 2017-09-03

Just tried your update, but on the web configuration page, it still does not show any EPG source. I have tried several different versions of your apps, but same thing, nothing shows in the EPG source. I always reboot my box after installing you apps.


RE: Zap2xml for ATSC in OpenELEC - edit4ever - 2017-09-04

So first thing first. In the zap2xml.log you should see if it is accepting your login. If you still see this:

Code:
Didn't Match .*Logout of your Zap2it account.* Sleep 1 sec.:Function: loginZAP :Line: 591
http://tvschedule.zap2it.com/tvlistings/...tvschedule

Then it is not logging in correctly. If you are able to login to the zap2it website with the same credentials you put in the zap2xml addon settings - then I need to do more digging. Sometimes a simple updating of your password will fix the issue.

Please check the zap2xml.log and see what it says.


RE: Zap2xml for ATSC in OpenELEC - clarkss12 - 2017-09-04

This is what it says when I run the internal grabbers.

2017-09-03 19:17:12.179 spawn: Executing "/storage/.kodi/addons/script.module.zap2xml/bin/tv_grab_zap2xml"
2017-09-03 19:17:12.682 spawn: cat: can't open '/storage/.kodi/userdata/addon_data/script.module.zap2xml/xmltv.xml': No such file or directory
2017-09-03 19:17:12.683 xmltv: /storage/.kodi/addons/script.module.zap2xml/bin/tv_grab_zap2xml: no output detected
2017-09-03 19:17:12.683 xmltv: /storage/.kodi/addons/script.module.zap2xml/bin/tv_grab_zap2xml: grab returned no data


RE: Zap2xml for ATSC in OpenELEC - edit4ever - 2017-09-04

That's what tvh logs when the xmltv.xml file has not been generated. What is listed in the zap2xml.log file in the userdata/addon_data/script.module.zap2xml folder?


RE: Zap2xml for ATSC in OpenELEC - clarkss12 - 2017-09-04

This is from the Kodi Log. I don't see any reference to Zap2it user name or password, it only references a file does not exist.

/storage/.kodi/addons/service.tvheadend42/bin/tv_grab_file
2017-09-03 18:01:32.002 [ INFO] spawn: Executing "/storage/.kodi/addons/service.tvheadend42/bin/tv_grab_file"
2017-09-03 18:01:32.033 [ ERROR] xmltv: /storage/.kodi/addons/service.tvheadend42/bin/tv_grab_file: no output detected
2017-09-03 18:01:32.033 [WARNING] xmltv: /storage/.kodi/addons/service.tvheadend42/bin/tv_grab_file: grab returned no data
2017-09-03 18:01:32.033 [ INFO] xmltv: /storage/.kodi/addons/script.module.zap2xml/bin/tv_grab_zap2xml: grab /storage/.kodi/addons/script.module.zap2xml/bin/tv_grab_zap2xml
2017-09-03 18:01:32.036 [ INFO] spawn: Executing "/storage/.kodi/addons/script.module.zap2xml/bin/tv_grab_zap2xml"
2017-09-03 18:01:32.545 [ ERROR] spawn: cat: can't open '/storage/.kodi/userdata/addon_data/script.module.zap2xml/xmltv.xml': No such file or directory
2017-09-03 18:01:32.545 [ ERROR] xmltv: /storage/.kodi/addons/script.module.zap2xml/bin/tv_grab_zap2xml: no output detected
2017-09-03 18:01:32.545 [WARNING] xmltv: /storage/.kodi/addons/script.module.zap2xml/bin/tv_grab_zap2xml: grab returned no data
2017-09-03 18:01:32.545 [ INFO]


RE: Zap2xml for ATSC in OpenELEC - edit4ever - 2017-09-04

You should be able to find the zap2xml.log file in the userdata/addon_data/script.module.zap2xml folder - you can access this over the network if you have samba shares on or you can access it over ssh if you have that enabled.

I need to see if you have a login error or a import mechanize error.


RE: Zap2xml for ATSC in OpenELEC - clarkss12 - 2017-09-04

(2017-09-04, 01:21)edit4ever Wrote: That's what tvh logs when the xmltv.xml file has not been generated. What is listed in the zap2xml.log file in the userdata/addon_data/script.module.zap2xml folder?

This is all that is in the zap2xml log.

Traceback (most recent call last):
File "/storage/.kodi/addons/script.module.zap2xml/zap2xml.py", line 101, in <module>
import mechanize
ImportError: No module named mechanize


RE: Zap2xml for ATSC in OpenELEC - edit4ever - 2017-09-04

perfect - thank you.

Please try this version

https://www.dropbox.com/s/om2d2l0wm57vln6/script.module.zap2xml-0.7.3-mechanize-test.zip?dl=0

I believe I created a problem for LE when I fixed the Ubuntu access.


RE: Zap2xml for ATSC in OpenELEC - edit4ever - 2017-09-04

Wait - don't do that one...it has an error - standby.


RE: Zap2xml for ATSC in OpenELEC - edit4ever - 2017-09-04

Here's the fixed one:

https://www.dropbox.com/s/kdus6536y62wn6e/script.module.zap2xml-0.7.3-mechanize-test2.zip?dl=0


RE: Zap2xml for ATSC in OpenELEC - clarkss12 - 2017-09-04

With this update, still no EPG source listed.

File "/storage/.kodi/addons/script.module.zap2xml/zap2xml.py", line 88
set paths to import third party libs
^
SyntaxError: invalid syntax