robweber / xbmcbackup

Backup Addon for Kodi
MIT License
112 stars 48 forks source link

xbmcbackup won't start on XBOX ONE Kodi #133

Closed WebBuddha closed 5 years ago

WebBuddha commented 6 years ago

I'm trying to migrate my Kodi Settings from my FireTV to my XBOX ONE, but xbmcbackup won't start and is still leaving an errormsg. Don't know how to get the specific Logfile on an XBOX for further details.

robweber commented 6 years ago

I know the Xbox One version of Kodi is still sort of "alpha" software, although I don't know a lot of the details. I do see that there is a Log Viewer addon for Kodi in the Programs area of the addon repo. If you could get that installed and then try and find where the error happens (in the settings you can select "show log when error occurs, this may help"); then post what you can pack here that would be great.

The most helpful part of the log is the error message itself, and then the file and line number of the calling function. If you can fit it into a screenshot rather than typing it that's fine too.

Saner2oo2 commented 6 years ago

Can confirm this, I don't know if it's a script or app issue.

Log file

https://paste.ubuntu.com/26444030/

robweber commented 6 years ago

Thanks for the log file. I've narrowed it down to an import in the core Kodi python directory. I've had to push this up to the Kodi bug tracker as I believe it's a platform issue with the subprocess.py file. Here is a link to the Kodi issue: https://trac.kodi.tv/ticket/17743

Saner2oo2 commented 6 years ago

Sorry, I should have updated here, had a busy day.

A little more info here it https://forum.kodi.tv/showthread.php?tid=308330&pid=2695164#pid2695164

robweber commented 6 years ago

Interesting, seems like this will never work then if the subprocess doesn't exist on that platform. An issue you might have is that when loading the vfs.py file, regardless of what you've chosen, it will try and load those imports. I should probably do things in such a way as only what you need gets loaded, or at least fail gracefully if it can't be and you're trying to use that piece.

robweber commented 5 years ago

This should fix things up I think. The google import now does a soft failure so as long as you're not trying to use it on this platform it shouldn't kill the whole thing.