|04-20-2010, 11:33 AM||#1|
Join Date: Jul 2009
Calibre + Gladinet + Skydrive
I know about the solution with Dropbox, but I'm trying to get Calibre working with Gladinet and Skydrive.
Basically, Gladinet creates a drive letter in your system, but instead of synchronizing files, it acts as a actual drive, saving the file direct to the destination.
In principle, it seemed straightforward. I've just set the Z:\Windows Live SkyDrive\calibre as Location for ebooks.
The problem is the way Gladinet does its stuff. When you copy/add a file to that directory, it starts uploading the file (FTP-style) which can take a while.
As far I could see, Calibre timeouts for open/modifying files are ok for local files, but not for remote files with that behavior. Because of that, if I try, for example, I've got an error like that:
ERROR: ERROR: Unhandled exception: <b>WindowsError</b>:[Error 145] The directory is not empty: u'Z:\\Windows Live SkyDrive\\calibre\\Chris\\Book.pdf'
Traceback (most recent call last):
File "site-packages\calibre\gui2\dialogs\metadata_single.py", line 641, in accept
File "site-packages\calibre\library\database2.py", line 758, in set_title
File "site-packages\calibre\library\database2.py", line 322, in set_path
File "site-packages\calibre\library\database2.py", line 270, in rmtree
File "site-packages\calibre\library\database2.py", line 49, in delete_tree
File "shutil.py", line 225, in rmtree
File "shutil.py", line 223, in rmtree
WindowsError: [Error 145] The directory is not empty: u'Z:\\Windows Live SkyDrive\\calibre\\Chris\\Book.PDF'
In that case, I've tried to edit a PDF metadata.
Is there a way to tell Calibre to copy the file to a temp folder before changing it and then send it back to the final destination afterwards? Or another way to live with that scenario?
|04-21-2010, 08:36 AM||#2|
Creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
I'm afraid not. There are too many places in the code that assume the filesystem being written to is a local one, for things like timeouts and file locking.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Calibre metadata.calibre not allowing updates||Chuckels550||Calibre||10||08-09-2010 06:12 PM|
|Using Calibre as a client for another Calibre instance?||toddos||Calibre||27||06-30-2010 05:57 AM|
|cannot open calibre on osx 10.6-- "Calibre is already running" message||jlip||Calibre||4||01-03-2010 12:05 AM|
|calibre command line utilities and calibre defaults||astrodad||Calibre||2||08-07-2008 04:27 PM|