summaryrefslogtreecommitdiff
path: root/doc/tips/googledriveannex
diff options
context:
space:
mode:
authorGravatar hugo <hugo@web>2014-10-05 19:40:23 +0000
committerGravatar admin <admin@branchable.com>2014-10-05 19:40:23 +0000
commit2e7c1f55284d05ffd8799b23de5671d495336ab7 (patch)
tree88f52005031936a9f23b52dd143385eb167906d4 /doc/tips/googledriveannex
parent4eb8187f0ac65a9919de41e26f63ded38fa79a06 (diff)
Added a comment: 'content-length' error
Diffstat (limited to 'doc/tips/googledriveannex')
-rw-r--r--doc/tips/googledriveannex/comment_5_b547ee81946e14975f082f22ccbea035._comment29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/tips/googledriveannex/comment_5_b547ee81946e14975f082f22ccbea035._comment b/doc/tips/googledriveannex/comment_5_b547ee81946e14975f082f22ccbea035._comment
new file mode 100644
index 000000000..93b7fc508
--- /dev/null
+++ b/doc/tips/googledriveannex/comment_5_b547ee81946e14975f082f22ccbea035._comment
@@ -0,0 +1,29 @@
+[[!comment format=mdwn
+ username="hugo"
+ ip="37.160.8.232"
+ subject="'content-length' error"
+ date="2014-10-05T19:40:23Z"
+ content="""
+I moved a big PDF to Google Drive (with shared encryption).
+
+Now, when I try to get it again:
+
+ get Documents/Guyau - The Non-Religion of the Future, nonreligionoffut00guyarich.pdf (from googledrive...) (gpg)
+ Traceback (most recent call last):
+ File \"/usr/bin/git-annex-remote-googledrive\", line 411, in <module>
+ common.startRemote()
+ File \"/usr/share/googledriveannex-git/lib/CommonFunctions.py\", line 555, in startRemote
+ sys.modules[\"__main__\"].transfer(line)
+ File \"/usr/bin/git-annex-remote-googledrive\", line 372, in transfer
+ if getFile(line[2], \" \".join(line[3:]), folder):
+ File \"/usr/bin/git-annex-remote-googledrive\", line 257, in getFile
+ ret = common.fetchPage({\"link\": download_url, \"headers\": [(\"Authorization\", \"Bearer \" + credentials.access_token)], \"progress\": \"true\"})
+ File \"/usr/share/googledriveannex-git/lib/CommonFunctions.py\", line 207, in fetchPage
+ totalsize = int(con.headers['content-length'])
+ File \"/usr/lib/python2.7/rfc822.py\", line 388, in __getitem__
+ return self.dict[name.lower()]
+ KeyError: 'content-length'
+
+It works for smaller files. Is there a limit on the file size?
+
+"""]]