![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Apr 2015
Device: MacBook Pro
|
Error when opening file with Sigil
Hi everyone, i have created a book using Sigil, now when i try open it i get: Sigil encountered a problem: Please report it on the issue tracker, including the details from this dialog.
Error info: Cannot load file /Users/mbadenhorst...... Throw in function static Qstring Utility::ReadUnicodeTextFile(const QStrings&Dynamic exeption type: boost::exception_detail::clone_impl<CannotOpen etc.etc. Is this file recoverable? |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
This is not an audiobooks problem???
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Recoverable?
Try the Calibre (book) Editor. See what that does. Did you use unicode characters in the (internal) file names? Not the best choice for the same reason you see...Not all devices handle non-ASCII gracefully ![]() |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sigil will warn you when trying to include internal file names with non-ascii characters, but it will still let you do it if you insist. I've played around and was able to save/open epubs with some basic latin non-unicode characters in file-names with no trouble, but I didn't get very fancy.
I'd like to believe that Sigil would always be able to open an epub that it successfully created/saved, but wouldn't bet my life on it (I'd probably bet someone else's though ... like that neighbor with the loud car at 2am). The question should probably be; "what did you do to the epub AFTER you created it with Sigil?" As far as being "recoverable" ... it's just a zip archive. Unzip it and see if you can salvage the files inside. Last edited by DiapDealer; 04-22-2015 at 04:39 PM. |
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5703586
Join Date: Nov 2009
Device: many
|
FWIW, That error comes from Utility.cpp which uses QFile on a full unicode filepath and tries to open the file at that path. So it should handle all paths representable in unicode. On Linux boxes filepaths are true bytestrings and can actually contain byte sequences that are not valid in unicode. Other than that, it should work on any path properly convertable to unicode.
KevinH |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
![]() |
![]() |
![]() |
#8 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
I want your life, Notjohn.
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil crashed on opening file ? | rbay | Sigil | 7 | 06-06-2013 04:42 PM |
error opening a LIT file | mfsav2 | Conversion | 5 | 04-13-2013 09:16 PM |
Opening a lit file returns error | fiery | Calibre | 1 | 12-24-2010 02:05 PM |
Sigil error - Cannot read file / Permission denied | dgraygrayco | Sigil | 4 | 01-13-2010 05:15 PM |
Error when opening lit file | thfc2008 | Other formats | 7 | 11-25-2008 06:55 PM |