[29/08/2022 GMT 11:00] FIXED "DB connection filed" ... --force-reinstall
EPG Import mod from Dorik1972 Support Thread
-
- EPG Importer
- sarsan
- Thread is marked as Resolved.
-
-
Just tested the updated version of 1.91 and external resetting epg.db to 23KB does not trow anymore the can not connect to database.
Sadly, the switch to clear the database before import has been neutralized because it is started before dumping the current in memory EPG data. So the just emptied file is overwritten by EPG data from the memory.
CodeAug 30 11:14:18 dm7080 enigma2[287]: [EPGImport] Oudeis patch not detected, using eEPGCache.load Aug 30 11:14:18 dm7080 enigma2[287]: [EPGDB] create empty /media/SanDisk240GB/XMLTV-EPG/epg.db Aug 30 11:14:18 dm7080 enigma2[287]: [EPGImport] EPG database located at /media/SanDisk240GB/XMLTV-EPG/epg.db Aug 30 11:14:18 dm7080 enigma2[287]: [EPGImport] Save the EPGchache to database file /media/SanDisk240GB/XMLTV-EPG/epg.db ... Aug 30 11:14:18 dm7080 enigma2[287]: [EPGC] db thread stopped Aug 30 11:14:18 dm7080 enigma2[287]: [EPGC] Saving database from memory Aug 30 11:14:19 dm7080 enigma2[287]: [EPGC] db thread started Aug 30 11:14:19 dm7080 enigma2[287]: [EPGC] start caching events(1661850859) Aug 30 11:14:19 dm7080 enigma2[287]: [EPGImport] EPGCache save finished
-
Sadly, the switch to clear the database before import has been neutralized because it is started before dumping the current in memory EPG data. So the just emptied file is overwritten by EPG data from the memory.
At the moment I view this menu item as "Clear DB file before importing data" ...
Do you want all "traces" of an existing EPG to be deleted? It's not difficult, I'll just don't dump the cache data if this option is selected.... But what if EIT is used to import DVB events, and IPTV events to import - EPGImport? Clearing the EPG will result in the loss of current EIT data and the resulting epg.db will only contain events for IPTV
-
In the past I could only EPGimport when being tuned to a station without any EPG DVB data.
This option to clear is mostly used by users that load EPG during the night and so have each time, a clean database to start with. After EPGimport is ready it will then only contain the just imported data.
The data can become outdated and when you go to a station that has current EIT data then the database will not be updated. However Now/Next on the screen is updated to reflect current data. the data from the database is ignored for Now/Next.
I don't know if the EIT data is overwritten by the data that is imported by EPGimport?
Then EIT data is dynamic and updated as soon you tune into that station and thrown away as soon you tune into an other station except for the non present data in the EPG database.
I prefer to make a clean cut each time a import is made and have a empty epg database. But then I am not the only user of EPGimport.
-
So the just emptied file is overwritten by EPG data from the memory.
It's not a useless feature. This allows you to "clean" create the database file and get rid of "traces" of deleted records, broken indexes, etc. thereby significantly reduce the size of the epg.db file
-
The data can become outdated a
You do not understand how it works =) .. A special "semaphore" monitors the "freshness" of data, which cleans outdated data from eEPDCache at a specified frequency (see the system log!) ... The EPG data that you see on the screen is ALWAYS data from eEPGCache ... Similarly, there is a "semaphore" for dumping eEPGCache data into a file and overwriting epg.db ... Everything can be seen in the log and sources... if desired
part of code of epgcache.cpp
-
pepsik Sorry to bother you again about Twisted. I ran with and without and looked if there is any difference in the journal and I noticed this extra line missing when running Twisted:
CodeAug 30 12:59:48 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(241): afterChannelDownload
Those extra lines are only shown when I use Rytec type of lists. The IPTV lists runs with Twisted.
Code
Display More### Restarts Enigma2 (Twisted) Aug 30 12:23:15 dm7080 enigma2[2238]: [EPGImport] download failed: <twisted.python.failure.Failure <class 'twisted.web._newclient.ResponseNeverReceived'>> Aug 30 12:23:15 dm7080 enigma2[2238]: [EPGImport] Attempting alternative URL Aug 30 12:23:15 dm7080 enigma2[2238]: [EPGImport] Downloading: http://epgspot.com/rytec_epg/rytecTNT_Basic.xz to local path: /media/hdd/epgimport.tmp Aug 30 12:23:15 dm7080 enigma2[2238]: [EPGImport] checkValidServer server url: http://epgspot.com/rytec_epg/rytecTNT_Basic.xz Aug 30 12:23:15 dm7080 enigma2[2238]: [EPGImport] checkValidServer accept server: http://epgspot.com/rytec_epg Aug 30 12:23:24 dm7080 enigma2[2238]: [EPGImport] afterDownload /media/hdd/epgimport.tmp Aug 30 12:23:24 dm7080 enigma2[2238]: [EPGImport] unlink /media/hdd/epgimport.tmp Aug 30 12:23:24 dm7080 enigma2[2238]: [EPGImport] Downloading: http://epg.vuplus-community.net/rytec.channels.xml.xz to local path: /media/hdd/epgimport.tmp Aug 30 12:23:24 dm7080 enigma2[2238]: [EPGImport] Not checking the server since nocheck is set for: http://epg.vuplus-community.net/rytec.channels.xml.xz Aug 30 12:23:27 dm7080 enigma2[2238]: [EPGC] cleanupOutdated Aug 30 12:23:31 dm7080 enigma2[2238]: [EPGImport] afterChannelDownload /media/hdd/epgimport.tmp Aug 30 12:23:31 dm7080 enigma2[2238]: [EPGImport] ### using twisted thread, yay! Aug 30 12:23:31 dm7080 enigma2[2238]: [EPGConfig] Enumerating channels lookup table XML file Aug 30 12:23:31 dm7080 enigma2[2238]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py(162): parse Aug 30 12:23:31 dm7080 enigma2[2238]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py(180): update Aug 30 12:23:31 dm7080 enigma2[2238]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(194): createIterator Aug 30 12:23:31 dm7080 enigma2[2238]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(278): doThreadRead ### Working (disabled Twisted) Aug 30 12:59:43 dm7080 enigma2[2716]: [EPGC] nownext finished(1661857182) Aug 30 12:59:46 dm7080 enigma2[2716]: [EPGImport] afterChannelDownload /media/hdd/epgimport.tmp Aug 30 12:59:46 dm7080 enigma2[2716]: [EPGImport] ### twisted thread not supported, sadly :( Aug 30 12:59:46 dm7080 enigma2[2716]: [EPGConfig] Enumerating channels lookup table XML file Aug 30 12:59:48 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py(162): parse Aug 30 12:59:48 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py(180): update Aug 30 12:59:48 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(193): createIterator Aug 30 12:59:48 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(241): afterChannelDownload Aug 30 12:59:48 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(409): writeFile Aug 30 13:00:06 dm7080 enigma2[2716]: [EPGConfig] Processed: 16769 channels Aug 30 13:00:06 dm7080 enigma2[2716]: [EPGConfig] Formed lookup table for: 4593 channels id Aug 30 13:00:06 dm7080 enigma2[2716]: [XMLTVConverter] Keep outdated EPG set to: 01:00:00 Aug 30 13:00:06 dm7080 enigma2[2716]: [EPGDB] not connected, retrying Aug 30 13:00:06 dm7080 enigma2[2716]: [EPGDB] /media/SanDisk240GB/XMLTV-EPG/epg.db exists Aug 30 13:00:06 dm7080 enigma2[2716]: [EPGDB] FOUND EPGImport EPG with source_id 5 Aug 30 13:00:06 dm7080 enigma2[2716]: [EPGDB] connect to /media/SanDisk240GB/XMLTV-EPG/epg.db finished Aug 30 13:00:16 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/epgdb.py(77): preprocess_events_channel Aug 30 13:00:16 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/epgdat_importer.py(44): commitService Aug 30 13:00:16 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/epgdat_importer.py(33): importEvents Aug 30 13:00:16 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(267): importEvents Aug 30 13:00:16 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(285): doRead
Then, on the clearing the egd.db file, I see these kinds of messages when I tune to a loaded EPG station:
Code
Display MoreAug 30 12:51:13 dm7080 enigma2[2716]: [EPGC] remove channel 0x22878e8 Aug 30 12:51:14 dm7080 enigma2[2716]: [EPGC] channel 0x22878e8 running Aug 30 12:51:14 dm7080 enigma2[2716]: [EPGC] next update in 2 sec Aug 30 12:51:16 dm7080 enigma2[2716]: [EPGC] start caching events(1661856676) Aug 30 12:51:16 dm7080 enigma2[2716]: [EPGC] 5225 0c99 0003 00eb0000 has external data! won't update... Aug 30 12:51:16 dm7080 enigma2[2716]: [EPGC] 5230 0c99 0003 00eb0000 has external data! won't update... Aug 30 12:51:16 dm7080 enigma2[2716]: [EPGC] 523f 0c99 0003 00eb0000 has external data! won't update... Aug 30 12:51:16 dm7080 enigma2[2716]: [EPGC] 177f 0c82 0003 00eb0000 has external data! won't update... Aug 30 12:51:16 dm7080 enigma2[2716]: [EPGC] 178e 0c82 0003 00eb0000 has external data! won't update... Aug 30 12:51:17 dm7080 enigma2[2716]: [EPGC] 17c0 0c82 0003 00eb0000 has external data! won't update... Aug 30 12:51:17 dm7080 enigma2[2716]: [EPGC] 17d1 0c82 0003 00eb0000 has external data! won't update... Aug 30 12:51:18 dm7080 enigma2[2716]: [EPGC] 51b8 0c96 0003 00eb0000 has external data! won't update... Aug 30 12:51:18 dm7080 enigma2[2716]: [EPGC] 51c2 0c96 0003 00eb0000 has external data! won't update... Aug 30 12:51:18 dm7080 enigma2[2716]: [EPGC] 5282 0c96 0003 00eb0000 has external data! won't update... Aug 30 12:51:21 dm7080 enigma2[2716]: [EPGC] abort non avail viasat reading Aug 30 12:51:24 dm7080 enigma2[2716]: [EPGC] nownext finished(1661856684)
At first I see the data from the epg.deb and a few seconds later the event text changes to the data from the DVB. I am not a programmer and only know what I observe.
-
Those extra lines are only shown when I use Rytec type of lists. The IPTV lists runs with Twisted.
You do not understand what twisted.thread is ... And the log that you showed has nothing to do with this. These are not errors - these are warnings that some of the links to channels.xml - give HTML Error 404 ... If you look at the structure of the sources.xml file of Rytec sources, you will understand that there is a list of links to the same channels.xml ... If it doesn’t download from one hosting, we try the next one ... and so on until we download channels.xml
Then, on the clearing the egd.db file, I see these kinds of messages when I tune to a loaded EPG station:
This is the EPG "update" and the EPGRefresh plugin log... it just confirms my assertions about the EPGCache update "semaphores"... Just look at the source text of EPGRefresh.py
-
pepsik I wrote over here what I thought Twisted was and I still don't know if that is correct or not.
The 404 error is generated because Twisted does not work on the DreamOS here. That can be ignored because there is a backup to download the EPG and channels file.
So back to what I wanted to convey to you.
When using Twisted (parse - update - createIterator - doThreadRead) missing here afterChannelDownload
The doRead is when using Twisted doThreadRead.
CodeAug 30 12:23:31 dm7080 enigma2[2238]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py(162): parse Aug 30 12:23:31 dm7080 enigma2[2238]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py(180): update Aug 30 12:23:31 dm7080 enigma2[2238]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(194): createIterator Aug 30 12:23:31 dm7080 enigma2[2238]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(278): doThreadRead
These lines are show when using Twisted or disable Twisted (parse - update - createIterator - afterChannelDownload - writeFile)
CodeAug 30 12:59:48 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py(162): parse Aug 30 12:59:48 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py(180): update Aug 30 12:59:48 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(193): createIterator Aug 30 12:59:48 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(241): afterChannelDownload Aug 30 12:59:48 dm7080 enigma2[2716]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(409): writeFile
The second part, reading the EPG data is later. Then does the Twisted version knows the there are two files downloaded? EPG and channels. When I download an IPTV file then the channels is combined with the EPG data in one file when I remember it correct.
-
pepsik On the EPG being updated when tuning to a station.
I don't see epgRefresh being installed.
Codeenigma2-plugin-extensions-epgrefresh/unknown 4.3.3+git2+a7a8ee2266-r0.0 mipsel Plugin to refresh EPG Data when Receiver is inactive
If installed then it displayed
Codeenigma2-plugin-extensions-epgimport-mod-dorik1972/now 1.9.1 all [installed,local] EPGImport mod Dorik1972
Searching for epgrefresh:
# find / -name epgre*
/etc/enigma2/epgrefresh.xml
#
Content of the epgrefresh.xml file
-
The 404 error is generated because Twisted does not work on the DreamOS
Complete nonsense due to a complete misunderstanding
I don't see epgRefresh being installed.
It is installed by default in any image
-
Then indulge me and explain what Twisted does. Did you read the rest of my posting or did you stop at that line?
I could now find EPGRefresh.py but it is not in the location you show. It is sitting in WebInterface/WebChilds/Externals
Code# find / -iname EPGRe* /usr/lib/enigma2/python/Plugins/Extensions/WebInterface/WebChilds/External/EPGRefresh.pyc /usr/lib/enigma2/python/Plugins/Extensions/WebInterface/WebChilds/External/EPGRefresh.pyo /usr/lib/enigma2/python/Plugins/Extensions/WebInterface/WebChilds/External/EPGRefresh.py
Moving forwards. We know IPTV files work and the separate files crashes DreamOS here and with other users of EPGimport.
If IPTV works under Twisted as being one file containing channels.xml and epg.xml I suggest, if not already being the case, to also merge those to files to one file after the download. Then EPGImport can use Twisted on it, if they are not separate files anymore, just like the IPTV files I download.
-
We know IPTV files work and the separate files crashes DreamOS
Who are "we"? And why does NOTHING crash for me? Post a log from my DM900HD? Any source from EPGImport of your choice...
-
Does it come to mind that the ones that not have the same problem are not complaining about it. There is however there a group that have the same problem since version 1.6
I am vocal about it and try to find out what could solve it. But I am close to loose interest again like it happened when version 1.6 was released.
If you want to try, then take the Rytec sources that comes included in EPGimport and select one (yellow button) of the lists and see if Enigma is restarted or locks-up like it is happening with us.
-
I am vocal about it and try to find out what could solve it.
I wrote 100500 times in this forum thread that until I repeat this mistake with twisted.thread, no logs will help. Since it is impossible to understand the reason for its occurrence from the log. Moreover, this error is not observed by all users.
If you want to try, then take the Rytec sources that comes included in EPGimport and select one (yellow button) of the lists and see if Enigma is restarted or locks-up like it is happening with us.
As you wish .....
Снимок экрана 2022-08-31 в 21.21.38.png
log in attachment ... I repeated any combinations and variations hundreds of times on my DM900HD ... and I never "caught" an error with twisted.thread ...
-
msatter Can I suggest that you change your settings for location of your epg.db
It's strongly not recommended to store the epg.db on an external storage device and special not the sd card on older Dreamboxes like yours.
You have plenty of space in the flash and /data folder to store the epg.db.
Move it to /etc/enigma2 and check if your problem improves.
And there is no reason to allways reset the epg.db before you run your epg update. This is only needed if you have corruped epg data.
-
Thanks for log and it does indeed work with you and others and I did not doubt that:
So I marked the same sources and this is an unfiltered log showing the import and the restart:
Code
Display More-- Logs begin at Thu 1970-01-01 01:00:03 CET. -- Aug 31 23:11:08 dm7080 enigma2[4487]: [EPGConfig] EPGConfig enumSourcesFile Error: exceptions must be old-style classes or derived from BaseException, not str Aug 31 23:11:10 dm7080 enigma2[4487]: [EPGImport] Oudeis patch not detected, using eEPGCache.load Aug 31 23:11:10 dm7080 enigma2[4487]: [EPGImport] EPG database located at /media/SanDisk240GB/XMLTV-EPG/epg.db Aug 31 23:11:10 dm7080 enigma2[4487]: [EPGImport] Save the EPGchache to database file /media/SanDisk240GB/XMLTV-EPG/epg.db ... Aug 31 23:11:10 dm7080 enigma2[4487]: [EPGC] Saving database from memory Aug 31 23:11:23 dm7080 enigma2[4487]: [EPGC] db thread started Aug 31 23:11:23 dm7080 enigma2[4487]: [EPGC] start caching events(1661980283) Aug 31 23:11:23 dm7080 enigma2[4487]: [EPGImport] EPGCache save finished Aug 31 23:11:23 dm7080 enigma2[4487]: [EPGImport] ### start import, source = "Espana - Basic (xz)" Aug 31 23:11:23 dm7080 enigma2[4487]: [EPGImport] Downloading: http://www.xmltvepg.nl/rytecES_Basic.xz to local path: /media/hdd/epgimport.tmp Aug 31 23:11:23 dm7080 enigma2[4487]: [EPGImport] checkValidServer server url: http://www.xmltvepg.nl/rytecES_Basic.xz Aug 31 23:11:23 dm7080 enigma2[4487]: [EPGImport] checkValidServer accept server: http://www.xmltvepg.nl Aug 31 23:11:28 dm7080 enigma2[4487]: main thread is non-idle! display spinner! Aug 31 23:11:30 dm7080 enigma2[4487]: [EPGC] abort non avail viasat reading Aug 31 23:11:30 dm7080 enigma2[4487]: [EPGC] nownext finished(1661980290) Aug 31 23:11:34 dm7080 enigma2[4487]: [EPGImport] afterDownload /media/hdd/epgimport.tmp Aug 31 23:11:34 dm7080 enigma2[4487]: [EPGImport] unlink /media/hdd/epgimport.tmp Aug 31 23:11:34 dm7080 enigma2[4487]: [EPGImport] Downloading: http://epg.vuplus-community.net/rytec.channels.xml.xz to local path: /media/hdd/epgimport.tmp Aug 31 23:11:34 dm7080 enigma2[4487]: [EPGImport] Not checking the server since nocheck is set for: http://epg.vuplus-community.net/rytec.channels.xml.xz Aug 31 23:11:38 dm7080 enigma2[4487]: [EPGImport] afterChannelDownload /media/hdd/epgimport.tmp Aug 31 23:11:38 dm7080 enigma2[4487]: [EPGImport] ### using twisted thread, yay! Aug 31 23:11:39 dm7080 enigma2[4487]: [EPGConfig] Enumerating channels lookup table XML file Aug 31 23:11:39 dm7080 enigma2[4487]: FATAL!: addTimer must be called from thread 4487 but is called from thread 4624 Aug 31 23:11:39 dm7080 enigma2[4487]: Python stack trace: Aug 31 23:11:39 dm7080 enigma2[4487]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py(162): parse Aug 31 23:11:39 dm7080 enigma2[4487]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py(180): update Aug 31 23:11:39 dm7080 enigma2[4487]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(193): createIterator Aug 31 23:11:39 dm7080 enigma2[4487]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(277): doThreadRead Aug 31 23:11:39 dm7080 enigma2[4487]: /usr/lib/python2.7/site-packages/twisted/python/context.py(61): callWithContext Aug 31 23:11:39 dm7080 enigma2[4487]: /usr/lib/python2.7/site-packages/twisted/python/context.py(117): callWithContext Aug 31 23:11:39 dm7080 enigma2[4487]: /usr/lib/python2.7/site-packages/twisted/python/threadpool.py(182): _worker Aug 31 23:11:39 dm7080 enigma2[4487]: /usr/lib/python2.7/threading.py(743): run Aug 31 23:11:39 dm7080 enigma2[4487]: /usr/lib/python2.7/threading.py(783): __bootstrap_inner Aug 31 23:11:39 dm7080 enigma2[4487]: /usr/lib/python2.7/threading.py(760): __bootstrap Aug 31 23:11:42 dm7080 systemd[1]: enigma2.service: Main process exited, code=killed, status=11/SEGV Aug 31 23:11:42 dm7080 systemd[1]: enigma2.service: Unit entered failed state. Aug 31 23:11:42 dm7080 systemd[1]: enigma2.service: Failed with result 'signal'. Aug 31 23:11:42 dm7080 systemd[1]: enigma2.service: Service has no hold-off time, scheduling restart. Aug 31 23:11:42 dm7080 systemd[1]: Stopped enigma2. Aug 31 23:11:42 dm7080 systemd[1]: Starting Generate pre start service for enigma2... Aug 31 23:11:42 dm7080 systemd[1]: Starting Generate environment for enigma2... Aug 31 23:11:42 dm7080 systemd[1]: Starting Dreambox Bootlogo... Aug 31 23:11:43 dm7080 enigma2[4735]: Enigma2 v4.3.2 (revision: 4.3.3r3, date: 2021-10-29) Aug 31 23:11:43 dm7080 enigma2[4735]: Enigma2 is property of Dream Property GmbH. All copyrights with regard to Aug 31 23:11:43 dm7080 enigma2[4735]: Enigma2 belong to Dream Property GmbH only. Aug 31 23:11:43 dm7080 enigma2[4735]: The full license text is available at /usr/share/doc/enigma2/LICENSE. Aug 31 23:11:43 dm7080 enigma2[4735]: PYTHONPATH: /usr/lib/enigma2/python
Maybe you can see here some more that could explain the difference between my DreamOS and your DreamOS.
I try next the suggestion to move epg.db /etc/enigma and I only resetted the epg.db for testing a few days ago.
Update: Tried it, no improvement:
Code
Display MoreAug 31 23:29:31 dm7080 enigma2[289]: [EPGImport] Oudeis patch not detected, using eEPGCache.load Aug 31 23:29:31 dm7080 enigma2[289]: [EPGImport] EPG database located at /etc/enigma2/epg.db Aug 31 23:29:31 dm7080 enigma2[289]: [EPGImport] Save the EPGchache to database file /etc/enigma2/epg.db ... Aug 31 23:29:31 dm7080 enigma2[289]: [EPGC] db thread stopped Aug 31 23:29:31 dm7080 enigma2[289]: [EPGC] Saving database from memory Aug 31 23:29:31 dm7080 enigma2[289]: before: 1 Aug 31 23:29:31 dm7080 enigma2[289]: after: 1 Aug 31 23:29:31 dm7080 enigma2[289]: [EPGC] db thread started Aug 31 23:29:31 dm7080 enigma2[289]: [EPGC] start caching events(1661981371) Aug 31 23:29:31 dm7080 enigma2[289]: [EPGImport] EPGCache save finished Aug 31 23:29:31 dm7080 enigma2[289]: [EPGImport] ### start import, source = "Espana - Basic (xz)" Aug 31 23:29:31 dm7080 enigma2[289]: [EPGImport] Downloading: http://epg.vuplus-community.net/rytecES_Basic.xz to local path: /media/hdd/epgimport.tmp Aug 31 23:29:31 dm7080 enigma2[289]: [EPGImport] checkValidServer server url: http://epg.vuplus-community.net/rytecES_Basic.xz Aug 31 23:29:35 dm7080 enigma2[289]: [EPGImport] checkValidServer accept server: http://epg.vuplus-community.net Aug 31 23:29:36 dm7080 enigma2[289]: [EPGImport] afterDownload /media/hdd/epgimport.tmp Aug 31 23:29:36 dm7080 enigma2[289]: [EPGImport] unlink /media/hdd/epgimport.tmp Aug 31 23:29:36 dm7080 enigma2[289]: [EPGImport] Downloading: http://epg.vuplus-community.net/rytec.channels.xml.xz to local path: /media/hdd/epgimport.tmp Aug 31 23:29:36 dm7080 enigma2[289]: [EPGImport] Not checking the server since nocheck is set for: http://epg.vuplus-community.net/rytec.channels.xml.xz Aug 31 23:29:36 dm7080 enigma2[289]: [EPGImport] afterChannelDownload /media/hdd/epgimport.tmp Aug 31 23:29:36 dm7080 enigma2[289]: [EPGImport] ### using twisted thread, yay! Aug 31 23:29:36 dm7080 enigma2[289]: [EPGConfig] Enumerating channels lookup table XML file Aug 31 23:29:36 dm7080 enigma2[289]: FATAL!: addTimer must be called from thread 289 but is called from thread 501 Aug 31 23:29:36 dm7080 enigma2[289]: Python stack trace: Aug 31 23:29:36 dm7080 enigma2[289]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py(162): parse Aug 31 23:29:36 dm7080 enigma2[289]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGConfig.py(180): update Aug 31 23:29:36 dm7080 enigma2[289]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(193): createIterator Aug 31 23:29:36 dm7080 enigma2[289]: /usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py(277): doThreadRead Aug 31 23:29:36 dm7080 enigma2[289]: /usr/lib/python2.7/site-packages/twisted/python/context.py(61): callWithContext Aug 31 23:29:36 dm7080 enigma2[289]: /usr/lib/python2.7/site-packages/twisted/python/context.py(117): callWithContext Aug 31 23:29:36 dm7080 enigma2[289]: /usr/lib/python2.7/site-packages/twisted/python/threadpool.py(182): _worker Aug 31 23:29:36 dm7080 enigma2[289]: /usr/lib/python2.7/threading.py(743): run Aug 31 23:29:36 dm7080 enigma2[289]: /usr/lib/python2.7/threading.py(783): __bootstrap_inner Aug 31 23:29:36 dm7080 enigma2[289]: /usr/lib/python2.7/threading.py(760): __bootstrap Aug 31 23:29:38 dm7080 enigma2[289]: [EPGC] abort non avail nownext reading Aug 31 23:29:38 dm7080 enigma2[289]: [EPGC] abort non avail schedule reading Aug 31 23:29:38 dm7080 enigma2[289]: [EPGC] abort non avail schedule other reading Aug 31 23:29:38 dm7080 enigma2[289]: [EPGC] abort non avail viasat reading Aug 31 23:29:38 dm7080 enigma2[289]: [EPGC] stop caching events(1661981378) Aug 31 23:29:38 dm7080 enigma2[289]: [EPGC] next update in 60 min Aug 31 23:29:39 dm7080 systemd[1]: enigma2.service: Main process exited, code=killed, status=11/SEGV Aug 31 23:29:39 dm7080 systemd[1]: enigma2.service: Unit entered failed state. Aug 31 23:29:39 dm7080 systemd[1]: enigma2.service: Failed with result 'signal'. Aug 31 23:29:39 dm7080 systemd[1]: enigma2.service: Service has no hold-off time, scheduling restart. Aug 31 23:29:39 dm7080 systemd[1]: Stopped enigma2. Aug 31 23:29:39 dm7080 systemd[1]: Starting Generate pre start service for enigma2... Aug 31 23:29:39 dm7080 systemd[1]: Starting Generate environment for enigma2... Aug 31 23:29:39 dm7080 systemd[1]: Starting Dreambox Bootlogo...
Update: install epgrefresh ( /usr/lib/enigma2/python/Plugins/Extensions/EPGRefresh/EPGRefresh.py )
Still not importing.
-
FATAL!: addTimer must be called from thread 4487 but is called from thread 4624
Googling the error, I found the ONLY mention that it was solved. All other links lead to reports that this is a DreamOS image bug and will be resolved.
https://github.com/s3n0/e2plug…ns/src/changelog.txt#L102
If someone is familiar with the author of ChocholousekPicons or he reads this message - contact me. Maybe you can help me with this error. I don't see any bugs in the plugin code
-
pepsik How is your German language knowledge?
I found some info and also the definition of Twisted and I was in the right direction on that. They say you can't call Enigma2 objects from Twisted because it is Enigma2 not thread safe.
The problem: https://dreambox.de/board/inde…&postID=207390#post207390
How he solved it: https://dreambox.de/board/inde…&postID=207406#post207406
So it most likely an other plug-in that catch the call and I will try with only the EPGimport plug-in present and if it then works add plug-ins one by one to see if the problem returns.
Do you have Gemini 4 installed on your DM900? I use that and many other but you might not have that installed.
-
How he solved it
What is translated into English
What is the solution?
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!