Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-05-2012, 08:57 AM   #1
kalpesh.spaceo@
Junior Member
kalpesh.spaceo@ began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2012
Device: EPUB 2.0
Post please give me the solution of this error

Type File Line Position Message
ERROR OPS/content.opf -1 -1 assertion failed: The "id" attribute does not have a unique value
ERROR OPS/content.opf -1 -1 assertion failed: The "id" attribute does not have a unique value

kalpesh.spaceo@ is offline   Reply With Quote
Advert
Old 07-05-2012, 09:08 AM   #2
Rob Lister
Fanatic
Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.
 
Posts: 532
Karma: 3293888
Join Date: Oct 2011
Location: Virginia
Device: Nook Simple Touch
Quote:
Originally Posted by kalpesh.spaceo@ View Post
Type File Line Position Message
ERROR OPS/content.opf -1 -1 assertion failed: The "id" attribute does not have a unique value
ERROR OPS/content.opf -1 -1 assertion failed: The "id" attribute does not have a unique value

You're in the wrong forum so expect to be moved. Where did you get this error? Under what circumstances?

You're really not giving enough information but generally what I see is a malformed epub.

content.opf is a file inside an epub archive.
in it, there are entries such as ...
<item href="Text/chapter01.xhtml" id="c01" media-type="application/xhtml+xml" />

for any given type, each id must exist and be unique.

this is just speculation on my part. I can't garner enough from the error message to be more specific.

Last edited by Rob Lister; 07-05-2012 at 09:21 AM.
Rob Lister is offline   Reply With Quote
Old 07-05-2012, 09:18 AM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,393
Karma: 85729102
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Search the OPF for duplicate "id" attributes. Make them "not duplicates."
DiapDealer is offline   Reply With Quote
Old 07-05-2012, 09:25 AM   #4
Rob Lister
Fanatic
Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.Rob Lister ought to be getting tired of karma fortunes by now.
 
Posts: 532
Karma: 3293888
Join Date: Oct 2011
Location: Virginia
Device: Nook Simple Touch
Quote:
Originally Posted by DiapDealer View Post
Search the OPF for duplicate "id" attributes. Make them "not duplicates."
LOL. Where he to take you literally, he'd still get the error.

<item href="Text/chapter01.xhtml" id="not duplicates" media-type="application/xhtml+xml" />
<item href="Text/chapter01.xhtml" id="not duplicates" media-type="application/xhtml+xml" />
<item href="Text/chapter01.xhtml" id="not duplicates" media-type="application/xhtml+xml" />
Rob Lister is offline   Reply With Quote
Old 07-05-2012, 09:32 AM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,393
Karma: 85729102
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Oops! You're right.

I retract the quotation marks:

Search the OPF for duplicate "id" attributes. Make them not duplicates.
DiapDealer is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM
OK, I give up, what is Karma and how do we give/get it? chas0039 Feedback 4 06-02-2011 08:25 PM
Pandigital: We'll give you Android, you give up your warranty RockdaMan Android Devices 6 01-12-2011 12:17 AM
ERROR: Error: Error communicating with device JWood Calibre 10 04-20-2010 07:28 PM
SOLUTION: Error 1327 while installing Library numindast Sony Reader 0 08-13-2008 08:01 PM


All times are GMT -4. The time now is 08:44 PM.


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