Occasionally when I try to save epub files to disk, i receive an error

Bug #1666289 reported by Catherine A Schwartz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

This is the error received:

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

Failed to save the EPUB format of: Skating on Thin Ice by Jessica Fletcher 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 22] invalid mode ('w+bN') or filename: u'K:\\Books\\D\\Donald Bain\\Murder, She Wrote\\Skating on Thin Ice - Jessica Fletcher.epub'

It seems to happen more often when it's a file I have converted or changed the metadata for, but it is not consistent. It usually saves if I cancel out of the error message and try again, without changing any settings
Running on Windows 10.

description: updated
Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1666289

As far as I can see there is nothing invalid in either the filename or
mode of the file being opened. Which means that the problem is likely
caused by something on drive K: is it a special drive of some kind? An
external one or a network share or using a special filesystem, etc?

Try doing your save to another drive and see if the error still happens.

Revision history for this message
Kovid Goyal (kovid) wrote :

no followup

Changed in calibre:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.