Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 06-02-2014, 06:06 PM   #1
mendhak
Junior Member
mendhak began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2013
Device: Kindle Paperwhite
Fix for Google Drive paths and Calibre

Google Drive keeps breaking Calibre's paths due to its parentheses fussiness.

I've written a Python script here

https://github.com/mendhak/calibre-gdrive-fix

which fixes the paths that Google Drive breaks. It should work as long as you have Python 2.5+.

I've only tested this on Ubuntu 14.04 with Python 2.7. If this works/doesn't work for you in other OSes please leave feedback or fixes.

See the README on github for info and instructions.

I am aware of this thread, however that is a .NET solution and I don't have .NET/Windows. I'm using a similar script as part of my initial machine setup script for automation.

Last edited by mendhak; 06-02-2014 at 06:10 PM.
mendhak is offline   Reply With Quote
Old 06-03-2014, 01:12 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,888
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Thank you.

I updated the Warning sticky post with a link to this thread.
DoctorOhh is offline   Reply With Quote
Old 11-17-2014, 08:37 AM   #3
chaot
Member
chaot began at the beginning.
 
chaot's Avatar
 
Posts: 20
Karma: 10
Join Date: Jun 2012
Device: none
Just I have tested compatibility of Google Drive and Calibre - found it works (now). Maybe I do not quite understand the whole issue or Google has changed something.

I uploaded individual files (single books) or entire folders (e.g. total author collections) to Drive, then deleted these on my laptop (not just from caliber away) and downloaded them from Drive back. The files/folders come .zip compressed and you have to unpack them.

This all works very quickly an easily, after adding to caliber you may read, edit book and metadata etc. as usual.

Please check by yourself and possibly edit the Warning sticky post.

Last edited by chaot; 11-17-2014 at 08:55 AM.
chaot is offline   Reply With Quote
Old 11-17-2014, 09:01 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,888
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by chaot View Post
Just I have tested compatibility of Google Drive and Calibre - found it works (now). Maybe I do not quite understand the whole issue or Google has changed something.

I uploaded individual files (single books) or entire folders (e.g. total author collections) to Drive, then deleted these on my laptop (not just from caliber away) and downloaded them from Drive back. The files/folders come .zip compressed and you have to unpack them.

This all works very quickly an easily, after adding to caliber you may read, edit book and metadata etc. as usual.
I don't have the time to test G drive, but what you describe was never a problem.
DoctorOhh is offline   Reply With Quote
Old 11-17-2014, 12:29 PM   #5
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,094
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by chaot View Post
Just I have tested compatibility of Google Drive and Calibre - found it works (now). Maybe I do not quite understand the whole issue or Google has changed something.
The problem came when you stored your Calibre library in Google Drive and let Google Drive attempt to sync the library between two machines. What was happening was that the sync process was mangling the part of the book's folder name that was in brackets (the Calibre id field). As far as I know this problem is stioll there.
itimpi is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Solution to Calibre in Google Drive Mattes Related Tools 10 06-02-2014 06:13 PM
WARNING - Google Drive Incompatible with Calibre! DoctorOhh Related Tools 0 02-12-2013 02:59 AM
Google Drive Incompatable with Calibre! Yack Related Tools 10 02-02-2013 06:37 AM
[Google Drive Warning] Issue migrating Calibre Library to a different computer cptnemo Related Tools 7 01-22-2013 01:03 AM
[Google Drive Warning] Trouble moving/combining Calibre libraries vermontcathy Related Tools 4 11-24-2012 09:37 AM


All times are GMT -4. The time now is 12:27 AM.


MobileRead.com is a privately owned, operated and funded community.