![]() |
#1 |
Connoisseur
![]() ![]() ![]() Posts: 63
Karma: 250
Join Date: Jul 2009
Device: PRS-505
|
Calibre + Gladinet + Skydrive
Hi,
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? Thanks! |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,209
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() Posts: 63
Karma: 250
Join Date: Jul 2009
Device: PRS-505
|
I could imagine that. Thanks anyway.
I'll go to Dropbox solution, instead. Regards |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre metadata.calibre not allowing updates | Chuckels550 | Calibre | 10 | 08-09-2010 05:12 PM |
Using Calibre as a client for another Calibre instance? | toddos | Calibre | 27 | 06-30-2010 04:57 AM |
cannot open calibre on osx 10.6-- "Calibre is already running" message | jlip | Calibre | 4 | 01-02-2010 11:05 PM |
calibre command line utilities and calibre defaults | astrodad | Calibre | 2 | 08-07-2008 03:27 PM |