Unable to stat url: missing images, rss not updating etc.
#1
Kodi:
Kodi 17.0-ALPHA3 Git:20160731-fc46cf2


OS:
Edition: Windows 10 pro
Version 1511
OS Build 10586.318
Intel® Xeon® CPU E3-1230 V2 @ 3.30 GHz
Installed RAM 32,0 GB
System type: 64-bit operating system, x64-based processor
Pen and touch: No pen or touch input is available for this display


Problem:
I get a lot of "CTextureCacheJob::GetImageHash - unable to stat url" in the log.
The stat-function is called from several different addons causing them to fail in various different ways.


Detailed description of problem:
I do not know why my stat function is not working for some plugins. It seemed to stop working some months ago when I noticed HDTrailers were no longer showing thumbnails.
The TED talks, Engadget and Apple Itunes trailers are not updating their lists - sometimes I can force a reload by updating the plugin to same version from a different repository (switching between local and kodi).

The "unable to stat url" does no longer print the URL, which makes it very hard to debug.
This seemed to have been caused by the commit: https://github.com/xbmc/xbmc/commit/e5e5...-container

I do not know if it is caused by the static/constant "BADHASH" hash-value returned from commit https://github.com/xbmc/xbmc/commit/fb38...973bc4335a
But in general a static/constant hash, might brake things that only update if hash is changed.
A better solution might be to generate a BADHASH-<datetime>, where <datetime> is the timestamp with precision to when "it" should return a new hash.
Meaning "yyyy" (eg. 2016) for only update once every year or "yyyy-MM-dd" (eg 2016-08-06) for updating once every day.

I have reproduced this on different machines with different os and kodi versions (Windows 7, Windows 10, jarvis and krypton)
My network architecture is simple with both wifi and cable to a router to the internet. No proxy.
Kodi uses an external mysql database for backend configured in advancedsettings.xml but that should be irrelevant.

I managed to get the HDTrailers plugin working by modifying the hdtrailer plugin code by adding http://" in front of all the urls hdtrailer was calling (it seemed the plugin was calling with "//<some url" to indicate that the code should just use the same protocol as last time). Obviously modifing a plugin url is not a valid solution as it does not fix the root problem nor the other plugins.

This is not related to local drives pointing to wrong paths (it is urls on the internet for images, rss lists etc.).
This is not related to proxy settings (i do not have a proxy).
This should not be related to network settings as a lot of other network related stuff in kodi works, but anything goes..


Log:
http://pastebin.com/y79TFCHm
Log is showing I start kodi and start 3 different plugins to reproduce "unable to stat" error (notice that i "fixed" the hdtrailers)
Log is not uploaded to xbmclogs.com as it shows "An error has occurred. Please try again later."
Some sensitive information like passwords in config file is edited out
Reply

Logout Mark Read Team Forum Stats Members Help
Unable to stat url: missing images, rss not updating etc.0