maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] DropN900 - the maemo 5 DropBox client (https://talk.maemo.org/showthread.php?t=58882)

dglent 2011-06-20 11:57

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
i can synchronize if i uncheck the synchro in wlan option

dglent 2011-06-20 18:51

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Now i am able to synchronize

Id like to ask if it is possible to have the DCIM/ folder synchronized. Id like to have synchronized all the videos and photos that i have. If i move them to the DropN900 folder the only problem is that in the media player i dont have them available.

I tried to rename the paths in .config/user-dirs.dirs as said here:
http://talk.maemo.org/showthread.php?t=36348

so i can define the DropN900/ folder as the default folder but after reboot i dont have the folder DropN900 visible in the file manager and the media player does nt have the videos in the video menu.

I tried to do a symlink but it i have the message operation denied

any idea ?

guyr 2011-07-04 06:12

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Quote:

Originally Posted by dglent (Post 1033095)
Id like to ask if it is possible to have the DCIM/ folder synchronized. Id like to have synchronized all the videos and photos that i have. If i move them to the DropN900 folder the only problem is that in the media player i dont have them available.

Create your Dropbox in /home/user (not /home/user/MyDocs !)
using the DropN900 interface.
Change /home/user/MyDocs/Dropbox to /home/user/Dropbox
Then synchronize
Now you can create a link with DCIM and synchronize your pictures :
on xterm (as user) :
cd /home/user/Dropbox/Photos
ln -s ../../MyDocs/DCIM/

Now you can synchronize DCIM ...

dglent 2011-07-04 18:24

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
excellent !
thanks:)

rikisky 2011-07-14 06:23

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Hi, can anyone help me?.... the application gives me "password invalid" but i can log on any other computer using the same username and password. It worked perfectly for like a day, but then i turned off my phone and it never worked again, i really need this app since my usb port broke and dropbox is the easiest way to transfer files between my phone and my pc.... is there anyway to completely delete the app so i can reinstall it and see if it fixes itself? or what do i need to do so i can log in? it's not autocapitalizing since i copied the password off somewhere else :S

RWFarley 2011-07-17 21:46

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Is there any hope that DropN900 will make it to Extras??

istota 2011-07-28 17:37

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Quote:

Originally Posted by rikisky (Post 1050639)
Hi, can anyone help me?.... the application gives me "password invalid" but i can log on any other computer using the same username and password. It worked perfectly for like a day, but then i turned off my phone and it never worked again, i really need this app since my usb port broke and dropbox is the easiest way to transfer files between my phone and my pc.... is there anyway to completely delete the app so i can reinstall it and see if it fixes itself? or what do i need to do so i can log in? it's not autocapitalizing since i copied the password off somewhere else :S

hello

I have the same thing that you have the cssu?

DashX0 2011-08-01 07:04

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Okay, it seems that this thread is dead so if no one answers I'm creating a new one.

Just as the above users I'm having a problem trying to authenticate with no success, can anyone comment on this issue and tell us how to resolve it?

Thanks to anyone who answers.

istota 2011-08-03 11:08

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
I do not know what happened is ok. Logs in to my dropbox:)

jaromrax 2011-08-22 16:03

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Sorry to say that, it is a complete mess for me.
I created a dropbox on pc, seems works fine.
I enabled extras-devel, installed on n900, disabled extras-devel.
After one hour, I have very little idea how this is intended to actually work.

It always creates also MyDocs/DropN900.
<don't show dialog> - no idea what this should mean
Synchronizing - sync path is never visible and apparently, only one directory is allowed to be synchronized..
<Only sync on WLAN> inhibits sync at all.

POSITIVE PART:
I found, that you cannot link a directory directly
/home/user, but you can do e.g.
mkdir /home/user/Docs
cd /home/user/Docs
ln -sn ../MyDocs/.documents documents

and this way it is possible (if you create a folder Docs inside dropn900 program) to synchronize a folder <Docs/documents>. But basicaly, you use a /home partition for the rest of dropbox, where the space is precious. On the other hand, since I selected </Docs/> in the puzzling <synchronizing> settings, any other dropbox directory does not react on <sync now>.

The program is discontinued, and it really needs a hand to get it into a reasonable shape. Pity that there is no spare python coder here.

eachna 2011-09-06 14:52

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
I'm unable to connect as well (will not accept a valid email/password).

sm8ps 2011-09-16 23:50

DropN900 - patch for purging media off N900
 
1 Attachment(s)
[Updated 20111025, see below]

Dear all

I have been using Jonnenau's Dropn900 for several months now(*). I especially like the "sync media" feature as it perfectly fits into my work flow. During a work day I take several pictures that need to be downloaded from the device, re-formatted and then put onto some web site. Dropn900 spares me from hooking up the device to my computer for pulling the images over. Instead it pushes the image files right into a location on my Dropbox folder from where I can access them.

The only thing that really bugged me was the fact that deleting pictures from my Dropbox folder made Dropn900 prompt for uploading them again at the next media synchronization. Thus my image folder was getting filled with obsolete pictures that I could not get rid of in any other way than manually deleting them from the N900.

(*) I must admit that I have not been using the true Dropbox features of the app much. Mainly because I access those files from my laptop. Yet also because the regular synchronization suffers from similar issues as the media synchronization.

Having just recently acquired a copy of the Python Pocket Reference by O'Reilly Media, I decided it was time to step into action. Having had no prior experience with Python and being by no means an expert programmer of any kind, I could not help but admire Jonnenau's clean programming style. It was very easy to find an entry point for my endeavor. Equally so to study his way of handling the comparison of local and remote files.

Within less than about an hour I had understood enough of the code to add the "Purge Media" option to the "Sync Media" menu which will delete all local camera files that are not already present on the remote Dropbox. The names of the purged files are logged.
¡WARNING: this option will also erase any files that have not been up-loaded to Dropbox yet!

An adapted work flow will prevent data-loss.
1.) Synchronize all camera media from N900 to Dropbox.
2.) Delete obsolete camera media files from Dropbox.
3.) Only then purge camera media files from N900.
I hope to have chosen a drastic enough expression by "purge" -- evocating the proverbial purgatory -- to make everybody think twice before light-heartedly pushing the button.

Be aware that this does not apply to the regular synchronization of files and folders. The rationale is that camera media usually is not modified locally and therefore does not need to be truly synchronized but in fact only be up-loaded from the N900 to Dropbox.
¡ If your own personal work flow makes you modify camera media on the N900 [after up-loading to Dropbox] then DO NOT follow these instructions!

Find attached a patch to update the file '/opt/dropn900/transfers.py'. If you are ignorant about how to work with patches (like myself half an hour ago) then let me give you some advice. From the terminal as root:
1.) mv transfers.py.patch.txt /opt/dropn900/ [changed 20111025: new patch file]
2.) cd /opt/dropn900/
2.a) cp transfers.py transfers.py.bak [added 20111025]
3.) patch -i transfers.py.patch.txt [20111025: option '-b' removed]
This will apply the patch to the file '/opt/dropn900/transfers.py'. If need be, you can easily revert to Jonnenau's original version.

I would like to express how thankful I am towards Jonnenau for providing the community with his great work. Furthermore this whole episode makes me feel very proud of not only being part of an open source community but finally contributing some (albeit small) share to our overall progress. Now I can join the exclusive club of Linux hacker savants -- simply hoping I did not mess up anything!

Sincerely,
Stefan Mueller
Switzerland

Update 20111025: I must have done the patching on my laptop computer but I do not remember. For I encountered the same difficulties as user noetus. So I adapted the instructions as well as the patch file. Sorry again for any trouble caused! -- Hope I got it right this time!

JamesBond@ge 2011-09-17 22:02

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Wow, sm8ps. Thanks very much for that. This is a problem with DropN900 that has irked me for some time now.

Is this patch easy to adapt to fix the regular synchronisation too?

sm8ps 2011-09-19 21:29

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Hi all,

today was the first productive usage of the purging. It worked just fine. Be warned though that there is no warning of any kind before it deletes files without mercy. Over time it is certain that somebody will loose data because of that, so please make sure it is not you! (It might be me, I am afraid ...)

I do not recall my analysis of the regular synchronisation. After all my focus was not on that case and it was after midnight when I got done with my patch. So I do not recall what made me feel that the patch was not easy to adapt to fix for that.

On second thought, however, I believe the difficulties should/might be not so big. Now that you asked I will put looking into this again on my to-be-done list. So stay tuned but be (very) patient!

Cheers!
St. Müller, Switzerland

JamesBond@ge 2011-09-20 19:31

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
That would be great. Thank you very much Sir.

maluka 2011-10-06 16:19

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Will DropN900 be ported to the N9?

noetus 2011-10-16 11:01

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
I can't get syncing to work AT ALL.

For regular (non-media) sync, I select a path in Settings to sync. As a test, I have one file there in my online Dropbox, and a different file there on my N900. It correctly identifies that it has to upload one file and download the other one, goes through the motions of doing this, confirms it has been successfully done, but when I go to either the online folder or the local one, nothing has changed. None of the files were uploaded/downloaded. I can go through the sync process again, with the exact same results - it says (correctly, as it didn't happen before) that it must download one file and upload the other one, goes through the motions of doing this, confirms it has been done, and again nothing has changed.

I know the developer has since abandoned this app, but if anyone else when through this schmuzzle and found a solution, please share. I kept my local dropbox path (in the N900) as the default.

I also tried media share. It said there were no files to change, even though I have a bunch of photos, etc, on the N900. So these were igored, and nothing happens.

Seems to me as if this app is completely broken, yet other users on here are reporting it as working correctly, so I'm puzzled.

kolos 2011-10-16 13:17

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
You are right, files can't be uploaded, but they can be deleted, also folders can be created. Uploading also doesn't work with MicroB, except when the basic uploader is selected.

noetus 2011-10-16 15:44

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
I think I'm going to look into other solutions for remote file syncing. I run my own home server, so don't strictly need the services of companies like dropbox. I looked at rsync, but getting it to sync (rather than mirror) is a pain. Next stop: unison. I am also installing easy debian and am curious if Powerfolder will run on it, which is a java app. If it does it will probably be a resource hog - it can be a resource hog even on my desktop machines, though on the n900 I would be syncing a fraction of the data, so maybe it would work.

memeces 2011-10-16 20:29

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Since a few days ago DropN900 is not syncing any files. It detects that some files have changed, apparently does sync them but they are not. The next time I try to sync the same files appear in the list of files to sync. I removed some new files in the DropBox server to check whether they were causing the problem, but the problem persisted. Today I removed DropN900, deleted the program folder and reinstalled the program. The same problem again. I guess there has been some change aither on the DropBox side or on the phone after some actualization that has broken the synchronization.

noetus 2011-10-17 13:31

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Is it possible that since the developer abandoned the program some time ago his subscription over at DropBox for the API access has run out?

Henry Triplette 2011-10-17 14:27

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Quote:

Originally Posted by noetus (Post 1109966)
Is it possible that since the developer abandoned the program some time ago his subscription over at DropBox for the API access has run out?

Well, I've found a quick fix, and everything seems to work now.

You just need to edit the default .config file of dropbox, located in:

Code:

/opt/dropn900/.config
[If you have leafpad installed, do:

leafpad /opt/dropn900/.config]

and change the following values with:

Code:

server = api. dropbox. com
content_server = api-content. dropbox. com
port = 80

request_token_url = ht tp:// api. dropbox. com/0/oauth/request_token
access_token_url = ht tp:// api. dropbox. com/0/oauth/access_token
authorization_url = h ttp:// api. dropbox. com/0/oauth/authorize
trusted_access_token_url = ht tp:// api. dropbox. com/0/token

Remove the spaces before, sorry but link in post are limited.

memeces 2011-10-18 10:07

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Many thanks Henry. Your solution works like a charm. It even solves an error message I had lately when the synchronization was still working. The only problems I had at first when implementing your solution was that LeafPad was reseting the phone when trying to save the modified config file. I had to do it as a root user
Code:

sudo leafpad /opt/dropn900/.config
Another thing, do not try to use the Notes applications that comes with the phone to modify the config file because then DropN900 crashes. Although Notes was in simple text mode it must add something to the config file that DropN900 does not like at all.

noetus 2011-10-20 07:43

Re: DropN900 - patch for purging media off N900
 
Quote:

Originally Posted by sm8ps (Post 1089791)
Find attached a patch to update the file '/opt/dropn900/transfers.py'. If you are ignorant about how to work with patches (like myself half an hour ago) then let me give you some advice. From the terminal as root:
1.) mv transfers-pm.py.patch.txt /opt/dropn900/
2.) cd /opt/dropn900/
3.) patch -b -i transfers-pm.py.patch.txt
This will apply the patch to the file '/opt/dropn900/transfers.py' while backing up the original version in the same folder. So if need be, you can easily revert to Jonnenau's original version.

I am getting an error for using the -b flag:

------------------------------------------------------------------------------------
Nokia-N900:/opt/dropn900# patch -b -i transfers-pm.py.patch.txt
patch: invalid option -- b
BusyBox v1.19.2 (Debian 1.19.2power1) multi-call binary.

Usage: patch [OPTIONS] [ORIGFILE [PATCHFILE]]

-p,--strip N Strip N leading components from file names
-i,--input DIFF Read DIFF instead of stdin
-R,--reverse Reverse patch
-N,--forward Ignore already applied patches
-E,--remove-empty-files Remove output files if they become empty
------------------------------------------------------------------------------------

What am I doing wrong?

Rob1n 2011-10-20 08:16

Re: DropN900 - patch for purging media off N900
 
Quote:

Originally Posted by noetus (Post 1111232)
What am I doing wrong?

Nothing - the busybox version of patch doesn't support the "-b" flag. Make the backup manually instead:
Code:

cp /opt/dropn900/transfers.py /opt/dropn900/transfers.py.bak
Then run the patch command without the '-b' flag.

noetus 2011-10-20 09:44

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
OK, so now I get:

Code:

Nokia-N900:/opt/dropn900# patch -i transfers-pm.py.patch.txt
patching file transfers-pm.py
patch: can't open 'transfers-pm.py': No such file or directory


Rob1n 2011-10-20 09:50

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Quote:

Originally Posted by noetus (Post 1111267)
OK, so now I get:

Code:

Nokia-N900:/opt/dropn900# patch -i transfers-pm.py.patch.txt
patching file transfers-pm.py
patch: can't open 'transfers-pm.py': No such file or directory


Either the patch is incorrect or the busybox version of patch is being pedantic. Try editing the patch file and changing the "transfers-pm.py" to "transfers.py" at the top.

noetus 2011-10-20 10:19

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
This is odd. So I edited the file as you suggested, and this time the patch command completed successfully. But when I restarted dropN900, there is no change - no 'purge' button is there. Restarting the phone didn't help (didn't think it would).
[EDIT] Never mind. Re-read the original post, it only works for photos in the DCIM folder. And it seems the 'Sync Media' button in dropn900 only applies to the DCIM folder on the internal memory, the external card is ignored.

sm8ps 2011-10-21 15:59

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
noetus,
Sorry for the trouble with my patch! I shall have a chance to revisit it as my n900 is FUBR and I shall probably have to reinstall from scratch. I was using the full GNU core utilities instead of busybox.
Cheers!

barzam 2011-10-24 17:05

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Just a heads-up, new API just released:

https://www.dropbox.com/developers/announcements/11
http://forums.dropbox.com/topic.php?id=46501&replies=12

sm8ps 2011-10-25 19:02

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Dear all,

I updated my above post #372 to account for the difficulties encountered by noetus. The patch file has been adapted as well to reflect the necessary change in file names.
Plus I would like to point out that it seems to be normal behavior that the application will seemingly not terminate. After all there are neither up- nor downloads which is all the program's logic was designed for. Though, since local file deletion happens quickly, one may quit (almost) instantly. Yes, it is an ugly hack.

Cheers!
St. Müller, Switzerland

br1zer 2011-10-27 13:39

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
the Dropn900 page on the Dropbox website now shows a holding page that states

"as of October 22nd, we have shut down the Dropbox app directory indefinitely"

rebhana 2011-10-27 20:32

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Quote:

Originally Posted by br1zer (Post 1114560)
the Dropn900 page on the Dropbox website now shows a holding page that states

"as of October 22nd, we have shut down the Dropbox app directory indefinitely"

I just started to use dropbox on my computer and was considering to install dropn900. Does your message mean that dropn900 will no longer work?

zdanee 2011-10-27 20:50

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
It still works fine for me.

rebhana 2011-10-27 20:56

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Quote:

Originally Posted by zdanee (Post 1114800)
It still works fine for me.

Do you know whether on installation the dropn900 package needs to download the closed-source part from the now shut-down page?

Rob1n 2011-10-28 08:09

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Quote:

Originally Posted by rebhana (Post 1114793)
I just started to use dropbox on my computer and was considering to install dropn900. Does your message mean that dropn900 will no longer work?

No, it just indicates that Dropbox have decided not to keep maintaining a list of Dropbox applications.

elyoni 2011-10-31 10:18

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Quote:

Originally Posted by Henry Triplette (Post 1109998)
Well, I've found a quick fix, and everything seems to work now.

You just need to edit the default .config file of dropbox, located in:

Code:

/opt/dropn900/.config
[If you have leafpad installed, do:

leafpad /opt/dropn900/.config]

and change the following values with:

Code:

server = api. dropbox. com
content_server = api-content. dropbox. com
port = 80

request_token_url = ht tp:// api. dropbox. com/0/oauth/request_token
access_token_url = ht tp:// api. dropbox. com/0/oauth/access_token
authorization_url = h ttp:// api. dropbox. com/0/oauth/authorize
trusted_access_token_url = ht tp:// api. dropbox. com/0/token

Remove the spaces before, sorry but link in post are limited.

if i dont have the file .config then i need to create one?

crail 2011-11-03 17:02

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
can someone do me a favour and upload a file with this app please. i get an error when the upload finishes. just want to know if its just me.

crail 2011-11-03 19:46

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
.........anyone?

kolos 2011-11-03 20:26

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Quote:

Originally Posted by crail (Post 1117961)
.........anyone?

Here you are.


All times are GMT. The time now is 19:37.

vBulletin® Version 3.8.8