fsantini / KoboCloud

A set of scripts to synchronize a kobo reader with popular cloud services
Other
994 stars 95 forks source link

Files with apostrophes do not sync #44

Closed aaronson2012 closed 3 years ago

aaronson2012 commented 3 years ago

When attempting to sync the file: "Harry Potter and the Sorcerer's Stone - J. K. Rowling.epub", the file is not synced and instead a file named "Harry Potter and the Sorcerer" is created in the kobocloud library folder.

Primerius commented 3 years ago

Same issue using [ ], which I like to use to indicate a series in the filename. So Tamsyn Muir - [Ninth House 01] - Gideon the Ninth.epub becomes a file named "Tamsyn Muir - "

fsantini commented 3 years ago

Uhm... I thought that it would be an easy fix, but this shouldn't happen and I don't understand exactly why it does. Can you please post your (redacted) get.log fine?

TodBonzalez commented 3 years ago

I can anecdotally confirm this.

"The Hitchhiker's Guide to the Galaxy - Douglas Adams.epub" does not work on Google Drive or Dropbox "Parable of the Sower - Octavia E. Butler" works on both

The KoboCloud library folder acquires a title called "The_Hitchhiker"

The problem is solved if I just remove the apostrophes from the file title via a file explorer (e.g. Finder on macOS).

TodBonzalez commented 3 years ago

I would happily add a get.log file. Should I redact all identifiable information (e.g. Dropbox links)? Or do you need certain things?

fsantini commented 3 years ago

Hi! Yes please remove the links! Thanks!

TodBonzalez commented 3 years ago

get.log

This is a log with the example of "The Hitchhiker's Guide to the Galaxy - Douglas Adams.epub" on Google Drive

TodBonzalez commented 3 years ago

The_Hitchhiker.zip

Here is an example of the file that gets created in kobocloud-->Library

(I had to zip it to upload, but it's the file inside the zip)

davcec commented 3 years ago

Confirmed that GDrive do not properly synch if filename contains ', [ or ].

VPeeters commented 3 years ago

This should be fixed in the latest version