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)

Marshall Banana 2013-05-04 18:49

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
memeces: Your package lists may be broken. You can rebuild them like described here

memeces 2013-05-05 10:44

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

Originally Posted by Marshall Banana (Post 1341244)
memeces: Your package lists may be broken. You can rebuild them like described here

Many thanks, Marshall Banana. With your indications I solved the problem and I was able to install the python apps. Now DropN900 connects to the DropBox server, solves the differences between the remote and the local file trees but fails at sync. The program never ends the synchronization. In fact it seems that it finds a problem with the connection. Could it be that there are many files and the time elapsed is above the limit? The log files says this:

Code:

10:21:52 [NETWORK]: Starting network connection monitoring...
10:21:53 -[CONFIG]: Found existing access token
10:21:53 [NETWORK]: Requesting for a network connection...
10:21:53 [NETWORK]: Device online: connected with WLAN_INFRA
10:21:53 [NETWORK]: Network connection established, fetching root metadata
10:21:55 ---[AUTH]: Account data received for *****

10:28:06 ---[SYNC]: Downloading 913 files from 17 folders, total of 51.9 MB
10:28:07 ---[SYNC]: Uploading 81 files and 0 folders, total of 27.6 MB
10:31:15 [TRANSFER ERROR]: Download of download failed, no connection?
10:31:15 [TRANSFER ERROR]: >>Error connecting to "api-content.dropbox.com": (110, 'Connection timed out')


Marshall Banana 2013-05-05 13:09

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
memeces: Please try to manually download and upload files with the "DOWNLOAD" and "UPLOAD FILE" buttons. If manual download and uploads work, try to download the biggest file you have on your dropbox. I think this could be another buffer size problem

memeces 2013-05-05 17:22

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

Originally Posted by Marshall Banana (Post 1341460)
memees: Please try to manually download and upload files with the "DOWNLOAD" and "UPLOAD FILE" buttons. If manual download and uploads work, try to download the biggest file you have on your dropbox. I think this could be another buffer size problem

Marshall Banana, I followed your instructions. Uploading of files is working fine. But download is not working. DropN900 does apparently follow the orders and says that the download is complete but the file is nowhere in the local directory. If I go to the Transfers window the file appears as downloaded and it points to the folder where I should find the file, but it is not there.

Marshall Banana 2013-05-05 22:17

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

Originally Posted by memeces (Post 1341498)
Marshall Banana, I followed your instructions. Uploading of files is working fine. But download is not working. DropN900 does apparently follow the orders and says that the download is complete but the file is nowhere in the local directory. If I go to the Transfers window the file appears as downloaded and it points to the folder where I should find the file, but it is not there.

After solving the "button with no text" bug i did some code cleanup and broke the download functionallity with it. I've no idea why i didn't see this when testing after the cleanup. I made a new version here. Please redownload dropn900.tar.gz and untar it into /opt/dropn900. Afterwards syncing should work for you.

nimble 2013-05-08 00:23

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
I just use the Dropbox app for uploading my photos and your update worked perfectly for that purpose. Thanks very much for writing and sharing this code!

memeces 2013-05-08 15:04

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

Originally Posted by Marshall Banana (Post 1341544)
After solving the "button with no text" bug i did some code cleanup and broke the download functionallity with it. I've no idea why i didn't see this when testing after the cleanup. I made a new version here. Please redownload dropn900.tar.gz and untar it into /opt/dropn900. Afterwards syncing should work for you.

Marshall Banana, thank you very much for your new version. I have been doing some checking after installing it. Today I got the first total succesful synchronization. I have many files in DropBox and up to now the sync did never finish completely. First of all DropN900 did have to download again all files to the phone. It did not recognize that many of the files were still identical. Second, the sync did stop at some files. I do not know the reason but fortunately these were not critical and some of them were auxiliary files. After cleaning them in my desktop DropBox folder the sync was able to continue next time. Afterwards the sync seems to be working as expected. I still miss the possibility in the original version of synchronizing only a folder and its subfolders, so that I can avoid syncing all my DropBox files to my mobile devices. Otherwise the program is working perfectly with the new DropBox API. Thank you very much again for your nice work.

Marshall Banana 2013-05-08 17:30

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

Originally Posted by memeces (Post 1342113)
Marshall Banana, thank you very much for your new version. I have been doing some checking after installing it. Today I got the first total succesful synchronization. I have many files in DropBox and up to now the sync did never finish completely. First of all DropN900 did have to download again all files to the phone. It did not recognize that many of the files were still identical. Second, the sync did stop at some files. I do not know the reason but fortunately these were not critical and some of them were auxiliary files. After cleaning them in my desktop DropBox folder the sync was able to continue next time. Afterwards the sync seems to be working as expected. I still miss the possibility in the original version of synchronizing only a folder and its subfolders, so that I can avoid syncing all my DropBox files to my mobile devices. Otherwise the program is working perfectly with the new DropBox API. Thank you very much again for your nice work.

I'm glad that it's working for you now. Syncing only a subfolder should work if you select it as sync path in the settings. I just tried it with one of the subfolders of my dropbox. I just told you to select the root folder / as sync path because the handling with the root folder changed with the new API and i presumed you wanted to sync your whole dropbox.

Raimu 2013-05-08 20:29

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
Terrific job Marshall! I can confirm upload and download functionality working - that's what I use.

getnani 2013-05-11 11:38

Re: [Announce] DropN900 - the maemo 5 DropBox client
 
i am unable to authenticate the issue started today. anybody else in my boat??!!! please help!!!!!


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

vBulletin® Version 3.8.8