Release gdrive - Google Drive Video/Music Add-on
(2016-02-13, 18:18)ashlar Wrote: No, it's not that. The folder existed.

To be sure I changed the path for Cache saving to one inside Userdata. I ran Kodi as an administrator and I gave write permissions to Users as well as Authenticated Users and Administators to that folder.

Log is here: http://xbmclogs.com/peetuxrhm

You can see that the first error happens at line 703:

16:53:43 T:27276 ERROR: XFILE::CFileCache::Open - failed to open source <plugin://plugin.video.gdrive-testing/?mode=video&instance=gdrive1&folder=0ALqc3r0JSiXEUk9PVA&filename=1qTrssusM7rnkpuYxdKWJM4gyVY09NWG_yNCJwo_mj4c&title=XBMC-gdrive&content_type=video>

And it's concerning being unable to open a source file, if I understand it correctly.

Folder 0B7qc3r0JSiXEWk91dlBlMWRXdEU is created inside the Cache folder (which I emptied before launching Kodi) and the 0B7qc3r0JSiXEWk91dlBlMWRXdEU.jpg file is created but it's a zero bytes file.

And now it fails with no cache selected too... I don't understand, check the log: http://xbmclogs.com/ppwzpei5k

How are you turning off caching. It's getting hung up trying to cache a thumbnail. It can create the file but it gets permission denied when writing to it. It'll always try to fetch the cached thumbnail since the file is there, so it will fail, unless you remove the cache folder altogether in add-on settings. I will add an explicit enable/disable button in settings.

I will continue to look into the file permission issue. Might be an issue with xbmcvfs. I've already found an issue with caching of folder names today (https://github.com/xbmc/xbmc/pull/8531). There should be a fix. Worst case, fall back on os.file to read/write to file.
Reply


Messages In This Thread
u - by Kraevin - 2015-05-13, 17:37
RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - by dmdsoftware - 2016-02-13, 18:45
Logout Mark Read Team Forum Stats Members Help
gdrive - Google Drive Video/Music Add-on12