![]() |
Re: [Announce] DropN900 - the maemo 5 DropBox client
First of all I am very sorry for not pushing releases as I have promised. Things have been busy at work, doing 8-12 hour days coding I usually enjoy hanging with our dogs and my girlfriend in the evenings. On the weekend I have had gigs (I play the drums in two bands) and other business I've had to attend to. I have already done upload sync, today/tomorrow I will finish testing it and push a release for you guys. The camera pic upload functionality I have not done, but with this new sync capabilities you can setup to sync that too.
No for replies... then off to work to push the new update! Quote:
Quote:
Quote:
Address book integration might be possible in the future, I'd have to check out how to set up this kind of thing in maemo, but first I want better functionality to the main app. Folder download/upload is possible also, I will put it on my to-do-list. Quote:
Quote:
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
Thanks for taking the time to even see about our features request. And take your time you got a life outside of coding and we all understand that. ;)
Only reason I said android was because I have a few friends with it. So whenever I see an app we got that another OS got I usually ask if the features they have can be input into the maemo platform. Cheers :cool: |
Re: [Announce] DropN900 - the maemo 5 DropBox client
dropn900-0.1.5-3 now available as a download/update!
Please provide feedback on the upload sync on how it works. I tried to test all possible scenarios but might have missed some. Code commit for this release. Note: Again uploading files from your device that path includes non-ascii chars will not work. I have made a filtering system to the sync manager to get these out of the sync files. The report dialog will show you all the skipped files in the end. This is a bug in the dropbox python client that is provided from dropbox.com folks to developers. So it is out of my hands untill I go and modify those sources. The client doesent like file objects that have a path eg. /home/user/äöä.file and will return a error. P.S. Had some problems with the paypal link under about dialog. Now the buttons should be working and going to correct url :) Hence the three builds, sorry for the constant updates for those who got -1/-2 builds. |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Brilliant, thanks a lot! First quick test worked flawlessly, I like! :)
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
Will this ever come out for the N810?
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
Quote:
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
Let me try installing and see what packages are missing.
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
I guess if you get .deb files for all of those then you might have a shot. Check the first post "dependencies" part, it has detailed list on what packages you need for dropn900. |
Re: [Announce] DropN900 - the maemo 5 DropBox client
I'll try and look, but I doubt that they are avaliable for the N810
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
Just installed and tried sync. Hmm. It works but some of grievances.
I synced 142 files at once and basically i could not scroll transfer window list because it was so badly stuttering and it would have taken too much of finger swiping because it started from bottom. Also device heated little a bit. I do not know how resource critical file uploading is? I do not know if slow scrolling was because of neat animation besides currently uploading file or just low resources, but IMO even thought eye-candy is in some places nice, but if it slows down or fills too much pixels then itīs just in away. I hope that itīs suspended when you are not looking transfer window. Also when syncing the main page doesnīt show any indication of on going progress like 1/23 files synced. Feature requests: Possibility to select multiple files and download them Possibility to download whole directory Double click functionality Long press functionality Great application :) .edit Also I didnīt try but what happens if syncing is running on "background" and you start renamind/removing/downloading files on main window? |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
So yes, I have also tested with something like 192 small file downloads and the painting is too slow when DL/UL is going on and after that also, I just think its too heavy in general not while its loading other stuff. File upload/download is probably very heavy for the cpu, my "eye candy" animations should not be heavy at all compared to the real heavy lifting. If you really do this big syncs all the time (i suspect that you wont) just move slowly in the transfers window with your finger swipes and its better :) All the networking and file I/O is threaded. This is why you can move in the app while something heavy is happening in the first place. So this is the best I can do with python, I could change the transfers UI a bit to make it perform better, but really i dont think its the eye candy (read: nice stylesheets, some images) that is making it slow, its the high number of items added there, cause with ~20 you are fine scrolling how you like. Also it should be fine to do other stuff in the main ui when sync is going on. As said its threaded so the thread will just wait for its turn to be executed. I think I have own pollers in both sync and normal action threads, so basically you would be running main + 2 extra threads if you do other actions, but in theory should be fine. Possibility to select multiple files and download them
And no I don't think the own view/model thingie would be easy to make :) So maybe I'll do a UI update when I have all the necessary functionality in that people want. Thanks for the feedback! |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
So yes, I'd still like a button down there with the rest :-) |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
My main use for DropN900 is to easily bring (and update) to my N900 various unpackaged Python projects (mine or other people's) so I can try them out, or just use them, under Maemo5. I put these in a special subfolder of my Dropbox root on the PC, matching a subfolder of my dropbox root on the N900. Up to now, one-way sync worked real well for this, but real two-way sync is almost useless : now DropN900 insists on uploading .pyo files, changed data and settings files, all sorts of stuff which is at best useless, and at worst pollutes the online Dropbox contents. I see two ways I could have my setup back and still please the "real-sync" users : * the easy one : implement whole directory download as already mentioned by 'slender'. With a "silent update" option it would be just like the old one-way sync :-) * the better one : add a one-way/two-way choice in the sync settings. Or even let users define *two* local sync folders there, one being full-sync, the other one-way (or each with its own option, etc.) What do you think ? :-) PS: I do believe the eye candy in the (very nice) transfer window is responsible for most of the slowdown. Maybe a simpler UI, like plain scrolling text, would be less taxing. |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
Would this fit your needs? Also I think the eye candy is not the problem but python + Qt, as said I would need to test this out with C++ to see if it would still be a problem. I certainly am not going to downgrade my ui to text only, as I am a ui freak and want everything looking nice. On the other hand if the usability starts to hurt to much then its a problems. I haven't gotten slow downs in transfers ui when having ~20 items. If you do syncs bigger than this every time i guess it might be a problem. One solution for this would be to make one big sync item in the transfers thing and update that when the thing progresses, then you just wont have so detailed info (from, to, timestamp, time spent, size) for every single item but a combined thing. Maybe I'll do this, what do you think? 1) Filter out extensions from upload and download (eg. .pyc, .dll) 2) Make Transfers UI use a single sync status item that updates the combined state of the sync. Any takers? |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
But yes, of course it would be just fine. Actually this is exactly what I already do between my 3 PCs and my Dropbox account itself, so having this filter capability also between Dropbox and my N900 would be ideal ! Quote:
I just realized something I found wrong with the previous way of synch'ing : 1) first you got a (static) screen that told you how many files would be changed, and in which folders, before continuing. But you didn't know exactly _which_ files, so it wasn't always easy to decide. 2) you only found out which ones on the second, graphic-heavy, dynamic screen, but then they were already being downloaded... So your new approach would correct both problems at once : first, a very detailed (but static) report of all that's going to happen (like in the new version) ; then a dynamic, but much lighter animation to show the sync progress. I think it's worth trying. Oh, and the big red sync button too :-) |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
Should not be heavy? Have you tested with just simple list without animations :) And itīs true that I do not often do this kind of syncing. Quote:
btw. one more request. - Ability to run sync from cli (with errorlevels and maybe option for animation 1/23..2/23 etc.) so that i can add it to scheduled tasks. |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Hi,
thanks for this great application, just a little request: If I delete some files from my pc the dropbox client delete them from the server, but if I try to sync the folder with DropN900 those files are not deleted from my N900 but they are uploaded to the Dropbox server, I think there is something wrong. Many thanks. |
Re: [Announce] DropN900 - the maemo 5 DropBox client
I am absolutely loving this app. Thank you for creating this! :)
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
1. The file is new, created by the user in the folder and he wants to upload it to server with sync. 2. This file is not present on server, so this file should be deleted? I cannot predict what of these two scenarios has happened. I cannot ask the server for "history" or ask it if this was before there and I should delete it locally. I'm afraid this is a hard problem to figure out without getting some kind of notification from the server. Even the dropbox team has not done synchronization for the iPhone application (at least last time I checked) and these kind of things might be exactly the reason. Hopefully the API will get better and I can go around this. Of course I could keep some kind of "last server history" of all the folders locally, this would be some work though. Other thing would be to ask "Do you want to upload or delete local files that are not present on the server?" or something, dunno. I think at this point you will have to go and delete the files manually, I didn't think of this when I made the upload sync but you are 100% correct that this is bad and should be fixed. I am currently abroad in Macedonia and cant dev maemo here easily so this will have to wait, sorry for this. |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
thanks for your reply and efforts, I think to be able to select/unselect the files that are in the upload list can help (semi-automated sync). |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Loving this kind of apps, thnx again for all ur hard work u put into it, greetz from holland, Joel
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
All the app developers have been contacted by Dropbox and requested (optional of course) to fill in some details about their app. I have created my app to the website now, if someone feels up to it maybe go and add a review of my app :) You can login with your dropbox credentials as usual and drop the app a line or two and give it a few stars maybe.
https://www.dropbox.com/apps/850/dropn900 |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Thanks guys for the positive feedback to the Dropbox app page! Also thanks Thomas W. for the donation, appreciate it! Did you have any requests to go along with that donation what I can take into consideration? :)
Will get back to work on this app after I get back to Finland from Macedonia. I will address the sync upload/delete dilemma and simplify the file transfer widget so it wont be a performance issue. I could try now that the "big" stuff is done to do more smaller incremental fixes. Making release takes about 15 minutes in total when the source is done. I could also code here at the hotel when I have nothing to do but then I'd need to test my code on the device so its a lot slower than developing with the scratchbox/emulator. |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Thx again for all your work jonnenau!
any idea on when the "big just press me to start syncing" widget/buttom would be ready? thx Zeltak |
Re: [Announce] DropN900 - the maemo 5 DropBox client
When I get back to working with dropn900 code :) Still another week abroad at least...
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
I just can't get this to work at all. I wonder if anyone could give me a hand?
When I click the dropbox icon my n900 hangs for a minute then goes back to the homescreen. I have entered this code in xterm. sudo gainroot python2.5-qt4-network python2.5-qt4-webkit And it says its not found. I have had a quick look through the thread but nothing has jumped out on me that I can try, although there are a lot of pages and I may have missed something. I'd be really grateful for any help, thanks. |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
Code:
/opt/dropn900/dropn900.py |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
Hmmm. Maybe bit better suspend management or this might be just my mistake.
I was connected to Wlan and DropN900 was connected and did synchronization. I keylocked N900 and put it in my pocket. Checked that sync was over before left wifi connection area. Keylocked again and went shopping etc. 4 hours later I opened N900 and switched DropN900 which had been open all the time (I do not always close apps as I try to learn multitask with n900 :D) and looked that it just keep on trying to connect, but of course could not because I use only wlan connection and no 3g. Looked batterygraph and it showed that Cpu had been 50% of whole "suspend" time. So basically dropN900 tried to connect constantly even thought there was of course no connection. Donīt know what is the appropriate fix/workaround for this. .edit One additional thing. It looked like when I did sync to my photo dir the main view of DropN900 kept also updating it constantly.Iīm not sure that if itīs wise to run both "sync" at same time automatically thought. It probably keeps cpu pretty high. Maybe to refresh selected dir once if itīs selected but otherwise keep it "out of sync" until sync in background is over. |
Re: [Announce] DropN900 - the maemo 5 DropBox client
It should not poll for a connection many times, I have to check that. I could somehow figure from dbus when device is put to sleep and do nothing, but most might want it to continue sync when screen saver hits in and sceen goes blank. So how should I predict when you want and don't want it to do stuff when you but the screen blank? Or was this just the issue what is should do nothing when wlan is lost?
Also it should not fetch metadata for the main view every time a sync file is completed, I should have different code paths for normal and synced transfers. DL does not fetch metadata even if you instantiate it from the main ui, UL will alter the folders content and then it will fetch. It should not however do it if the UL is done via sync. But I will have to check for that too then. Thanks for the report, these things are especially important to tell me. As I don't use my own app for nearly anything, it's all for you :) |
Re: [Announce] DropN900 - the maemo 5 DropBox client
rob1n this is what i get
/opt/dropn900/dropn900.py Traceback (most recent call last): File "/opt/dropn900/dropn900.py", line 6, in <module> from PyQt4.QtCore import QObject, QEvent RuntimeError: the sip module implements API v7.0 to v7.1 but the PyQt4.QtCore module requires API v8.0 Any ideas? |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Don't you see an PyQt update available in App Manager ? There was a buggy version available for a short while some time ago, that gave that symptom. If not, just uninstall/reinstall PyQt.
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
Sorted fpp. Thank you!
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
Just posted a review about your app on the site.
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
I am obviously not having much luck tonight! Anyway I can't actually get my n900 to sync with dropbox and take the pictures from my device to my dropbox account.
Do I have to do each photo individually? |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Did you define the specific Dropbox subfolder you want to sync in the Settings ?
You need to do that first, *then* select that folder in the main view, *then* use the Sync button. DropN900 doesn't blindly sync your 2GB+ Dropbox account to the N900, which is wise enough for a mobile device IMHO :-) |
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
Quote:
As said above and in the settings UI. Travel to the path in the main view where you would like to sync. Then open settings UI from the top menu. Go to sync settings at the bottom, select your path, save settings are open main menu and hit sync. Confirm dialog should come up in few seconds and then just accept it to start DL/ULs. |
Re: [Announce] DropN900 - the maemo 5 DropBox client
In the mainview the only file path i have is dropbox - photos - sample album. I cant go any higher up the file tree at all.
|
Re: [Announce] DropN900 - the maemo 5 DropBox client
Quote:
If you have stuff in lets say "Photos", just go to settings and select photos as the sync path and start the sync. If you want to upload from your device youll have to move some stuff after the first sync into /home/user/MyDocs/DropN900/Photos. If you want stuff from your PC into your N900, install the PC client and drop stuff into the Photos and then sync on your device. |
Re: [Announce] DropN900 - the maemo 5 DropBox client
right I think I get it now. Have moved everything from my camera folder on my n900 into the dropbox photo folder. Changed the settings. but it seems not to upload anything from my n900 apart from the files i manually uploaded when i first got it to work.
Its getting a bit late now so I will have a look tomorrow. thanks for your help. |
| All times are GMT. The time now is 19:37. |
vBulletin® Version 3.8.8