Mobileread
Epub File Not Read From Asset Folder
#1  rajaramanperumal 06-17-2012, 04:06 AM
Hi ,

Epub File Not Read From Asset Folder

#2  mikelv 06-17-2012, 08:49 AM
Quote rajaramanperumal
Epub File Not Read From Asset Folder
Could you please give me some more details?

#3  rajaramanperumal 06-18-2012, 01:48 AM
hi ,
i Try to Read zip File from asset Folder , within zip folder i have .opf file this file have a href link for html File , it display html file not found Exception

#4  mikelv 06-18-2012, 10:21 AM
Quote rajaramanperumal
hi ,
i Try to Read zip File from asset Folder , within zip folder i have .opf file this file have a href link for html File , it display html file not found Exception
Please check if this file is a valid epub file: http://validator.idpf.org/. If the validator shows errors, please fix them first. If the validator shows no errors, try it again with EPUBReader. If you still get an error in EPUBReader, please send me the complete error message.

#5  rajaramanperumal 06-19-2012, 09:32 AM
Hi,
This is my error Reports


06-19 18:48:27.911: W/System.err(567): java.io.FileNotFoundException: Simple.epub:OEBPS/xhtml/Chapter6.html

06-19 18:48:27.911: W/System.err(567): at android.content.res.AssetManager.openAsset(Native Method)

06-19 18:48:27.922: W/System.err(567): at android.content.res.AssetManager.open(AssetManager .java:315)

06-19 18:48:27.922: W/System.err(567): at android.content.res.AssetManager.open(AssetManager .java:289)

06-19 18:48:27.922: W/System.err(567): at org.geometerplus.zlibrary.ui.android.library.ZLAnd roidLibrary$AndroidAssetsFile.getInputStream(ZLAnd roidLibrary.java:327)

06-19 18:48:27.922: W/System.err(567): at org.geometerplus.zlibrary.core.xml.ZLXMLProcessor. read(ZLXMLProcessor.java:40)

06-19 18:48:27.922: W/System.err(567): at org.geometerplus.zlibrary.core.xml.ZLXMLProcessor. read(ZLXMLProcessor.java:35)

06-19 18:48:27.922: W/System.err(567): at org.geometerplus.zlibrary.core.xml.ZLXMLReaderAdap ter.read(ZLXMLReaderAdapter.java:24)

06-19 18:48:27.922: W/System.err(567): at org.geometerplus.fbreader.formats.xhtml.XHTMLReade r.readFile(XHTMLReader.java:174)

06-19 18:48:27.922: W/System.err(567): at org.geometerplus.fbreader.formats.oeb.OEBBookReade r.readBook(OEBBookReader.java:98)

06-19 18:48:27.922: W/System.err(567): at org.geometerplus.fbreader.formats.oeb.OEBPlugin.re adModel(OEBPlugin.java:67)

06-19 18:48:27.931: W/System.err(567): at org.geometerplus.fbreader.bookmodel.BookModel.crea teModel(BookModel.java:50)

06-19 18:48:27.931: W/System.err(567): at org.geometerplus.fbreader.fbreader.FBReaderApp.ope nBookInternal(FBReaderApp.java:251)

06-19 18:48:27.931: W/System.err(567): at org.geometerplus.fbreader.fbreader.FBReaderApp$1.r un(FBReaderApp.java:165)

06-19 18:48:27.931: W/System.err(567): at org.geometerplus.android.util.UIUtil$3$1.run(UIUti l.java:120)

06-19 18:48:27.931: I/System.out(567): myprefix+NCX

06-19 18:48:27.972: I/System.out(567): Simple.epub:OEBPS/toc.ncx

06-19 18:48:27.972: I/System.out(567): file:///android_asset/OEBPS/

06-19 18:48:27.972: I/System.out(567): XML Processor buff

06-19 18:48:27.972: I/System.out(567): org.geometerplus.zlibrary.ui.android.library.ZLAnd roidLibrary$AndroidAssetsFile@1abaf3f7

06-19 18:48:27.972: W/System.err(567): org.geometerplus.fbreader.bookmodel.BookReadingExc eption: Error occured during reading 'Simple.epub:OEBPS/toc.ncx'

06-19 18:48:27.981: W/System.err(567): at org.geometerplus.fbreader.formats.oeb.NCXReader.re adFile(NCXReader.java:70)

06-19 18:48:27.981: W/System.err(567): at org.geometerplus.fbreader.formats.oeb.OEBBookReade r.generateTOC(OEBBookReader.java:139)

06-19 18:48:27.981: W/System.err(567): at org.geometerplus.fbreader.formats.oeb.OEBBookReade r.readBook(OEBBookReader.java:114)

06-19 18:48:27.991: W/System.err(567): at org.geometerplus.fbreader.formats.oeb.OEBPlugin.re adModel(OEBPlugin.java:67)

06-19 18:48:27.991: W/System.err(567): at org.geometerplus.fbreader.bookmodel.BookModel.crea teModel(BookModel.java:50)

06-19 18:48:27.991: W/System.err(567): at org.geometerplus.fbreader.fbreader.FBReaderApp.ope nBookInternal(FBReaderApp.java:251)

06-19 18:48:27.991: W/System.err(567): at org.geometerplus.fbreader.fbreader.FBReaderApp$1.r un(FBReaderApp.java:165)

06-19 18:48:27.991: W/System.err(567): at org.geometerplus.android.util.UIUtil$3$1.run(UIUti l.java:120)

06-19 18:48:28.002: W/System.err(567): Caused by: java.io.FileNotFoundException: Simple.epub:OEBPS/toc.ncx

06-19 18:48:28.002: W/System.err(567): at android.content.res.AssetManager.openAsset(Native Method)

06-19 18:48:28.012: W/System.err(567): at android.content.res.AssetManager.open(AssetManager .java:315)

06-19 18:48:28.012: W/System.err(567): at android.content.res.AssetManager.open(AssetManager .java:289)

06-19 18:48:28.012: W/System.err(567): at org.geometerplus.zlibrary.ui.android.library.ZLAnd roidLibrary$AndroidAssetsFile.getInputStream(ZLAnd roidLibrary.java:327)

06-19 18:48:28.012: W/System.err(567): at org.geometerplus.zlibrary.core.xml.ZLXMLProcessor. read(ZLXMLProcessor.java:40)
06-19 18:48:28.012: W/System.err(567): at org.geometerplus.zlibrary.core.xml.ZLXMLProcessor. read(ZLXMLProcessor.java:35)
06-19 18:48:28.021: W/System.err(567): at org.geometerplus.zlibrary.core.xml.ZLXMLReaderAdap ter.read(ZLXMLReaderAdapter.java:24)
06-19 18:48:28.021: W/System.err(567): at org.geometerplus.fbreader.formats.oeb.NCXReader.re adFile(NCXReader.java:68)
06-19 18:48:28.031: W/System.err(567): ... 7 more

#6  mikelv 06-19-2012, 09:48 AM
This error messages are not from the Firefox add-on EPUBReader but seem to be from FBReader. Please contact the FBReader support. But like I wrote in my previous posting, I think it's a good idea to check your epub file before with http://validator.idpf.org/.

#7  rajaramanperumal 06-19-2012, 10:18 AM
hi,
it display Simple.epub:toc.ncx File Reading error

#8  mikelv 06-19-2012, 10:25 AM
Quote rajaramanperumal
hi,
it display Simple.epub:toc.ncx File Reading error
I'm sorry, but I can give you only support for the Firefox add-on EPUBReader. There are many good sources for information about the epub format, e.g. http://en.wikipedia.org/wiki/EPUB.

Today's Posts | Search this Thread | Login | Register