Open alikhil opened 7 years ago
The two lines of log are not enough to analyze the problem.
A file upload operation is done by first uploading the file content, then updating the remote timestamp. I don't know which operation caused the problem from the the two lines. And I don't know who caused the problem either -- the file (does the program complain about other files?), onedrived, onedrive python sdk, python-requests, or onedrive server are all possible.
It's new local file. I tried to restart program but it did not helped. I am attaching this file. Maybe it will help to reproduce error. c-in-depth-3rd-edition-jon-skeet.pdf
I tried the file but it was uploaded successfully. May you run the following commands on your machine and share the output? Also, are you on the latest commit of this repo?
$ uname -a
$ pip3 list
$ pip3 list -o
I'm having the same problem for several files, for instance
[2018-07-25 18:13:18,812] ERROR: Worker-5: Error uploading file "/home/braulio/OneDrive/AUDIO/Music/Dada Nabhaniilananda/Ananda Kiirtan 3 Live/04 Kiirtan - Reprise of #1.opus": - The request contains an entity body but no Content-Type header. The inferred media type 'application/octet-stream' is not supported for this resource..
application/octet-stream
is when the media type remains unknown by the server. Reference
Not accessible to ngrok service might be to blame for that, could anybody figure out how to configure alternative tunnel. I'm having the same issue