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 File Picker
-
I got it to work (needed to run dropboxlogin before running dropbox sync and then authorize the app on the web) However, each time I run dropboxsync, it downloads everything (or that's at least what it says), then uploads some files and then hangs. I run it again and it may get a little further before hanging. After numerous tries, I've yet to see it run to completion (and sync everything).
-
You might try putting
console.set_idle_timer_disabled(True)
at the top of the script to keep you device awake for the entire sync.If it hangs with an exception, what error text gets printed?
-
I could try that except I touch the screen while it is running to make sure it doesn't sleep. I have now run it more than a dozen times and it will always run for awhile and seemingly finish downloading but never finishes uploading. There is no error message, just sits there until I kill Pythonista.
-
I added the console.set_idle_timer_disabled(True) and it did not help. I find that it can hang during the download or the upload process (more likely the latter) but it is as if Dropbox just stops responding for some reason.
-
Plug your iOS device into a power supply and let the sync run overnight.
-
I think I may have found the problem. DropboxSync does not seem to run (reliably) on an iPad mini 1. I ran it on an iPad 3 and it never paused and ran to completion the first time. Maybe the iPad mini is not fast enough to keep up with the Dropbox protocol? If so, perhaps the script could be altered to operate with a slower processor.
-
Hi, thanks for this. I have done everything and the script works fine and opens dropbox folder and etc. my only problem is that the pop up window is a tiny rectangle. How to fix this? (Using latest beta)
-
If you have the latest beta you shouldn't need this as there should be a cloud file picker in the dialogs module.
-
@lkred - here is how if fixed the tiny box issue ...
class DropboxView (ui.View): def __init__(self, path='/', height=400, width=400): tv = ui.TableView() self.frame = (0,0,width,height) tv.frame = self.frame self.flex = 'WH' tv.flex = self.flex o o o w, h = ui.get_screen_size() root_view = DropboxView(width=w/2,height=h/2) root_view.present('sheet') root_view.load_folder()
-
I made these changes to the Dropbox Picker but I am getting an error:
TypeError init() got an unexpected keyword argument 'width' on the 3rd to last line.
Where did I go wrong?
-
NM, I figured it out.
-
Hi everyone!
File picker throws error about wrong token although it’s 100% OK and previously everything worked fine.
Is it just me?
PS It seems that Dropbox API v1 is completely deprecated. Is there any options to use v2 API? -
if you search the forums for dropbox api v2, or anything dropbox related in the last 6 months or so,myou should find several options that replace the depreciated dropbox module.