Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-28-2017, 07:01 PM   #16
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by primetime34 View Post
Every single one of the xhtml files gives an RSC-016 "Fatal error while parsing file 'content is not allowed in prolog.'" and error RSC-005 "Error while parsing file 'Content is not allowed in prolog."

It also gives this error:

ERROR PKG-006 Hearts of the Children 5-Volume Set Bundle.epub Mimetype file entry is missing or is not the first file in the archive.
As we've been saying all along, the files are encrypted. You have an epub with DRM in it. And it appears to be missing some files. Or, you have a Kobo ePub that has DRM. Their DRM is different from the more common Adobe DRM, and does not include some of the files I mentioned. Plus some files that are encrypted as part of the Adobe DRM are not encrypted by the Kobo DRM.

No matter what, I don't think we can help more. You probably need to go back to the source for the book and ask for a non-DRM protected version. Or download it properly using the appropriate application and use the DRM removal tools from Apprentice Alf.
davidfor is offline   Reply With Quote
Old 12-28-2017, 07:03 PM   #17
primetime34
Zealot
primetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheese
 
Posts: 124
Karma: 1142
Join Date: Feb 2010
Device: Kindle 3, Nook 3G
Quote:
Originally Posted by davidfor View Post
As we've been saying all along, the files are encrypted. You have an epub with DRM in it. And it appears to be missing some files. Or, you have a Kobo ePub that has DRM. Their DRM is different from the more common Adobe DRM, and does not include some of the files I mentioned. Plus some files that are encrypted as part of the Adobe DRM are not encrypted by the Kobo DRM.

No matter what, I don't think we can help more. You probably need to go back to the source for the book and ask for a non-DRM protected version. Or download it properly using the appropriate application and use the DRM removal tools from Apprentice Alf.
Okay...kind of frustrating...I'll go and see if I can get a non-DRM version (doubtful). I already have Apprentice Alf's tool installed and it didn't remove this DRM...
primetime34 is offline   Reply With Quote
Advert
Old 12-28-2017, 09:16 PM   #18
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,365
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Since the file is actually DRMed it should be fine to post to mobileread. So re-attach it and I will see if I can get calibre to recognize the DRM so that when you try to view/convert it, you at least get a nice error message telling you the file is DRMed.
kovidgoyal is offline   Reply With Quote
Old 12-28-2017, 11:02 PM   #19
primetime34
Zealot
primetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheese
 
Posts: 124
Karma: 1142
Join Date: Feb 2010
Device: Kindle 3, Nook 3G
Quote:
Originally Posted by kovidgoyal View Post
Since the file is actually DRMed it should be fine to post to mobileread. So re-attach it and I will see if I can get calibre to recognize the DRM so that when you try to view/convert it, you at least get a nice error message telling you the file is DRMed.
https://drive.google.com/file/d/0Byr...ew?usp=sharing

Thanks!
primetime34 is offline   Reply With Quote
Old 12-28-2017, 11:24 PM   #20
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,365
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Interestingly that file seems to have been created/edited with Sigil and then post-processed by some tool to encrypt all the HTML files and then base64 encode them. I can see no indication in any of the metadata files that the file is DRMed, so detecting it in calibre is problematic.
kovidgoyal is offline   Reply With Quote
Advert
Old 12-29-2017, 12:02 AM   #21
primetime34
Zealot
primetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheese
 
Posts: 124
Karma: 1142
Join Date: Feb 2010
Device: Kindle 3, Nook 3G
Quote:
Originally Posted by kovidgoyal View Post
Interestingly that file seems to have been created/edited with Sigil and then post-processed by some tool to encrypt all the HTML files and then base64 encode them. I can see no indication in any of the metadata files that the file is DRMed, so detecting it in calibre is problematic.

These are the folders just zipped up that are used in the proprietary app.

https://drive.google.com/file/d/1Enb...ew?usp=sharing
primetime34 is offline   Reply With Quote
Old 12-29-2017, 05:12 PM   #22
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,288
Karma: 169098402
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by kovidgoyal View Post
Interestingly that file seems to have been created/edited with Sigil and then post-processed by some tool to encrypt all the HTML files and then base64 encode them. I can see no indication in any of the metadata files that the file is DRMed, so detecting it in calibre is problematic.
Would it be possible to check that if content.opf and/or toc.ncx start with "<?xml version="1.0" encoding="utf-8" ?>" and the HTML text files do not as an indication that the epub uses Deseret's encryption? Or even that the first character of the html text files is not "<"?
DNSB is offline   Reply With Quote
Old 12-29-2017, 05:17 PM   #23
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,288
Karma: 169098402
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by primetime34 View Post
These are the folders just zipped up that are used in the proprietary app.

https://drive.google.com/file/d/1Enb...ew?usp=sharing
Looking at those files, they look like an unpacked epub file. Change the extension to epub from zip and you get an epub that has issues with the contents of the text files. Comparing the .epub you originally posted to the .zip, they are identical.
DNSB is offline   Reply With Quote
Old 12-29-2017, 05:18 PM   #24
primetime34
Zealot
primetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheese
 
Posts: 124
Karma: 1142
Join Date: Feb 2010
Device: Kindle 3, Nook 3G
Quote:
Originally Posted by DNSB View Post
Would it be possible to check that if content.opf and/or toc.ncx start with "<?xml version="1.0" encoding="utf-8" ?>" and the HTML text files do not as an indication that the epub uses Deseret's encryption? Or even that the first character of the html text files is not "<"?
The content.opf file does start with "<?xml version="1.0" encoding="utf-8" ?>"

The html files (which are xhtml files) when opened with notepad just show random text, like this:

1GuYZ5cBVfNdzbHq1hVd3OBnTwOEXuS0rruu8tl8pczkC65CY9 Yepx5s0e4oxANAxrHS3mwOYl6NvtmSgsPWZYoyZByCIkcVMPyt L1DGyzpf8AFo3ATqwiCBi6NIlRk5IUe3JUyFJZH5dw4j9zz56G k1tya/Wm9AKTVhV8b8smqK1+j0haSSuz6K6/nN5xCH2J2m5WhMC7/Y4kOeizQiW24RsEcoo6l/78vsE6d2unol9snit2kitB

Does that help?
primetime34 is offline   Reply With Quote
Old 12-29-2017, 05:19 PM   #25
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,288
Karma: 169098402
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by primetime34 View Post
The content.opf file does start with "<?xml version="1.0" encoding="utf-8" ?>"

The html files (which are xhtml files) when opened with notepad just show random text, like this:

1GuYZ5cBVfNdzbHq1hVd3OBnTwOEXuS0rruu8tl8pczkC65CY9 Yepx5s0e4oxANAxrHS3mwOYl6NvtmSgsPWZYoyZByCIkcVMPyt L1DGyzpf8AFo3ATqwiCBi6NIlRk5IUe3JUyFJZH5dw4j9zz56G k1tya/Wm9AKTVhV8b8smqK1+j0haSSuz6K6/nN5xCH2J2m5WhMC7/Y4kOeizQiW24RsEcoo6l/78vsE6d2unol9snit2kitB

Does that help?
The message was more to Kovid's attention. It's so easy when I don't have to program the detection myself.
DNSB is offline   Reply With Quote
Old 12-29-2017, 05:41 PM   #26
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,736
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by primetime34 View Post
Does that help?
What might help is - if you could confirm you purchased this book from Deseret, and that you can read it with the Deseret reader?

And if you didn't buy it from Deseret, then where you did buy it? Different publishers use different encryption algorithms and they are constantly inventing new ones to thwart piracy. So if you paid Amazon for it you should be able to read it on your Kindle, similarly for B&N and your Nook etc.

BR
BetterRed is offline   Reply With Quote
Old 12-29-2017, 06:02 PM   #27
primetime34
Zealot
primetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheeseprimetime34 can extract oil from cheese
 
Posts: 124
Karma: 1142
Join Date: Feb 2010
Device: Kindle 3, Nook 3G
Quote:
Originally Posted by BetterRed View Post
What might help is - if you could confirm you purchased this book from Deseret, and that you can read it with the Deseret reader?

And if you didn't buy it from Deseret, then where you did buy it? Different publishers use different encryption algorithms and they are constantly inventing new ones to thwart piracy. So if you paid Amazon for it you should be able to read it on your Kindle, similarly for B&N and your Nook etc.

BR
I did buy it from Deseret book and I can read it on Deseret Bookshelf (their app). I was hoping to be able to listen to it via Moon Reader+, thus the desire to create an epub that can be read in Calibre.
primetime34 is offline   Reply With Quote
Old 12-29-2017, 08:58 PM   #28
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,365
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by DNSB View Post
Would it be possible to check that if content.opf and/or toc.ncx start with "<?xml version="1.0" encoding="utf-8" ?>" and the HTML text files do not as an indication that the epub uses Deseret's encryption? Or even that the first character of the html text files is not "<"?
That's not a sufficiently robust check. There can be buggy HTML files that contain ggarbage content, doesn't mean the epub is DRMed.
kovidgoyal is offline   Reply With Quote
Old 12-30-2017, 02:01 AM   #29
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,736
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by primetime34 View Post
I did buy it from Deseret book and I can read it on Deseret Bookshelf (their app). I was hoping to be able to listen to it via Moon Reader+, thus the desire to create an epub that can be read in Calibre.
I suggest you ask Deseret if they provide a means to listen to the text - or maybe they have the series in MP3. Amazon has Hearts of Children CDs.

Essentially what Moon Reader or any other epub listening app does is to 'extract' the epub content to plain text, and then feed that into a Text To Speech (TTS) engine; some operating systems have 'built-in' TTS engines.

Because your epub is encrypted, programs like Moonreader can't 'extract' the plain text any more than calibre can.

There's a limit to the extent DRM removal can be discussed at MR. I fear we may be close to that limit - see item 8 in the Posting Guidelines.

BR
BetterRed is offline   Reply With Quote
Old 12-30-2017, 02:06 AM   #30
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,736
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by BetterRed View Post
I suggest you ask Deseret if they provide a means to listen to the text - or maybe they have the series in MP3. Amazon has Hearts of Children CDs.
Sigh - see what I wrote in here about Audiobooks

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Latest Kobo Nightlys have messed up History & Open in last file Ken Maltby KOReader 7 05-10-2016 04:50 AM
ePub to Kindle... margins messed up? Zaimejs Conversion 0 08-16-2012 04:52 PM
epub edited - now it's messed up NASCARaddicted ePub 13 08-19-2010 12:04 PM
page numbers messed up in my epub verybadcat ePub 1 04-13-2010 04:47 PM


All times are GMT -4. The time now is 11:13 AM.


MobileRead.com is a privately owned, operated and funded community.