xybu / onedrive-d-old

Microsoft OneDrive client on Linux.
http://xybu.me/projects/onedrive-d/
GNU Lesser General Public License v3.0
820 stars 143 forks source link

- Log ConnectionError exceptions #196

Open jorik90 opened 8 years ago

jorik90 commented 8 years ago
lamarios commented 8 years ago

Does this require a specific python module ? I tried to run your branch and had the following error: ImportError: cannot import name 'InsecureRequestWarning'

jorik90 commented 8 years ago

Weird. I'm just running a pretty clean Raspbian (Debian) installation. Could you try commenting out line 31 and 100 in onedrive_d/od_onedrive_api.py? It should be in the urllib3 package, which is required anyway.

lamarios commented 8 years ago

It seems to work this way. Synchronization is going on pretty well.

jorik90 commented 8 years ago

Weird. I guess you have tons of warnings in the log file? That's the reason I added it.

There's only 1 issue I encouter personally about a few dozen times. Sometimes de API does not return the correct file size. This is giving me lot's of duplicates, mostly for PDF's and some photos. Problem is described here: http://stackoverflow.com/a/27031491. I'll try to work around that as well.

I'll also check if I can only filter out the InsecureRequestWarning's when the import is available.