2013-03-21, 13:16
Hello,
I'm creating an addon that synchronizes a specific folder from dropbox to a local folder. I want to use this on my raspberry pi's (running openelec) as they have no native dropbox solution.
This is my first addon, so I might be doing something wrong.
Here is my code: http://pastebin.com/D2H29vvH
The code is still very rudimentary and the settings & paths are hard coded for now, so I can test it independent of xbmc.
My addon.xml looks like this: http://pastebin.com/BvvFgggi
Now, If I ssh into the raspberry pi device and run the code manually (using python test.py) everything works fine. But inside xbmc I get a notification stating: 'test.py failed' and in the logs I can find this:
http://xbmclogs.com/show.php?id=5952
So for some reason, dropbox refuses the connection, but it's the same script with the same access tokens that works when I run it manually...
Does somebody have a clue why this doesn't work?
I'm creating an addon that synchronizes a specific folder from dropbox to a local folder. I want to use this on my raspberry pi's (running openelec) as they have no native dropbox solution.
This is my first addon, so I might be doing something wrong.
Here is my code: http://pastebin.com/D2H29vvH
The code is still very rudimentary and the settings & paths are hard coded for now, so I can test it independent of xbmc.
My addon.xml looks like this: http://pastebin.com/BvvFgggi
Now, If I ssh into the raspberry pi device and run the code manually (using python test.py) everything works fine. But inside xbmc I get a notification stating: 'test.py failed' and in the logs I can find this:
http://xbmclogs.com/show.php?id=5952
So for some reason, dropbox refuses the connection, but it's the same script with the same access tokens that works when I run it manually...
Does somebody have a clue why this doesn't work?