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-15-2010, 06:02 AM   #1
thunderune
Member
thunderune began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2010
Device: iPad
attribute "scheme" from namespace error in epubcheck 1.0.5

I am unsure of how to deal with this one, nor am I sure of how to search it.

ERROR: /Users/thunderrune/Desktop/E.S. Wynn - Pink Carbide.epub/OPS/fb.opf(24): attribute "scheme" from namespace "http://www.idpf.org/2007/opf" not allowed at this point; ignored


-Thanks
thunderune is offline   Reply With Quote
Old 07-15-2010, 06:29 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
You may have some unclosed tag or some compulsory data missing. Can we see the fb.opf file (or the whole .epub)?
Jellby is offline   Reply With Quote
Advert
Old 07-15-2010, 02:53 PM   #3
thunderune
Member
thunderune began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2010
Device: iPad
Quote:
Originally Posted by Jellby View Post
You may have some unclosed tag or some compulsory data missing. Can we see the fb.opf file (or the whole .epub)?
It is a whole ePub file, no additional files.
thunderune is offline   Reply With Quote
Old 07-15-2010, 02:59 PM   #4
thunderune
Member
thunderune began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2010
Device: iPad
oh yeah, additional information, I made it off of feedbooks.com
thunderune is offline   Reply With Quote
Old 07-16-2010, 03:34 AM   #5
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
OK, post it here then.

You know, you go to the advanced posting interface (click on "Go Advanced"), and then click on the "Manage Attachments" button below the text edit box.
Jellby is offline   Reply With Quote
Advert
Old 07-18-2010, 03:42 AM   #6
thunderune
Member
thunderune began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2010
Device: iPad
Here it is, if you can fix it or tell me how to fix it that would be great.

To others reading this thread: this attachment is for diagnostic purposes only please do not download unless you intend on helping me fix it, thanks

Last edited by thunderune; 07-19-2010 at 08:37 PM.
thunderune is offline   Reply With Quote
Old 07-18-2010, 03:43 AM   #7
thunderune
Member
thunderune began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2010
Device: iPad
I downloaded it once to see what it did, i am not used to this site
thunderune is offline   Reply With Quote
Old 07-18-2010, 04:22 AM   #8
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
This is the culprit:

Code:
<dc:rights  opf:scheme="URI">http://creativecommons.org/licenses/by/3.0/</dc:rights>
The OPF specification allows "scheme" to be used only in the <identifier> element, not anywhere else. If Feedbooks is including it in <rights>, it's doing wrong, and it's a bug.

Last edited by Jellby; 07-20-2010 at 04:13 AM.
Jellby is offline   Reply With Quote
Old 07-19-2010, 08:36 PM   #9
thunderune
Member
thunderune began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2010
Device: iPad
Okay, how do you fix this bug? if fixing is not an option, do you recommend a Ebook program i can use?
thunderune is offline   Reply With Quote
Old 07-20-2010, 04:19 AM   #10
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Well, first you should write to FeedBooks support: support@feedbooks.com pointing to this thread. I'm sure they'll like to fix it.

In the meantime, fixing the ePUB is easy:

1. Unzip the .epub file, just as if it were a .zip file. If needed, rename the file to .zip first.
2. Open the OPS/fb.opf file with a text editor (not Word, but something like Notepad), and delete the offending opf:scheme="URI"
3. Add the modified file to the original .epub/.zip (or a backup). With WinZip/WinRar it's probably as simple as drag&drop.
4. Rename the .zip back to .epub if you had renamed it first.
5. Check it in the online validator: http://www.threepress.org/tools/

With something like WinZip/WinRar it could be even simpler, they might let you edit the files that are inside the .epub without having to actually unzip it.
Jellby is offline   Reply With Quote
Old 07-21-2010, 04:03 AM   #11
thunderune
Member
thunderune began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2010
Device: iPad
Quote:
Originally Posted by thunderune View Post
Here it is, if you can fix it or tell me how to fix it that would be great.

To others reading this thread: this attachment is for diagnostic purposes only please do not download unless you intend on helping me fix it, thanks
Quote:
Originally Posted by Jellby View Post
Well, first you should write to FeedBooks support: support@feedbooks.com pointing to this thread. I'm sure they'll like to fix it.

In the meantime, fixing the ePUB is easy:

1. Unzip the .epub file, just as if it were a .zip file. If needed, rename the file to .zip first.
2. Open the OPS/fb.opf file with a text editor (not Word, but something like Notepad), and delete the offending opf:scheme="URI"
3. Add the modified file to the original .epub/.zip (or a backup). With WinZip/WinRar it's probably as simple as drag&drop.
4. Rename the .zip back to .epub if you had renamed it first.
5. Check it in the online validator: http://www.threepress.org/tools/

With something like WinZip/WinRar it could be even simpler, they might let you edit the files that are inside the .epub without having to actually unzip it.
thanks, but I did exactly as stated and now it is having a filename error stating that

"ERROR: /Users/thunderrune/Desktop/E.S. Wynn-Pink Carbide.epub: length of first filename in archive must be 8, but was 9"

any Ideas i would appriciate it

thanks,

Randy
thunderune is offline   Reply With Quote
Old 07-21-2010, 05:31 AM   #12
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by thunderune View Post
thanks, but I did exactly as stated and now it is having a filename error stating that

"ERROR: /Users/thunderrune/Desktop/E.S. Wynn-Pink Carbide.epub: length of first filename in archive must be 8, but was 9"

any Ideas i would appriciate it

thanks,

Randy
This is the error you get when the mimetype isn't treated properly. Use epubtweak to extract the opf file for editing and it'll avoid this.
charleski is offline   Reply With Quote
Old 07-21-2010, 06:10 AM   #13
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by thunderune View Post
"ERROR: /Users/thunderrune/Desktop/E.S. Wynn-Pink Carbide.epub: length of first filename in archive must be 8, but was 9"
Does that happen when you zip only the modified file into the original ePUB? Valid ePUB files are required to have the "mimetype" file zipped first and uncompressed. If you update only the modified files, the "mimetype" should remain unchanged and therefore the ePUB should remain valid. If the zip program does not behave in this way, it's probably not a bug, but it's weird. If, on the other hand, you are zipping again the whole contents of the original ePUB, don't do that, and update only the modified *.opf file instead.
Jellby is offline   Reply With Quote
Old 07-22-2010, 01:51 AM   #14
thunderune
Member
thunderune began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2010
Device: iPad
Quote:
Originally Posted by Jellby View Post
Does that happen when you zip only the modified file into the original ePUB? Valid ePUB files are required to have the "mimetype" file zipped first and uncompressed. If you update only the modified files, the "mimetype" should remain unchanged and therefore the ePUB should remain valid. If the zip program does not behave in this way, it's probably not a bug, but it's weird. If, on the other hand, you are zipping again the whole contents of the original ePUB, don't do that, and update only the modified *.opf file instead.
Yeah I used stuffit archive manager to do this. I actually tried to create an archive from an unzipped folder but it didn't work. Ill try to use the aforementioned program an ill see how it works.
thunderune is offline   Reply With Quote
Old 07-23-2010, 04:53 AM   #15
thunderune
Member
thunderune began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2010
Device: iPad
Quote:
Originally Posted by Jellby View Post
Well, first you should write to FeedBooks support: support@feedbooks.com pointing to this thread. I'm sure they'll like to fix it.

In the meantime, fixing the ePUB is easy:

1. Unzip the .epub file, just as if it were a .zip file. If needed, rename the file to .zip first.
2. Open the OPS/fb.opf file with a text editor (not Word, but something like Notepad), and delete the offending opf:scheme="URI"
3. Add the modified file to the original .epub/.zip (or a backup). With WinZip/WinRar it's probably as simple as drag&drop.
4. Rename the .zip back to .epub if you had renamed it first.
5. Check it in the online validator: http://www.threepress.org/tools/

With something like WinZip/WinRar it could be even simpler, they might let you edit the files that are inside the .epub without having to actually unzip it.

SUCCESS!! Thanks for the help guys! I will now report it to feedbooks.
thunderune is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Protect Page" error with Public Library EPUB books DojoPat Sony Reader 28 07-13-2010 12:09 AM
Epub Fixer Error: "zip error: 15" Gordo29 Kobo Reader 0 06-26-2010 01:57 PM
< ol > "start attribute issue eclecticguy ePub 5 06-08-2010 01:41 PM
attribute "span" not paulpeer Sigil 14 03-10-2010 05:24 PM
Error message : "Invalid Format" " Do you want to format your internal memory" narbeauchamp Sony Reader 11 07-22-2009 12:39 PM


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


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