Rainie3535 / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

cannot open epub file #1204

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please read http://code.google.com/p/sigil/wiki/ReportingIssues for
information about submitting a good bug report.

What steps will reproduce the problem?
1. i try to open the .epub file from the program and from the file.
2. doesn´t open the ebook and display error message.
3.
...

What is the expected output? What do you see instead?
i expect to see a ebook epub file instead appears the message:
Error info: Cannot load file 
C:\Users\cbruno\Desktop\igp-epub-unleashed-01.epub: 
C:\b\s\Sigil-Code-0.5.0\src\Sigil\Misc\Utility.cpp(265): Throw in function 
class QString __cdecl Utility::ReadUnicodeTextFile(const class QString &)
Dynamic exception type: class boost::exception_detail::clone_impl<struct 
CannotOpenFile>
std::exception::what: Unknown exception
[struct file_errorstring *] = No such file or directory
[struct file_fullpath *] = 
C:/Users/cbruno/AppData/Local/Temp/Sigil/scratchpad/fc489337-421e-4b22-be34-6c4c
868bd856/OPS/toc.ncx

What version of the product are you using? On what operating system?
Sigil version: 0.5.0
Runtime Qt: 4.7.4
Compiled Qt: 4.7.4
Platform: Windows SysInfo ID 144
operating system windows 7

Please provide any additional information below. If your source file
(SGF/EPUB/HTML/etc) is required to fully understand the problem, please
attach it to this issue. Read the ReportingIssues wiki page before
submitting!

Original issue reported on code.google.com by cbruno.f...@gmail.com on 25 Jan 2012 at 4:23

Attachments:

GoogleCodeExporter commented 9 years ago
The attached file is in the "ePub 3" format.

Sigil, I think, is Still "ePub 2".  I'm not sure if "ePub 3" has been ratified 
yet.

Original comment by shaun.voysey@outlook.com on 25 Jan 2012 at 5:25

GoogleCodeExporter commented 9 years ago
You can get this file to open by adding a toc.ncx file - I don't know why its 
missing (maybe because its epub 3?).

Unzip the file to a directory.
Start sigil, open the toc.ncx file that is given by default, save it as toc.ncx 
somewhere.
Copy the toc.ncx file to your directory under OPS
zip up the directory into a new test.epub file
open in sigil - it takes a while - quite a lot of graphics...

If this epub is private, let me know and we'll mark this issue private so that 
it can't be seen by others.

Original comment by meme90...@gmail.com on 25 Jan 2012 at 5:33

GoogleCodeExporter commented 9 years ago

Original comment by daveheil...@gmail.com on 19 May 2012 at 3:18