Skip to content
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

Dropbox does not work for me #68

Closed
claell opened this issue Apr 29, 2015 · 8 comments
Closed

Dropbox does not work for me #68

claell opened this issue Apr 29, 2015 · 8 comments

Comments

@claell
Copy link

claell commented Apr 29, 2015

I use version 1.0.2 on Kodi on my Ouya and also tried version 0.6.0 on Xbmc on my PC.

I created a Dropbox app and entered the key and secret. Unfortunately when launching Backup and select backup, only an error message appears saying that there was a script error.

Is this caused due do me using version 1.0.2 and not 1.0.5? I installed it via the official kodi repository.

Would be nice, if someone can help me.

@robweber
Copy link
Owner

Can you generate a debug log? That would have the exact error in it. You're never getting prompted to visit Dropbox and authorize the application? That is the first step when running via Dropbox for the first time. See the README for exact instructions.

The versions you are pulling in from the Kodi repo should be fine. The 1.0.5 version is not pushed there yet, I'm waiting for dependencies it needs to be added first. 1.0.5 adds Google Drive support and it needs several libraries in the Kodi repo that need to be updated.

@claell
Copy link
Author

claell commented Apr 29, 2015

Thanks for the fast reply. No, i did not get the message to authorize dropbox. The interesting thing is that this also happened on my PC where I installed XBMC for testing. In another thread I read that this can happen, if the keys are not right, but I rechecked it and think I entered them correctly.

The log: http://pastebin.com/WZs4TBeh

Hope it helps you, don't know, whether this is already the debug log.

@robweber
Copy link
Owner

You can use xbmclogs.com to post logs if you need.

I see a lot of 401 errors from Dropbox that come back as "Unauthorized" when trying to run the backup. This means that it can't generate the start of the Oauth request you need. I did a test on my own box and this happens when either the secret or the key are incorrect. On mine I purposly put them in wrong and got the same error. I'll try and add some error checking to alert users to this in a future update.

One way to fix it if you have access to your file system would be to find the "settings.xml" file in the userdata/addon_data/script.xbmcbackup folder. Open this and cut/paste your secret/key into the correct xml values. Don't mess with any of the other settings, but save the file. Restart Kodi to make sure the new settings get loaded, and try again. If this doesn't work check what permissions you gave the App in Dropbox when you setup the application account. Could be something wrong there.

@claell
Copy link
Author

claell commented Apr 29, 2015

I put the log on pastebin now (since it does never expire there).

Just rechecked and I think I put the data in correctly, so I will check the xml file.

@claell
Copy link
Author

claell commented Apr 29, 2015

After checking the xml file, I recognized that I typed a "1" instead of an "l", since they look very similar in the font used on the dropbox developer site.

Now I only need to get Kodi minimized on Ouya / access to the log files while Kodi is running, so I can press the ok button after authorization.

@claell
Copy link
Author

claell commented Apr 29, 2015

Worked with adb, so I close this issue.

@claell claell closed this as completed Apr 29, 2015
@robweber
Copy link
Owner

Great!

@claell
Copy link
Author

claell commented Apr 29, 2015

Thanks for helping out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants