View Single Post
Old 03-03-2017, 03:55 PM   #19
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,781
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@DrChiper - I didn't think you would fall into the cascading folders trap, but I thought it worth mentioning.

I'm using Windows 10 version 1706 (up to date as of 30 minutes ago), and Calibre 2.80. This computer had it's 10th birthday last November. My tests were of: Save to Disk->Save to disk in a single directory on a book that only has an epub, and my STD settings are thus:

Click image for larger version

Name:	stdsettings.jpg
Views:	103
Size:	100.3 KB
ID:	155432

In that environment I can't reproduce what you've described. Calibre always saves the current EPUB (or other formats). If the file already exists it is always overwritten and the mod and create timestamps are always the date and time of the STD operation - even if I don't change the EPUB.

The overwrite happens irrespective of the create and mod timestamps of the existing file. I tried backdating to the 19th and forward dating to the 22nd centuries. I tried make the existing file Read Only and I got this error.

Code:
calibre, version 2.80.0
ERROR: Error while saving: Failed to save any books to disk, click "Show details" for more information

Failed to save the EPUB format of: Bleak House by Charles Dickens to disk, with error:
    Traceback (most recent call last):
      File "site-packages\calibre\gui2\save.py", line 263, in write_book
      File "site-packages\calibre\gui2\save.py", line 284, in write_fmt
      File "site-packages\calibre\startup.py", line 116, in local_open
    IOError: [Errno 13] Permission denied: u'C:\\_Scratch\\SaveBook\\Bleak House - Charles Dickens.epub'
I guess one could make a case for an optional warning message if a file already exists.

BR

Last edited by BetterRed; 03-03-2017 at 03:57 PM.
BetterRed is offline   Reply With Quote