Closed graysky2 closed 10 years ago
What's the path for the userdata folder on your system?
It looks like it just needs a sane default, even if it doesn't exist (it's not required for all options, particularly JSON-based options).
/var/lib/xbmc/.xbmc/userdata
Is that the standard for Arch?
Any idea what it is after the Kodi rebranding, is it:
/var/lib/kodi/.kodi/userdata
as trying to accommodate both .kodi and .xbmc is what has broken userdata... :)
That's the Arch standard for those wanting a standalone setup (i.e. not running from an existing user/X-session). No idea about the future post rename. Likely, yes.
Can you try this version: http://pastebin.com/raw.php?i=0kNXAA6r
It should hopefully find your default userdata (either xbmc/.xbmc or kodi/.kodi etc.). Confirm with:
./texturecache.py config | grep userdata
In the event that no userdata folder can be found, it will just use "~/userdata" - previously it was trying to use None
hence the blowup.
Works... surprised you didn't commit to unstable!
% ./try config | grep userdata
userdata = /var/lib/xbmc/.xbmc/userdata/
Many thanks - new version pushed.
Thanks for the quick turnaround and for developing this excellent swiss army knife of a script.
1.7.9 works fine, but 1.8.1 throws these error on Arch linux i686: