-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offline Import Not Working #64
Comments
OfflineImport |
i try and result not work |
sorry try: |
I tried again but it still doesn't work
|
so have now realised this is run basically as a script and those imports in py3 are therefore much harder to handle ... when I have time to concentrate will look, unless someone else has a quick solution |
is there any progress? were you able to do something? ( -m option not working ) thx |
Afraid it was summerged by other issues - Now you have reminded me will look again, but will be next week |
thanks, good luck... |
@thawtes - so by adding to the sys.path I was able to get so far, but still big issues . |
@thawtes can you tell us the exact command you uses on the command line and where the files being processed are located. |
|
|
now i tried again as you said, so like this commit 5714422 command command command result
|
which image are you running that on???? |
Ok so try this... hopefully there will not be more... In epgdat.py, lines 12/13:
Change to:
|
|
command now it works! thanks @Huevos @TwolDE2
but it doesn't create /media/hdd/epg_new.dat file and is this an error message?
|
Can you add some debug in EPGImport.py?
|
|
You seem to be missing part of the debug from your output:
|
there are these lines EPGImport.py |
Your log is showing |
@thawtes so can you use the 3 modules updated in my last git update(titled offline changes) - I have added Huevos debug plus a bit more |
after this commit TwolDE2@01f1510
|
@thawtes
|
after this commit TwolDE2@7c72478
result ...
|
Thanks- for your patience!
|
you're welcome, I really thank you.. New LOG
it keeps giving this error: and, I still don't understand why /media/hdd/epg_new.dat file is not created |
So import now works for C++ |
thanks for your patience! new LOG :
note: /media/hdd/epg_new.dat file still cannot be created. Could it be a problem with the thx |
First we need to get rid of the errors. Then it should work. |
So import now works for C++ |
so new update to epgdat - changes variable name "s" to sd & ld to avoid confusion on debug. |
|
so better, 90% there? ... hopefully added some more corrections, debug on final packs - all in epgdat.py |
**that's it :) it works now. @TwolDE @Huevos thank you so much now created /media/hdd/epg_new.dat** |
Great - will strip out debug and issue pull after some cleanup |
there is a problem. /media/hdd/epg_new.dat file is created (after change to epg.dat) but data is not visible in EPG list +infobar EPG When I restart the device, the epg.dat file remains as epg.dat.loading and enigma2 does not start, the system becomes unusable. maybe this LOG can be useful
thanks |
so having stopped the image, you have renamed the old dat file and copied /media/hdd/epg_new.dat to /media/hdd/epg.dat and then restarted the image? |
... you could also rename/disable the C++ routine and see if you have same issue with the embedded software routine in epgdat.py when you copy dat file |
yes i know, i did it this way |
i didn't fully understand it |
If the C++ routine (dreamcrc) doesn‘t load, then it uses a “ software simulation“ in python in epgdat.py. I just wondered if that might work better (although probably slower). So perhaps rename dreamcrc to something else, so that the import fails and then it will use the python code instead. the fact that epg.dat doesn‘t load implies the data is not correct, something I experienced initially with Crossepg |
ok, i understand without dreamcrc :
/media/hdd/epg_new.dat file is not created with dreamcrc #64 (comment) Could the problem be due to the characters being this way (b'eng\x0c\x15 ....etc)? |
@thawtes So I cannot get either py2 or py3 Ofline_importer versions to produce a valid epg.dat |
@thawtes - fixed will upload tomorrrow |
@thawtes |
I will check and let you know |
offline import not working
image: openatv 6.4
Traceback (most recent call last): File "/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/OfflineImport.py", line 13, in <module> File "/usr/lib/enigma2/python/Plugins/Extensions/EPGImport/EPGImport.py", line 12, in <module> ValueError: Attempted relative import in non-package
The text was updated successfully, but these errors were encountered: