omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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

    Pythonista
    6
    8
    5259
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • proftlk
      proftlk last edited by

      Trying Synchronator from Github.
      How can I connect this module with Pythoniata?

      import DropboxSetup
      

      ImportError: No module named 'DropboxSetup'

      Thankyou

      1 Reply Last reply Reply Quote 0
      • Kenbo01
        Kenbo01 last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • markhamilton1
          markhamilton1 last edited by

          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.

          proftlk 1 Reply Last reply Reply Quote 0
          • ccc
            ccc last edited by

            Can you use an older version of requests?

            1 Reply Last reply Reply Quote 0
            • proftlk
              proftlk @markhamilton1 last edited by

              @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?

              1 Reply Last reply Reply Quote 0
              • JonB
                JonB last edited by

                can anyone post tracebacks of the issues?

                1 Reply Last reply Reply Quote 0
                • JonB
                  JonB last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • upwart
                    upwart last edited by upwart

                    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

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB Forums | Contributors