realriot / ff4d Goto Github PK
View Code? Open in Web Editor NEWFUSE Filesystem 4 Dropbox
License: BSD 3-Clause "New" or "Revised" License
FUSE Filesystem 4 Dropbox
License: BSD 3-Clause "New" or "Revised" License
After successfully setting up the app providing app key and secret, at the first run I get the following error:
./ff4d.py -d /tmp/dropbox
********************************************************
* FUSE Filesystem 4 Dropbox *
* *
* Copyright 2014 *
* Sascha Schmidt <[email protected]> *
* *
* https://github.com/realriot/ff4d/blob/master/LICENSE *
********************************************************
[INFO] No accesstoken available. Fetching a new one.
Please choose which permission this application will request:
Enter 'd' - This application will have access to your whole
Dropbox.
Enter 's' - This application will just have access to its
own application folder.
Please enter permission key: d
[DEBUG] Initialzed apiAuth
[DEBUG] Trying to fetch apiAuth code: dropbox fg7v60fm9f5ud7n
[ERROR] apiRequest failed. HTTPError: 404
[DEBUG] Failed to fetch apiAuth code (Traceback (most recent call last):
File "./ff4d.py", line 598, in getCode
result = self.apiRequest.get("https://tools.schmidt.ps/authApp", args)
File "./ff4d.py", line 533, in get
raise Exception, 'apiRequest failed. HTTPError: ' + str(e.code)
Exception: apiRequest failed. HTTPError: 404
)
Failed to start authorization process
[DEBUG] Got accesstoken from user input: False
[ERROR] No valid accesstoken available. Exiting.
Thanks
Any idea why I can't use the dd command with ff4d?
I have ff4d running in a folder called dropbox. This is my command:
sudo dd if=/dev/xvda1 of=/home/ubuntu/matt/ff4d/dropbox/Backups/
And this is the error I get:
dd: failed to open ‘/home/ubuntu/matt/ff4d/dropbox/Backups/’: Permission denied
Any (safe) way around this?
I am trying to use ff4d creating the access code with getDropboxAccessToken but it fails:
python getDropboxAccessToken.py
1.) Enter your 'App key': §§§§§§§§§§§
2.) Enter your 'App secret': çççççççççççççç
3.) Now open this url and confirm the requested permission.
https://www.dropbox.com/1/oauth2/authorize?response_type=code&client_id=§§§§§§§§§§§
4.) Enter the given access code':
This access token allows your app to access your dropbox:
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
Could not validate the new access token. (apiRequest failed. HTTPError: 400)
I don't know if I am doing it wrong or there is a problem with ff4d, but here it goes:
I go to the dropbox dev console and create an app. Then I run ff4d which asks for the permission key. I paste the app key generated with the dev console but ff4d simply repeats the request again and again.
I also tried entering d or s as described, but then ff4d fails with an error: [ERROR] apiRequest failed
What do I do wrong?
All the requirements should be ok.
I am getting the following error after running getDropboxAccessToken.py:
user@ubuntu:~$ ./getDropboxAccessToken.py
Traceback (most recent call last):
File "/home/user/bin/ff4d/getDropboxAccessToken.py", line 16, in <module>
import sys, json, urllib, urllib2, httplib, dropbox
ImportError: No module named dropbox
I checked and I have Fuse and Python pkg-resources installed so I don't think it is a dependancy issue.
I got everything to work on Ubuntu 14 server.
./ff4d.py -d -df /mnt/dropbox/
successfully mounts my dropbox to a local directory. The key is pulled from ff4d.config
However, when I run df -m
on my server, I get this this output:
unique: 6, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 2501
getattr /
[DEBUG] Called: getattr() - Path: /
[DEBUG] Found cached metadata for: /
[DEBUG] Metadata directory deepcheck: False
[DEBUG] Cache expired for: /
[DEBUG] cachets: 1485731249 - 1485731264
[DEBUG] Checking for changes on the remote endpoint for folder: /
[ERROR] apiRequest failed. HTTPError: 304
[DEBUG] No remote changes detected for folder: / (Traceback (most recent call last):
File "./ff4d.py", line 169, in getDropboxMetadata
item = self.dbxMetadata(path, item['hash'])
File "./ff4d.py", line 52, in dbxMetadata
result = self.ar.get('https://api.dropbox.com/1/metadata/auto' + path, args)
File "./ff4d.py", line 533, in get
raise Exception, 'apiRequest failed. HTTPError: ' + str(e.code)
Exception: apiRequest failed. HTTPError: 304
)
[DEBUG] Returning properties for directory: / ({'st_ctime': 1485731264, 'st_mtime': 1485731264, 'st_nlink': 2, 'st_gid': 0, 'st_size': 0, 'st_atime': 1485731264, 'st_uid': 0, 'st_mode': 16877})
unique: 6, success, outsize: 120
unique: 7, opcode: STATFS (17), nodeid: 1, insize: 40, pid: 2501
statfs /
unique: 7, success, outsize: 96
After which, the filesystem becomes read-only and I cannot put any files there.
Documentation says:
"As an alternative you can use the enclosed ./getDropboxAccessToken.py script to fetch the token. But remember for this case that you have to add an Dropbox application within the Dropbox Developer home by yourself, too."
What isn't clear is that to do this requires installing the Dropbox Python SDK first, the process for which is outlined here:
after manage a simple file upload (only few Kbyte), it script loses references only to the folder where upload was made.
The only way to re-access into subfolder is to kill the process and restart again.
This is the log
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] Found cached metadata for: /ZZTEST
[DEBUG] Returning properties for directory: /ZZTEST ({'st_ctime': 1415982106.0, 'st_mtime': 1415982106.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311751, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808511
[DEBUG] Found cached metadata for: /ZZTEST/6808511
[DEBUG] Returning properties for directory: /ZZTEST/6808511 ({'st_ctime': 1415982158.0, 'st_mtime': 1415982158.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311751, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808511/ZZ01.jpg
[DEBUG] Found cached metadata for: /ZZTEST/6808511/ZZ01.jpg
[DEBUG] Returning properties for file: /ZZTEST/6808511/ZZ01.jpg ({'st_ctime': 1416223017.0, 'st_mtime': 1416223017.0, 'st_nlink': 1, 'st_gid': 1003, 'st_size': 161609, 'st_atime': 1416311751, 'st_uid': 10000, 'st_mode': 33261})
[DEBUG] Called: getattr() - Path: /
[DEBUG] Found cached metadata for: /
[DEBUG] Returning properties for directory: / ({'st_ctime': 1416311751, 'st_mtime': 1416311751, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311751, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: open() - Path: /ZZTEST/6808511/ZZ01.jpg Flags: 32768
[DEBUG] Returning unique filehandle: 1
[DEBUG] Called: read() - Path: /ZZTEST/6808511/ZZ01.jpg Length: 16384 Offset: 0 FH: 1
[DEBUG] Excpected offset: 0
[DEBUG] Called: open() - Path: /ZZTEST/6808511/ZZ01.jpg Flags: 32768
[DEBUG] Returning unique filehandle: 2
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] Found cached metadata for: /ZZTEST
[DEBUG] Returning properties for directory: /ZZTEST ({'st_ctime': 1415982106.0, 'st_mtime': 1415982106.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311754, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808511
[DEBUG] Found cached metadata for: /ZZTEST/6808511
[DEBUG] Returning properties for directory: /ZZTEST/6808511 ({'st_ctime': 1415982158.0, 'st_mtime': 1415982158.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311754, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808511/ZZ01.jpg
[DEBUG] Found cached metadata for: /ZZTEST/6808511/ZZ01.jpg
[DEBUG] Returning properties for file: /ZZTEST/6808511/ZZ01.jpg ({'st_ctime': 1416223017.0, 'st_mtime': 1416223017.0, 'st_nlink': 1, 'st_gid': 1003, 'st_size': 161609, 'st_atime': 1416311754, 'st_uid': 10000, 'st_mode': 33261})
[DEBUG] Called: getattr() - Path: /
[DEBUG] Found cached metadata for: /
[DEBUG] Returning properties for directory: / ({'st_ctime': 1416311754, 'st_mtime': 1416311754, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311754, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: open() - Path: /ZZTEST/6808511/ZZ01.jpg Flags: 32768
[DEBUG] Returning unique filehandle: 3
[DEBUG] Read bytes from remote source: 16384
[DEBUG] Called: getattr() - Path: /ZZTEST/6808511/ZZ01.jpg
[DEBUG] Called: getattr() - Path: /ZZTEST/6808511/ZZ01.jpg
[DEBUG] Found cached metadata for: /ZZTEST/6808511/ZZ01.jpg
[DEBUG] Returning properties for file: /ZZTEST/6808511/ZZ01.jpg ({'st_ctime': 1416223017.0, 'st_mtime': 1416223017.0, 'st_nlink': 1, 'st_gid': 1003, 'st_size': 161609, 'st_atime': 1416311757, 'st_uid': 10000, 'st_mode': 33261})
[DEBUG] Found cached metadata for: /ZZTEST/6808511/ZZ01.jpg
[DEBUG] Called: release() - Path: /ZZTEST/6808511/ZZ01.jpg FH: 1
[DEBUG] Released filehandle: 1
[DEBUG] Returning properties for file: /ZZTEST/6808511/ZZ01.jpg ({'st_ctime': 1416223017.0, 'st_mtime': 1416223017.0, 'st_nlink': 1, 'st_gid': 1003, 'st_size': 161609, 'st_atime': 1416311757, 'st_uid': 10000, 'st_mode': 33261})
[DEBUG] Called: read() - Path: /ZZTEST/6808511/ZZ01.jpg Length: 16384 Offset: 0 FH: 2
[DEBUG] Excpected offset: 0
[DEBUG] Read bytes from remote source: 16384
[DEBUG] Called: release() - Path: /ZZTEST/6808511/ZZ01.jpg FH: 2
[DEBUG] Called: release() - Path: /ZZTEST/6808511/ZZ01.jpg FH: 3
[DEBUG] Released filehandle: 3
[DEBUG] Released filehandle: 2
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] Found cached metadata for: /ZZTEST
[DEBUG] Returning properties for directory: /ZZTEST ({'st_ctime': 1415982106.0, 'st_mtime': 1415982106.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311763, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474
[DEBUG] Found cached metadata for: /ZZTEST/6808474
[DEBUG] Returning properties for directory: /ZZTEST/6808474 ({'st_ctime': 1416216806.0, 'st_mtime': 1416216806.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311763, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] Found cached metadata for: /ZZTEST
[DEBUG] Returning properties for directory: /ZZTEST ({'st_ctime': 1415982106.0, 'st_mtime': 1415982106.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311765, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474
[DEBUG] Found cached metadata for: /ZZTEST/6808474
[DEBUG] Returning properties for directory: /ZZTEST/6808474 ({'st_ctime': 1416216806.0, 'st_mtime': 1416216806.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311765, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] No cached metadata for: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] Found cached metadata for: /ZZTEST
[DEBUG] Returning properties for directory: /ZZTEST ({'st_ctime': 1415982106.0, 'st_mtime': 1415982106.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311771, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474
[DEBUG] Found cached metadata for: /ZZTEST/6808474
[DEBUG] Returning properties for directory: /ZZTEST/6808474 ({'st_ctime': 1416216806.0, 'st_mtime': 1416216806.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311771, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] No cached metadata for: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] Called: getattr() - Path: /
[DEBUG] Found cached metadata for: /
[DEBUG] Returning properties for directory: / ({'st_ctime': 1416311772, 'st_mtime': 1416311772, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311772, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] No cached metadata for: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] Found cached metadata for: /ZZTEST
[DEBUG] Returning properties for directory: /ZZTEST ({'st_ctime': 1415982106.0, 'st_mtime': 1415982106.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311772, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474
[DEBUG] Found cached metadata for: /ZZTEST/6808474
[DEBUG] Returning properties for directory: /ZZTEST/6808474 ({'st_ctime': 1416216806.0, 'st_mtime': 1416216806.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311772, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] No cached metadata for: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] No cached metadata for: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] Found cached metadata for: /ZZTEST
[DEBUG] Returning properties for directory: /ZZTEST ({'st_ctime': 1415982106.0, 'st_mtime': 1415982106.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311774, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474
[DEBUG] Found cached metadata for: /ZZTEST/6808474
[DEBUG] Returning properties for directory: /ZZTEST/6808474 ({'st_ctime': 1416216806.0, 'st_mtime': 1416216806.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311774, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] No cached metadata for: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] No cached metadata for: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] Found cached metadata for: /ZZTEST
[DEBUG] Returning properties for directory: /ZZTEST ({'st_ctime': 1415982106.0, 'st_mtime': 1415982106.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311775, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474
[DEBUG] Found cached metadata for: /ZZTEST/6808474
[DEBUG] Returning properties for directory: /ZZTEST/6808474 ({'st_ctime': 1416216806.0, 'st_mtime': 1416216806.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311775, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /
[DEBUG] Found cached metadata for: /
[DEBUG] Returning properties for directory: / ({'st_ctime': 1416311775, 'st_mtime': 1416311775, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311775, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] No cached metadata for: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] Called: create() - Path: /ZZTEST/6808474/ZZ01_1.wav Mode: 33188
[DEBUG] Returning unique filehandle: 1
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] Found cached metadata for: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] Returning properties for file: /ZZTEST/6808474/ZZ01_1.wav ({'st_ctime': 1416311776.0, 'st_mtime': 1416311776.0, 'st_nlink': 1, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311776, 'st_uid': 10000, 'st_mode': 33261})
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 0 FH: 1
[DEBUG] Uploading first chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 4096 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 8192 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 12288 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 16384 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 20480 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 24576 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 28672 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 32768 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 36864 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 40960 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 45056 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 49152 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 53248 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 57344 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 61440 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 65536 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 69632 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 73728 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 77824 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 81920 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 86016 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 90112 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 94208 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 98304 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 102400 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 106496 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 110592 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 114688 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 118784 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 122880 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 126976 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 131072 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 135168 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 139264 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 143360 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 147456 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 151552 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 155648 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 159744 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 163840 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 167936 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 172032 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 176128 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 180224 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 184320 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 188416 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 192512 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 196608 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 200704 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 204800 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 208896 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 212992 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 217088 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 221184 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 225280 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 229376 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 233472 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 237568 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 241664 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 245760 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 249856 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 253952 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 258048 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 262144 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 266240 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 270336 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 274432 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 278528 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 282624 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 286720 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 290816 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 294912 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 299008 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 303104 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 307200 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 311296 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 315392 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 319488 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 323584 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 327680 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 331776 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 335872 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 339968 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 344064 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 348160 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 352256 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 356352 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 360448 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 364544 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 368640 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 372736 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 376832 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 380928 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 385024 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 389120 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 393216 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 397312 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 401408 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 405504 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 409600 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 413696 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 417792 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 421888 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 425984 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 430080 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 434176 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Buffer does not exceed configured write_cache. Caching...
[DEBUG] Called: write() - Path: /ZZTEST/6808474/ZZ01_1.wav Offset: 438272 FH: 1
[DEBUG] Uploading another chunk to Dropbox...
[DEBUG] Cache exceeds configured write_cache. Uploading...
[DEBUG] Called: release() - Path: /ZZTEST/6808474/ZZ01_1.wav FH: 1[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] Finishing upload to Dropbox
[DEBUG] Found cached metadata for: /ZZTEST
[DEBUG] Returning properties for directory: /ZZTEST ({'st_ctime': 1415982106.0, 'st_mtime': 1415982106.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311780, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474
[DEBUG] Found cached metadata for: /ZZTEST/6808474
[DEBUG] Returning properties for directory: /ZZTEST/6808474 ({'st_ctime': 1416216806.0, 'st_mtime': 1416216806.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311780, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] Found cached metadata for: /ZZTEST/6808474/ZZ01_1.wav
[DEBUG] Returning properties for file: /ZZTEST/6808474/ZZ01_1.wav ({'st_ctime': 1416311776.0, 'st_mtime': 1416311776.0, 'st_nlink': 1, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311780, 'st_uid': 10000, 'st_mode': 33261})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808511
[DEBUG] Found cached metadata for: /ZZTEST/6808511
[DEBUG] Returning properties for directory: /ZZTEST/6808511 ({'st_ctime': 1415982158.0, 'st_mtime': 1415982158.0, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311780, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST/6808511/ZZ01.jpg
[DEBUG] Found cached metadata for: /ZZTEST/6808511/ZZ01.jpg
[DEBUG] Returning properties for file: /ZZTEST/6808511/ZZ01.jpg ({'st_ctime': 1416223017.0, 'st_mtime': 1416223017.0, 'st_nlink': 1, 'st_gid': 1003, 'st_size': 161609, 'st_atime': 1416311780, 'st_uid': 10000, 'st_mode': 33261})
[DEBUG] Called: getattr() - Path: /
[DEBUG] Found cached metadata for: /
[DEBUG] Returning properties for directory: / ({'st_ctime': 1416311780, 'st_mtime': 1416311780, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311780, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: open() - Path: /ZZTEST/6808511/ZZ01.jpg Flags: 32768
[DEBUG] Returning unique filehandle: 2
[DEBUG] Called: read() - Path: /ZZTEST/6808511/ZZ01.jpg Length: 16384 Offset: 0 FH: 2
[DEBUG] Excpected offset: 0
[DEBUG] Read bytes from remote source: 16384
[DEBUG] Called: release() - Path: /ZZTEST/6808511/ZZ01.jpg FH: 2
[DEBUG] Released filehandle: 2
[DEBUG] Called: open() - Path: /ZZTEST/6808511/ZZ01.jpg Flags: 32768
[DEBUG] Returning unique filehandle: 2
[DEBUG] Called: getattr() - Path: /ZZTEST/6808511/ZZ01.jpg
[DEBUG] Found cached metadata for: /ZZTEST/6808511/ZZ01.jpg
[DEBUG] Returning properties for file: /ZZTEST/6808511/ZZ01.jpg ({'st_ctime': 1416223017.0, 'st_mtime': 1416223017.0, 'st_nlink': 1, 'st_gid': 1003, 'st_size': 161609, 'st_atime': 1416311780, 'st_uid': 10000, 'st_mode': 33261})
[DEBUG] Called: read() - Path: /ZZTEST/6808511/ZZ01.jpg Length: 16384 Offset: 0 FH: 2
[DEBUG] Excpected offset: 0
[DEBUG] Called removeFromCache() Path: /ZZTEST/6808474
[DEBUG] Removing parent path from file in cache
[DEBUG] Removing from cache: /ZZTEST/6808474
[DEBUG] Released filehandle: 1
[DEBUG] Read bytes from remote source: 16384
[DEBUG] Called: release() - Path: /ZZTEST/6808511/ZZ01.jpg FH: 2
[DEBUG] Released filehandle: 2
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /
[DEBUG] Found cached metadata for: /
[DEBUG] Returning properties for directory: / ({'st_ctime': 1416311781, 'st_mtime': 1416311781, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311781, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /
[DEBUG] Found cached metadata for: /
[DEBUG] Returning properties for directory: / ({'st_ctime': 1416311783, 'st_mtime': 1416311783, 'st_nlink': 2, 'st_gid': 1003, 'st_size': 0, 'st_atime': 1416311783, 'st_uid': 10000, 'st_mode': 16877})
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
[DEBUG] Called: getattr() - Path: /ZZTEST
[DEBUG] No cached metadata for: /ZZTEST
[DEBUG] Basepath exists in cache for: /ZZTEST
Hi,
I'm running ff4d
for the very first time and maybe I forgot to do something along the way.
Here is what I get :
$ mkdir ~/testDropBox
$ ./ff4d.py -d ~/testDropBox/
********************************************************
* FUSE Filesystem 4 Dropbox *
* *
* Copyright 2014 *
* Sascha Schmidt <[email protected]> *
* *
* https://github.com/realriot/ff4d/blob/master/LICENSE *
********************************************************
[INFO] No accesstoken available. Fetching a new one.
Please choose which permission this application will request:
Enter 'd' - This application will have access to your whole
Dropbox.
Enter 's' - This application will just have access to its
own application folder.
Please enter permission key: d
[DEBUG] Initialzed apiAuth
[DEBUG] Trying to fetch apiAuth code: dropbox fg7v60fm9f5ud7n
[ERROR] apiRequest failed. URLError: [Errno -2] Name or service not known
[DEBUG] Failed to fetch apiAuth code (Traceback (most recent call last):
File "./ff4d.py", line 598, in getCode
result = self.apiRequest.get("https://tools.schmidt.ps/authApp", args)
File "./ff4d.py", line 536, in get
raise Exception, 'apiRequest failed. URLError: ' + str(e.reason)
Exception: apiRequest failed. URLError: [Errno -2] Name or service not known
)
Failed to start authorization process
[DEBUG] Got accesstoken from user input: False
[ERROR] No valid accesstoken available. Exiting.
$ echo $?
255
Can you help ?
I just tried ff4d and it seems to work for some / directories but not for all of them. Here are some of the log messages:
$ ./ff4d.py -ap XXXXX /dropbox/
*
*
Welcome
Space used:
Space available:
Starting FUSE...
fusermount: failed to open /etc/fuse.conf: Permission denied
[ERROR] apiRequest failed. HTTPError: 404
[ERROR] Could not fetch metadata for: /.Trash (Traceback (most recent call last):
File "./ff4d.py", line 200, in getDropboxMetadata
item = self.dbxMetadata(path)
File "./ff4d.py", line 52, in dbxMetadata
result = self.ar.get('https://api.dropbox.com/1/metadata/auto' + path, args)
File "./ff4d.py", line 533, in get
raise Exception, 'apiRequest failed. HTTPError: ' + str(e.code)
Exception: apiRequest failed. HTTPError: 404
)
[ERROR] apiRequest failed. HTTPError: 404
[ERROR] Could not fetch metadata for: /.Trash-1000 (Traceback (most recent call last):
File "./ff4d.py", line 200, in getDropboxMetadata
item = self.dbxMetadata(path)
File "./ff4d.py", line 52, in dbxMetadata
result = self.ar.get('https://api.dropbox.com/1/metadata/auto' + path, args)
File "./ff4d.py", line 533, in get
raise Exception, 'apiRequest failed. HTTPError: ' + str(e.code)
Exception: apiRequest failed. HTTPError: 404
)
[ERROR] apiRequest failed. HTTPError: 304
[ERROR] apiRequest failed. HTTPError: 304
[ERROR] apiRequest failed. HTTPError: 304
[ERROR] apiRequest failed. HTTPError: 304
[ERROR] apiRequest failed. HTTPError: 304
[ERROR] apiRequest failed. HTTPError: 304
[ERROR] apiRequest failed. HTTPError: 304
[ERROR] apiRequest failed. HTTPError: 304
[ERROR] apiRequest failed. HTTPError: 304
[ERROR] apiRequest failed. HTTPError: 304
[ERROR] apiRequest failed. HTTPError: 304
[ERROR] apiRequest failed. HTTPError: 304
[ERROR] apiRequest failed. HTTPError: 304
[ERROR] apiRequest failed. HTTPError: 404
[ERROR] Could not open remote file: /DeerEditor#1.pdf (Traceback (most recent call last):
File "./ff4d.py", line 304, in read
self.openfh[fh]['f'] = self.dbxFilehandle(path, offset)
File "./ff4d.py", line 99, in dbxFilehandle
result = self.ar.get('https://api-content.dropbox.com/1/files/auto' + path, None, seekheader, True)
File "./ff4d.py", line 533, in get
raise Exception, 'apiRequest failed. HTTPError: ' + str(e.code)
Exception: apiRequest failed. HTTPError: 404
)
Any idea?
There's currently an issue where the downloaded/read data can be corrupted...
I'll close this ticket when I think the bug is fixed.
Hello,
I noticed that if I create a folder and move files using the dropbox site of the mounted folder - it makes the directory unreadable on the mount point...
Please upgrade this very useful tool to API v2.
I m needing to download a 6Tb file on Dropbox.
The problem is your app requires to cache this large file first whereas it doesn t fit on your disk nor in ram.
Please consider incorporating the following patch to fuse.py
that allows one to explicitly override the path to libfuse
by setting the LIBFUSE_PATH
environment variable (e.g., if it is stored in a nonstandard location):
diff --git a/fuse.py b/fuse.py
index 7a03d61..daac115 100644
--- a/fuse.py
+++ b/fuse.py
@@ -18,7 +18,7 @@ from __future__ import division
from ctypes import *
from ctypes.util import find_library
from errno import *
-from os import strerror
+from os import environ, strerror
from platform import machine, system
from signal import signal, SIGINT, SIG_DFL
from stat import S_IFDIR
@@ -65,6 +65,8 @@ if _system == 'Darwin':
else:
_libfuse_path = find_library('fuse')
+_libfuse_path = environ.get('LIBFUSE_PATH'. _libfuse_path)
+
if not _libfuse_path:
raise EnvironmentError('Unable to find libfuse')
else:
I can submit a PR if desired.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.