hektiker1983 / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

Files not copied to dropbox - Windows 7 #369

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. configure dropbox and establish authentication
2.place file on dropbox openHAB/bingo2.txt
3.wait for synchronization

What is the expected output? 
a. File bingo2.txt not to be copied to local machine because filters do not 
match
b. Files from configuration and logs etc, to be copied to dropbox
c. File bingo2.txt to remain on dropbox

What do you see instead?
a. File bingo2.txt copied to c:\openhab\, but left with 0 bytes. File is 
deleted from dropbox
b. No files copied to dropbox

What version of the product are you using? On what operating system?
Windows 7   Dropbox bundle 1.2.0

Please provide any additional information below.

07:02:14.367 DEBUG o.o.i.d.i.DropboxActivator[:50]- Dropbox IO Bundle has been 
started.
07:02:14.415 DEBUG o.o.i.d.i.DropboxSynchronizerImpl[:710]- Scheduled 
synchronization job (direction=Download) with cron expression '0 0/1 * * * ?'
07:02:14.419 DEBUG o.o.i.d.i.DropboxSynchronizerImpl[:710]- Scheduled 
synchronization job (direction=Upload) with cron expression '0 0/1 * * * ?'
07:03:00.013 DEBUG o.o.i.d.i.DropboxSynchronizerImpl[:321]- Started 
synchronization from Dropbox to local ...
07:03:00.072 DEBUG o.o.i.d.i.DropboxSynchronizerImpl[:386]- Started 
synchronization from local to Dropbox ...
07:03:01.543 DEBUG o.o.i.d.i.DropboxSynchronizerImpl[:349]- There are '1' 
deltas to download from Dropbox ...
07:03:02.307 DEBUG o.o.i.d.i.DropboxSynchronizerImpl[:436]- Successfully 
deleted file '/bingo2.txt' from Dropbox
07:03:02.312 WARN  o.o.i.d.i.DropboxSynchronizerImpl[:446]- Couldn't delete 
file '.\dropbox-entries.dbox'
07:03:02.619 DEBUG o.o.i.d.i.DropboxSynchronizerImpl[:648]- Created file 
'C:\openhab\.\deltacursor.dbox' with content 
'AAGTYhEeyGJkdW4MjOyep_rcdIvPsxzgJ0BGTvsLTaWFkQL1bx4u2qiRdlefPx53PXsikgxJyoWT8hu
ZMq0itbVN5u3pWayN_BuqfmzRCC1Axg'
07:03:02.754 ERROR o.o.i.d.i.DropboxSynchronizerImpl[:830]- Synchronization 
files with Dropbox throws an exception
com.dropbox.client2.exception.DropboxServerException: null
    at com.dropbox.client2.RESTUtility.parseAsJSON(RESTUtility.java:263)
    at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:411)
    at com.dropbox.client2.RESTUtility.execute(RESTUtility.java:337)
    at com.dropbox.client2.DropboxAPI.getFileStream(DropboxAPI.java:1350)
    at com.dropbox.client2.DropboxAPI.getFile(DropboxAPI.java:1298)
    at org.openhab.io.dropbox.internal.DropboxSynchronizerImpl.downloadFile(DropboxSynchronizerImpl.java:513)
    at org.openhab.io.dropbox.internal.DropboxSynchronizerImpl.syncDropboxToLocal(DropboxSynchronizerImpl.java:358)
    at org.openhab.io.dropbox.internal.DropboxSynchronizerImpl$SynchronizationJob.execute(DropboxSynchronizerImpl.java:824)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
07:04:00.006 DEBUG o.o.i.d.i.DropboxSynchronizerImpl[:321]- Started 
synchronization from Dropbox to local ...
07:04:00.054 DEBUG o.o.i.d.i.DropboxSynchronizerImpl[:386]- Started 
synchronization from local to Dropbox ...
07:04:01.458 DEBUG o.o.i.d.i.DropboxSynchronizerImpl[:346]- There are no deltas 
to download from Dropbox ...
07:04:01.470 DEBUG o.o.i.d.i.DropboxSynchronizerImpl[:648]- Created file 
'C:\openhab\.\deltacursor.dbox' with content 
'AAGjaalWEpOAQGCtaT5SOJfAR8LAjtcpZu6P5DvEMFfO3x8i61XsfHi8fQHTgx8meJPINYIiNGfcO74
U3tmlpHvQfugFnYHuInhsQ5UMxI3HzQ'
07:04:01.800 DEBUG o.o.i.d.i.DropboxSynchronizerImpl[:457]- There are no deltas 
to upload into Dropbox ...

Original issue reported on code.google.com by martin.h...@picassohr.com on 6 Jul 2013 at 7:49

GoogleCodeExporter commented 8 years ago
Hi,

i did some fixes regarding filters a few days ago. Could you please retry with 
the current build? Did you change the given filers for up- or download?!

Regards,

Thomas E.-E.

Original comment by teichsta on 16 Jul 2013 at 8:29

GoogleCodeExporter commented 8 years ago
Hi Thomas,

Re your question about filters: I started with default, and then started 
changing when things were not working as expected.

I have tried uploading to dropbox:

I used 1.3.0-SNAPSHOT.
Date 21/7/13 Time 16:30 (UK BST)

Windows 7. Filters (and everything except lines below) commented out, so 
default. 
dropbox:initialize=true
dropbox:syncmode=LOCAL_TO_DROPBOX

16:36:01.472 DEBUG o.o.i.d.i.DropboxSynchronizer[:407]- There are '0' local 
entries that met the upload filters ...
16:36:01.473 DEBUG o.o.i.d.i.DropboxSynchronizer[:463]- No files changed 
locally > no deltas to upload to Dropbox ...

Regards

Martin

Original comment by martin.h...@picassohr.com on 21 Jul 2013 at 3:46

GoogleCodeExporter commented 8 years ago

Original comment by teichsta on 13 Aug 2013 at 8:00

GoogleCodeExporter commented 8 years ago

Original comment by teichsta on 13 Aug 2013 at 8:00

GoogleCodeExporter commented 8 years ago

Original comment by teichsta on 5 Nov 2013 at 10:53

GoogleCodeExporter commented 8 years ago
This issue has been migrated to Github. If this issue id is greater than103 its 
id has been preserved on Github. You can open your issue by calling the URL 
https://github.com/openhab/openhab/issues/<issueid>. Issues with ids less or 
equal 103 new ids were created.

Original comment by teichsta on 17 Nov 2013 at 8:08

GoogleCodeExporter commented 8 years ago
see above!

Issue has been migrated to Github and should be discussed there.

Original comment by teichsta on 21 Nov 2013 at 1:51