Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Using the Dropbox Module
-
@sidewinder: I think your conclusion is correct. Since the Inbox folder is not generated in the same way as other folders, my guess is that it is read-only to scripts, though I may be wrong.
-
Thanks Coder123! It is strange, the console seems to have permissions to delete scripts in that directory, but not write to it! In any case, the fix above does work now, but it is making me cringe a little. Now I have learnt more Python, a far better way of accomplishing the error handling would be to use try and except.
-
A nasty bug in DropboxSync deletes files with unicode characters in their filename. :-(
-
I've tried the dropboxlogin.py script, il works perfectly with Python 2.7 but not under 3.5's version (even when the print function is updated to the parenthesized form).
Is there a "3.5's" script version available somewhere or is there one planed ? -
@bistrot Add the
#! python2
she-bang at the top of the script to tell it to use the (possibly) nom-default python 2.7 interpreter. -
@bistrot This isn't intended to be a script that's actively maintained in the long-term. You're welcome to update it yourself if you'd like, though.
-
btw, iirc this script used api v1, which goes away in about 1year.
-
@blmacbeth
Thanks for the info.@Webmaster4o
I have some experience with java, but I'm currently in the process of learning Python, so that I'm not able to update anything.@JonB
Indeed, API v1 will be shut down by June 2017.A few things I'd like to suggest (and I know that it makes me a "consumer" rather than a "producer") :
-
Updating the dropboxlogin.py script to API v2
-
Having a DropboxSync.py script working for app_folder access type rather than the full dropbox access : who needs to get all his Dropbox stuff downloaded to Pythonista ? It's a complete mess !
-
Optionaly (but I think, mandatory) : having those scripts in a Python 3.5 version.
And btw, how do you, guys, cope with the whole Dropbox sync ?
-
-
You might want to look at https://forum.omz-software.com/topic/3221/request-token-not-found-from-dropbox-sync-in-pythonista-3