UPDATE (9/15/17):
Update happened as normal last night/this morning with this msg near the end of the log file (in .kodi/addons/.....):
2017-09-15 03:31:12,978 Form:
<zbSearchForm GET
http://tvschedule.zap2it.com/tvlistings/ZCSearch.do application/x-www-form-urlencoded
<TextControl(searchTerm=)>
<HiddenControl(searchType=simple) (readonly)>
<HiddenControl(aid=tvschedule) (readonly)>
<SubmitControl(=Search) (readonly)>>:Function: loginZAP :Line: 570
2017-09-15 03:31:12,982 Form:
<zbSearchFormAdv GET
http://tvschedule.zap2it.com/tvlistings/ZCSearch.do application/x-www-form-urlencoded
<TextControl(searchTerm=)>
<SelectControl(searchField=[*name, episodeName, episodeName, description, crew])>
<SelectControl(searchGenre=[*, movie, sports, children, special, news])>
<CheckboxControl(searchHD=[true])>
<HiddenControl(searchType=advanced) (readonly)>
<HiddenControl(aid=tvschedule) (readonly)>
<SubmitControl(=Search) (readonly)>>:Function: loginZAP :Line: 570
2017-09-15 03:31:12,985 Form:
<zcLoginForm POST
http://tvschedule.zap2it.com/tvlistings/...o?category= application/x-www-form-urlencoded
<TextControl(username=)>
<PasswordControl(password=)>
<SubmitControl(<None>=Login) (readonly)>
<IgnoreControl(loginReset=<None>)>
<HiddenControl(zc-login-forwardURL=) (readonly)>>:Function: loginZAP :Line: 570
2017-09-15 03:31:14,765 Matched .*Logout of your.*:Function: loginZAP :Line: 591
...and this msg in .kodi/userdata/add_ons/.... at the end of the log file:
http://tvschedule.zap2it.com/tvlistings/...tvschedule
http://tvschedule.zap2it.com/tvlistings/...tvschedule
Matched .*Logout of your.*:Function: loginZAP :Line: 591
Getting:
http://tvschedule.zap2it.com/tvlistings/...tvschedule
[55/56] Parsing: /home/osmc/.kodi/addons/script.module.zap2xml/cache/1506625200000.html.gz
Getting:
http://tvschedule.zap2it.com/tvlistings/...tvschedule
[56/56] Parsing: /home/osmc/.kodi/addons/script.module.zap2xml/cache/1506646800000.html.gz
Downloaded 896852 bytes in 2 http requests.
Writing XML file: /home/osmc/.xmltv/tvguide.xml
Completed in 158s (Parse: 79s) 78 stations, 10729 programs, 36152 scheduled.
So, looks like success. I want to watch it for another few days and see how it works (or doesn't work). Looks like (for me, anyway) having xtra details enabled is causing problems. I'm wondering if something else (I have a Dish DVR that does nightly updates) is trying to use my local net around the same time and that's causing problems for the RPI 3/OSMC system. It shouldn't, but variables do and constants aren't
To confirm or deny this I'll check out "call home" times for both units and make sure they access at different times at night (This wasn't a problem until recently, tho
Peace out and cheers....
ORIGINAL posting:
Not sure what's going on. I completely uninstalled the 0.7.4-test. Deleted the 2 script.module.zap2zml folders (left the tv_grab_zap2xml file since that did not seem to be an issue) and did a reinstall of V0.7.4-test. I have had mixed results. I was able to do a couple of manual updates (restart tvheadend) over the past few days with no errors. However, the normal 3:30 AM updates are not happening and are producing errors. And a recent manual update failed.
In the .kodi/addons... folder I'm still getting the "HTTP Error 500: Internal Server Error" msgs. In the log file under .kodi/userdate.... I'm getting the following msgs (Can't tell if it's directly related to the Error 500 msg. Based on the 3 retries, I expect it is.):
Getting:
http://tvschedule.zap2it.com/tvlistings/...3657560349
:Function: getURL :Line: 225
error<class 'mechanize._response.httperror_seek_wrapper'>
Getting:
http://tvschedule.zap2it.com/tvlistings/...3657560349
:Function: getURL :Line: 225
error<class 'mechanize._response.httperror_seek_wrapper'>
Getting:
http://tvschedule.zap2it.com/tvlistings/...3657560349
:Function: getURL :Line: 225
error<class 'mechanize._response.httperror_seek_wrapper'>
Failed to download within 3 retries.
this was done with xtra details enabled. So, I've disabled those again and will try both a manual run as well as see what happens overnight.
I'll post back results tomorrow.
Thanks and cheers....
(2017-09-10, 17:58)stephr1 Wrote: I'm thinking with some of the things that have gone on recently with the system, something related to the grabber might be "off", rather than the grabber itself. If I get some time in the next couple of days, I'll "flatten" the grabber (uninstall/delete any extraneous files) and then reinstall, mod the paths and settings as needed, and try again.
I'll let you know the results.
As usual, thx and cheers....
(2017-09-09, 16:55)edit4ever Wrote: One more thing... @stephr1 - I did test the 0.7.4-test version that I posted and it worked on my end - so with whatever chenages you need for the ubuntu setup it should pull down the xtra details info for you.
If you have a working version right now for basic data - you can manually edit the zap2xml.py file and make changes to lines 341-351 making them match lines 341-354 on the 0.7.4-test version.
It adds a try: around the xtra details downloads and hopefully moves on if it fails.