-
Notifications
You must be signed in to change notification settings - Fork 17
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
I/O error when activating re-caching option #114
Comments
Weird, I guess it is on osmc then, which I also use but on a raspberry pi. I will make a debug build for you, so we can learn why this happens for you. |
Correct Vero 4K+ is running OSMC with Kodi on top. |
could you try this zip, and just share the last lines up to the error (remember to enable debug to log in settings): in the log output your error should happen when writing an info line starting with "IO exception" |
Thank you for this. Will get back to you when I have something for you to decipher |
Provided zip installed. Enabled debug logging - and tried the add-on again. Nonetheless - I have attached a snippet of the kodi.log file @ the time the error occurred. I will keep running the debug version - and have also enabled re-caching to see if it has failed tomorrow. |
An update on this issue. When checking Kodi in the morning - it sits here: When I navigate away (back out from this location) - I get this: Opening the add-on - and choosing "Programmer A-Å" - then e.g. D - it takes ages to load the next page - so it seems that caching failed. I forgot to enable debugging - but will leave it on tonight - and check on results tomorrow morning. |
There are two issues here.
I'm not sure why dr.dk sometimes fails, but I can reproduce somewhat here, and will see if I can make a retry that works ok for the most part.
|
Thx @TermeHansen for elaborating on the two issues. I am looking forward to testing your local fix when it's ready :) |
OK now I have pushed an update to https://github.com/xbmc-danish-addons/plugin.video.drnu/archive/refs/heads/IOexception.zip you can force a rerun of caching of all items like the cron job, from settings by pushing the "recache all". with this update I have also added a retry of 3 times before it will crash if dr does not respond correctly. |
Thank you for that. Steps:
Kodi.log attached - along with a screenshot. |
so no crash for now? |
No crash for now. |
Check this morning - Kodi sits here: Backing out - results in DR Addon failed - check the log - repeated several times - before I successfully manage to exit from that screen. Log attached |
Not sure what you mean by "DR Addon has disappeared" ? As far as I can see the cron "re-cache" job finished successfully last night. Because you had run a full re-cache job the the evening before and you probably have left the expire time at 24 hours, the job didn't update anything in the cache database. I have set the re-cache job to go to home screen when called from the cron job, so not sure why you didn't see it there this morning - I don't see anything in the log about this. In the morning the addon crashed in getting a new token from dr. I actually had an incident some hours ago where the login didn't work (see my new issue #115), but somehow dr reverted back to the old and the login flow worked again some hours later. Does the addon work now for you now (are you logged in) ? Can you make a test where you go to the cron addon (it is in the program addons) and set the cron value to something a few minutes in front of you and see what it does? I just did it here (changed for "25 21 * * *", so it ran at 21:25), all good and ended at home screen when it finished. |
Disappeared = Could not find the add-on afterwards - and it seems like it got uninstalled (never seen that before). Anyways - I made a fresh install (not preserving settings) - so lets have another go. This morning Kodi is again sitting @ the "Videoer" screen (as shown in the reply above) Returning to the add-on - it seems like cache is updated as I can browse "Programmer - A-Å" without waiting for ages. Tonight I will try your suggestion with setting the cron job - just a few minutes ahead and observe what's going on. |
Running latest version of the Kodi add-on DR TV.
When I enable re-caching in settings - I get this error (se screen dump)
Running Kodi on a Vero 4K+
If log files are needed - give me a holler
The text was updated successfully, but these errors were encountered: