oasegips / sigil

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

Crash opening a decrypted Adobe ePub #600

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Buy an ePub with Adobe DRM.
2. Convert the downloaded file (acsm?) into epub using Adobe Digital Editions.
3. Decrypt the epub using ineptpub.py
4. Open the decrypted epub using Sigil.

What is the expected output? What do you see instead?
The book should open. Instead, Sigil crashes. The book does import into iTunes 
and can be read in iBooks.

What version of the product are you using? On what operating system?
Sigil 0.2.4 on Mac OS X 10.6.4.

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!

Error info: Cannot load file /Users/cjr/Downloads/fixed.epub: 
/Users/User/Desktop/sigil/main_code/src/Sigil/Misc/Utility.cpp(283): Throw in 
function static QString Utility::ReadUnicodeTextFile(const QString&)
Dynamic exception type: N5boost16exception_detail10clone_implI14CannotOpenFileEE
std::exception::what: std::exception
[P12error_string] = Permission denied

Sigil version: 0.2.4
Runtime Qt: 4.6.3
Compiled Qt: 4.6.3
Platform: Mac SysInfo ID 8

Original issue reported on code.google.com by chris.r...@gmail.com on 27 Sep 2010 at 10:36

GoogleCodeExporter commented 9 years ago
This is a duplicate of an already resolved issue, but I wanted to make 
something clear: "1. Buy an ePub with Adobe DRM." is not a valid step. As the 
ReportingIssues wiki page states, if the problem is related to an epub file, 
you need to attach it to the issue.

And this has nothing to do with the epub being originally encrypted, but with 
the epub creator setting the wrong filesystem permissions for the content 
files. 

Original comment by Strahinja.Markovic@gmail.com on 27 Sep 2010 at 12:09