oe-alliance / XMLTV-Import

Import's EPG data from rytec xml data sources.
15 stars 37 forks source link

Error at start: [Errno -2] Name or service not known #30

Closed davesayers2014 closed 5 years ago

davesayers2014 commented 5 years ago

With the latest changes I am now receiving

[EPGImport] nextImport, source= IPTV [EPGImport] Downloading: http://xxxx to local path: /tmp/epgimport [EPGImport] Not cheching the server since nocheck is set for it: http://xxxx [EPGImport] Error at start: [Errno -2] Name or service not known

If I revert to earlier commit it works fine

jenseneverest commented 5 years ago

Glad it is not just me, i am not sure the nocheck="1" is actually working. TBH i would like someone to explain in more detail where and what exactly should be done on the server side. I can see the need for a check, sort of....

davesayers2014 commented 5 years ago

nocheck="1" does work see here https://www.world-of-satellite.com/showthread.php?60020-EPG-Importer-Down&p=474780&viewfull=1#post474780

pr2git commented 5 years ago

Please provide me with the file content that generate this problem. xxx.sources.xml and then the downloaded file.

pr2git commented 5 years ago

@jenseneverest

When you upload files to your server and that everything went fine, you need to create a file: LastUpdate.txt

Just containing the date in format: YYYY-mm-dd Exemple: 2018-9-17

(Be careful we had to change from LastUpdate.log to LastUpdate.txt since some servers prevent to send .log files).

We assume that the data files are uploaded daily on the server. So we tolerate a delta between the current date and the LastUpdate.txt date of 2 days (so 3 days or more we reject the server).

That's all you need to do, of course if you always create this file even when the upload failed then this file become totally useless.

The idea behind this file is to avoid that I server send back obsolete data files. This already happened in the past, where a server still hold obsolete files and provide them back to end-user, but Rytec was unable to upload to this server anymore (so it was not possible to suppress the file neither).

But anyway nocheck="1" should also work for XMLTVImport.

davesayers2014 commented 5 years ago

This is Freesat UK epgimport.log

jenseneverest commented 5 years ago

Thanks for the reply guys, With the latest pure2 image rytec sources are working, but mine are not, with that image the log suggests that the nocheck="1" is not working at least for my sources.

I then flashed todays openATV 6.2 and all Rytec source are not working, the log is the same as @davesayers2014 has attached above. But at least the nocheck is working with todays atv image on my source lol.... (i see it bypass the check in the log) i then also have the same issue as Rytec sources.

I am now about to flash openPLI and will test again, if i still have issue with openPLI i will post to the pli forum thread @pr2git started.

TIA

Ev0-BH commented 5 years ago

Yes latest build is broken, I also get the Error2 message and then it just sits saying importing xyz forever and does nothing

pr2git commented 5 years ago

I think you should remove the IPv6 stuff from XMLTVImport.

Schimmelreiter commented 5 years ago

I think we shouldn't have blindly replaced a complete file. Neither did I with other plugins, I always checked if our branch contained enhancements compared to PLi.

If you want 100% PLi, install OpenPLi.

Anyways, ATM I'm working on a solution.

Ev0-BH commented 5 years ago

Seems to be fixed now

AbuBaniaz commented 5 years ago

Fixed with this commit https://github.com/oe-alliance/XMLTV-Import/commit/4166ac766a72841a58a4adb0a8eb3094fe8f8ef2

jenseneverest commented 5 years ago

it is still not quite right guys

https://github.com/oe-alliance/XMLTV-Import/issues/33