I have attached an EPUB + XHTML file to show the problem.
Problem
If the EPUB has a filename:
Code:
Thisisacover.xhtml (capital T)
and you
Add Existing Files:
Code:
thisisacover.xhtml (lowercase T)
Sigil crashes.
Steps to Reproduce
1. Open EPUB.
2.
Right Click + Add Existing Files, and add
thisisacover.xhtml to EPUB.
Versions Tested
Latest Sigil 0.9.9 on Windows 10 and Mac High Sierra (10.13.4).
* * * * *
Other Replace File Issue
If you use
Add Existing Files to replace files that already exist in the ePUB:
If it reaches an image file, you get:
Code:
The multimedia file "filename.jpg" already exists in the book.
OK to replace?
OK + Cancel
You can press OK to replace, or Cancel to skip.
But with an HTML file you get:
Code:
Unable to load "filename.xhtml"
A file with this name already exists in the book.
OK
The only choice is to skip.
It would be helpful if:
- HTML files could also be overwritable
- There was a "Replace All"
- There was a "Skip All"
Currently, it is frustrating if you try to replace a lot of files and have to click through them one-by-one.