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.


    DropBox 400 v1_retired!

    Pythonista
    7
    20
    14842
    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.
    • peterdougstuart
      peterdougstuart last edited by

      That's great, I'll give it a go.

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

        When I ran Synchronator I got the error "unindent does not match any outer indentation level" which seems comes from line 81 in DropBoxSetup.py. There is an extra space at the beginning of the line.

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

          The Synchronator nows runs for awhile before dying with "Connection aborted: OSError(9, 'bad file descriptor'). If I restart it (several times) it will finally finish.

          mikael 1 Reply Last reply Reply Quote 0
          • mikael
            mikael @ihf last edited by

            @ihf, some ideas about reporting bugs:

            Always good to search the forum to see if others have fixed things already. For best results, use google with the keyword ”Pythonista” included rather than the forum’s own search. For example, I found this.

            Mention the author (@markhamilton1 in this case), so that they get notified even if they have otherwise missed this thread.

            Also an option to post the issue in the Github repository, where it will be more permanently tied to the project.

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

              @lhf I just commited the fix for the indent problem to the git hub repo (my bad), though you can easily fix it in Pythonista. Thanks for letting me know however. I need to pay better attention.

              You will want to make sure that you have the latest requests and dropbox packages. Both changed recently and during the process of working out all their issues they did cause some.

              I use StaSH and pip to install them in Pythonista, and can confirm that they seem to be working properly now.

              Please let me know if that helps.

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

                @markhamilton1 Thanks. Since you obviously understand how to use the new API, I wonder if you could get Dropbox Picker to work again?

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

                  How do you use staSH and pup to install latest requests and dropbox packages?

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

                    Stash is here:

                    https://github.com/ywangd/stash

                    To install updated version of requests type this in stash command line:

                    pip install requests

                    And similarly for Dropbox

                    pip install dropbox

                    If they claim to already be installed, try:

                    pip update requests
                    pip update dropbox

                    Note you will need to kill Pythonista and restart for it to pick up the updated libraries

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

                      It is a good idea to pit the launch_stash.py script in the action (wrench) menu for easy access, as chances are that you are soon pip installing all kinds of packages.

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

                        Eg. My wrench menu looks like the below

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

                          What (and where) is ShaSh?

                          mikael 1 Reply Last reply Reply Quote 1
                          • mikael
                            mikael @ihf last edited by

                            @ihf, it’s a typo, same as Stash discussed above.

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

                              Ahh, OK. I use Stash all the time...I thought I was missing something :-)

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

                                @omz Will dropboxlogin and dropbox be updated for API v2?

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

                                  @Kenbo01 thank you. Do I need to create module from DropboxSetup.py? Currently trying to use script for DropboxSetup s function defined within Synchronator.

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

                                    Hi

                                    I’m managed to install stash and attempted to update requests as per the readme in Synchonator and am now getting the following error, anyone know how I fix this?

                                    /private/var/mobile/Containers/Shared/AppGroup/C0C8A414-409D-4540-878C-0DDC5320C51A/Pythonista3/Documents/site-packages/requests/init.py:80: RequestsDependencyWarning: urllib3 (1.4) or chardet (3.0.4) doesn't match a supported version!
                                    RequestsDependencyWarning)
                                    stash: <type 'exceptions.ImportError'>: cannot import name DependencyWarning

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

                                      Ok so I realised when you pip in pythonista with stash it puts the modules under ‘Modules & Templates/Site-Packages’ which overrides the modules in the ‘Modules & Templates/standard library (x.x)’. I deleted the newly download requests, DropBox Etc from there and I’m back to where I started.

                                      It seems like there is currently some issue with the latest version DropBox and Request packages. Synchronator needs an updated version of these libraries, but currently they are not working.

                                      Does anyone have any other ideas?

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

                                        OK got this sorted. After rolling back the requests and DropBox updates (latest versions) I installed the specific version that synchronator quoted as the minimum using stash

                                        pip install ‘dropbox==7.2.1‘

                                        Now everything works! Thanks everyone.

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