New install of the plugin today, install man. get nothing after 1 hour, tryng man button igen, get messeage import of epg data is still in progress please wait.
There is no crashlog
Edited by ricki, 10 October 2015 - 10:47.
Posted 10 October 2015 - 12:57
Well, feedback is important:
The whole changes are a little bit 'strange' - using os.system for an rm -f on a file within try: except:: is NOT what I call good coding practice, so it was my personal amuesement to see that Erik signed it off.
BTW despite adding the Bouquet check the last change stil lkept the idiotic idea to check if a channel exists on the box by doing a fak recording ...
Therefore I will NOT include these changes in the DreamOS Version of the plugin.
Edited by gutemine, 10 October 2015 - 12:57.
Posted 10 October 2015 - 13:49
The only error message is
EPGimport failed to start
nonetype object has no attribute type ends with
Thats it because if the plugin doesnt start it cannot create any log so thats all we can give you.
Ian.
Open a telnet session, and run Enigma2 in there:
init 4
enigma2
Then the error should scroll by in the log. Copy that part and paste it here.
Posted 10 October 2015 - 14:29
First thing I tried yesterday,but again as the plugin doesnt start no error is created.
But heres what is produced just to prove to you that Ive done it again as instructed.
action -> MsgBoxActions ok
[EPGImport] nextImport, source= Rytec UK XMLTV
[EPGImport] Error at start: 'NoneType' object has no attribute 'endswith'
[EPGImport] fallback to default translation for EPGImport Plugin
Failed to start:
Ian.
Edited by ian1095, 10 October 2015 - 14:33.
Posted 10 October 2015 - 14:30
This is already useful information I think.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 10 October 2015 - 14:40
The only error message is
EPGimport failed to start
nonetype object has no attribute type ends with
Thats it because if the plugin doesnt start it cannot create any log so thats all we can give you.
Ian.
Open a telnet session, and run Enigma2 in there:
init 4
enigma2
Then the error should scroll by in the log. Copy that part and paste it here.
action -> ColorActions yellow action -> MsgBoxActions ok [EPGImport] nextImport, source= Linuxsat ExUSSR XMLTV [EPGImport] Downloading: http://epg.in.ua/epg/tvprogram_ua_ru.gz to local path: /tmp/epgimport.gz [EPGImport] afterDownload /tmp/epgimport.gz [EPGImport] unlink /tmp/epgimport.gz [EPGImport] Downloading: http://epg.in.ua/epg/ls.channels.xml.gz to local path: /tmp/epgimport.gz [EPGImport] afterChannelDownload /tmp/epgimport.gz [EPGImport] Using twisted thread [EPGImport] Parsing channels from 'http://epg.in.ua/epg/ls.channels.xml.gz' Unhandled error in Deferred: Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 524, in __bootstrap File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner File "/usr/lib/python2.7/threading.py", line 504, in run --- <exception caught here> --- File "/usr/lib/python2.7/site-packages/twisted/python/threadpool.py", line 191, in _worker File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext File "/usr/lib/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext File "/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py", line 244, in doThreadRead for data in self.createIterator(filename): File "/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py", line 138, in createIterator self.source.channels.update(self.channelFilter, filename) File "/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py", line 73, in update return self.parse(filterCallback, downloadedFile) File "/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py", line 58, in parse for event, elem in iterparse(self.openStream(downloadedFile)): File "/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py", line 49, in openStream fd = open(filename, 'rb') exceptions.IOError: [Errno 2] No such file or directory: '/tmp/epgimport.gz' 1770
GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K
Posted 10 October 2015 - 15:18
solved
def beginImport(self, longDescUntil = None): 'Starts importing using Enigma reactor. Set self.sources before calling this.' - global HDD_EPG_DAT - HDD_EPG_DAT = config.misc.epgcache_filename.value if config.plugins.epgimport.clear_oldepg.value and hasattr(self.epgcache, 'flushEPG'): - unlink_if_exists(HDD_EPG_DAT) - unlink_if_exists(HDD_EPG_DAT + '.backup') + unlink_if_exists(config.misc.epgcache_filename.value) + unlink_if_exists(config.misc.epgcache_filename.value + '.backup') self.epgcache.flushEPG() if hasattr(self.epgcache, 'importEvents'):
GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K
Posted 10 October 2015 - 15:31
Milo
please apply this
https://github.com/O...tvimport/pull/3
and
this
https://github.com/O...tvimport/pull/4
and update meta-openpli/recipes-openpli/enigma2-plugins/enigma2-plugin-extensions-xmltvimport.bb
Sorry for the troubles not provided.
Edited by Dimitrij, 10 October 2015 - 15:33.
GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K
Posted 10 October 2015 - 15:33
These seem to be unrelated issues, the one Dimitri has seems to be simply a failed download, combined with a missing check on the status of the download.
If I look at the code and Ian1095's messages, then the first encountered instance of "endsWith" is on line 339 in do_download(). So the error message suggests 'sourcefile' is not set. But, before that, "startsWith" is called on the same variable, so if it wasn't set, you would have a different error message. The same applies if your xml sources file would contain a local file instead of a URL, or if the XML wouldn't contain anything valid at all (you haven't changed that, did you?).
So looking at the code, I can't find a path in the code that would produce your sequence of error messages.
If I were you Ian, I would de-install the plugin and the rytec sources, reboot the box, install the plugin and the sources again, configure it, and check. Assuming that you haven't installing anything manually (outside the feeds) that would overwrite python files...
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 10 October 2015 - 16:35
I give up
But thank you for your time and help.
Ive done everything you said and also removed the epgimport config file from /etc/enigma2 as well and deleted everything to do with epgimport from my settings file located in the same directory.
Rebooted and installed again from the feeds,then rebooted once more rather than just restarting enigma2.
Opened and ran the plugin
Same error
So this one is going to have to remain unsolved unless anyone else has any ideas but I'm completely out of them.
Ian.
Posted 10 October 2015 - 16:42
I've had a look at the two merge requests of Dimitrij, they're probably useful, but they're not going to solve this problem.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 10 October 2015 - 16:50
Whats infuriating though is the old version works perfectly,if this didnt work I would come to the conclusion that some system files maybe corrupted and reflash.
but as this is working that cannot be the case.
Never mind as i say at least the old version works.
Ian.
Replace file EPGImport.py in the plugin
and
add /etc/epgimport/rytec.sources.xml
GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K
Posted 10 October 2015 - 17:05
Ok, so who in the team has a VU+ handy and can check this out?
Mine are 600km's from where I am at the moment, and I don't have it on my ET's, I can't debug what I can't reproduce.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
0 members, 1 guests, 0 anonymous users