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.
synchronator
-
Trying Synchronator from Github.
How can I connect this module with Pythoniata?import DropboxSetup
ImportError: No module named 'DropboxSetup'
Thankyou
-
Hi,
The DropboxSetup.py can also be found in the synchronator Github repo. The quickest way to get it may simply be to copy and paste its raw content into an empty script in Pythonista.
Note I found that I also needed to use stash/pip to install a new and updated version of requests. The default version installed by Pythonista has a bug that Dropbox hits at runtime.
-
WARNING
Please exercise caution using anything dropbox related at this time. It appears that the people that maintain the requests library have introduced changes that are not backwards compatible and the dropbox package has not been updated to support the latest version of requests.
In addition the new version of requests is attempting to reference a version of urllib3 that StaSH does not have access to or is not in the repo stash is using.
All of this leads to applications like Synchronator being broken until all of these libraries are made consistent with each other.
If someone knows how to fix these issues please let me know, otherwise I am in communication with the developers at requests and dropbox trying to get this resolved.
-
Can you use an older version of requests?
-
@markhamilton1 thank you for your diligence in fereting out solutions to the compatibility issues.9
I
Updated dropbox and requests modules before reading your warning consequently Synchronator and DropboxSetup are broken. Do you have a suggestion? -
can anyone post tracebacks of the issues?
-
I will point out that I was able to run synchronator, and it seemed to be working. I used the requests and dropbox modules installed in the beta (2.9.0 and 6.4.0 respectively). The script ran, and started copying files, though I cancelled it before it got too far.
-
I am a power user of Synchronator as I do cross development on Windows/Pythonista.
I just checked my versions of requests and dropbox, which work fine in my case:
requests: 2.18.1
dropbox: 8.0.0