Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-30-2019, 06:05 PM   #1
p0rtia
Junior Member
p0rtia began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2019
Device: none
Ingram Spark

Greetings from an occasional Calibre user.

I'm getting content.opf error messages trying to upload an .epub to IngramSpark. Checking the archives here I see that this is not new:

[ERROR]OEBPS/content.opf: 2,213: URL expected instead of calibre:
[ERROR]OEBPS/content.opf: 22,46: Undecleared prefix: calibre

I also see the recommended solution: "It's a bug in whatever validator it uses. It probably chokes on a prefix attribute that has multiple prefixes or prefixes it does not know about. You can work around it by deleting the calibre prefix and any properties that use it from the OPF."

As with someone on that old thread, I don't know enough to know how to "delete the calibre prefix and any properties that use in from the OPF. I've tried a couple of different deletions, but nothing works. If anyone is willing to hold my hand, I'd appreciate it.

I note that these errors msgs occur when I try to upload the file after using the cailbre edit function, btw. And yet the content.opf file does not appear to change. I be stumped.

Thanks!
p0rtia is offline   Reply With Quote
Old 11-30-2019, 07:56 PM   #2
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,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I use Sigil's Edit Metadata tool to get rid of extraneous entries in the content.opf.

BR
BetterRed is offline   Reply With Quote
Advert
Old 11-30-2019, 10:05 PM   #3
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,337
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Open the book in the calibre editor, open the content.opf file in the book. Look for prefix="something" from that something delete the calibre:... part

And before doing this in the editor preferences, under integration with calibre turn off the setting to update metadata. This will prevent opening the book in the editor re-adding the calibre prefixes.
kovidgoyal is offline   Reply With Quote
Old 12-01-2019, 08:26 AM   #4
p0rtia
Junior Member
p0rtia began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Open the book in the calibre editor, open the content.opf file in the book. Look for prefix="something" from that something delete the calibre:... part

And before doing this in the editor preferences, under integration with calibre turn off the setting to update metadata. This will prevent opening the book in the editor re-adding the calibre prefixes.
Thanks for your time, Kovid .

That got rid of [ERROR]OEBPS/content.opf: 2,213: URL expected instead of calibre:

But--

[ERROR]OEBPS/content.opf: 22,46: Undecleared prefix: calibre

remains.

I'm guessing from my research that I need to remove some part of this line in the opf:

<meta property="calibre:author_link_map">{"Susan Larson": ""}</meta>
</metadata>

Can you please advise?

And thanks for the info on turning off "update metadata" The return of text that I had edited out was driving me wild.
p0rtia is offline   Reply With Quote
Old 12-01-2019, 10:27 AM   #5
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,337
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Delete that as well.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EPub for Ingram Spark PKTC ePub 37 03-01-2017 06:18 PM
Hmmm... Stop Reading to Spark Creativity.... kennyc Writers' Corner 2 07-16-2013 03:26 PM
Anyone know anything about Ingram Spark? VydorScope Writers' Corner 1 05-21-2013 03:15 AM
Could the Kindle spark book piracy? Alexander Turcic Amazon Kindle 294 12-26-2007 06:31 PM


All times are GMT -4. The time now is 08:42 AM.


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