06-17-2012, 05:06 AM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jun 2012
Device: Android tablet
|
Epub File Not Read From Asset Folder
Hi ,
Epub File Not Read From Asset Folder |
06-17-2012, 09:49 AM | #2 |
Developer of EPUBReader
Posts: 271
Karma: 1922
Join Date: Oct 2009
Device: none
|
|
Advert | |
|
06-18-2012, 02:48 AM | #3 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jun 2012
Device: Android tablet
|
href attributes internal link not work on assets Folder
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 |
06-18-2012, 11:21 AM | #4 | |
Developer of EPUBReader
Posts: 271
Karma: 1922
Join Date: Oct 2009
Device: none
|
Quote:
|
|
06-19-2012, 10:32 AM | #5 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jun 2012
Device: Android tablet
|
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 |
Advert | |
|
06-19-2012, 10:48 AM | #6 |
Developer of EPUBReader
Posts: 271
Karma: 1922
Join Date: Oct 2009
Device: none
|
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/.
|
06-19-2012, 11:18 AM | #7 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jun 2012
Device: Android tablet
|
hi,
it display Simple.epub:toc.ncx File Reading error |
06-19-2012, 11:25 AM | #8 |
Developer of EPUBReader
Posts: 271
Karma: 1922
Join Date: Oct 2009
Device: none
|
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.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sset Folder Zip File Not Read on Android | rajaramanperumal | Android Developer's Corner | 0 | 06-17-2012 04:15 AM |
Asset Folder Reading File Not found Exception Error | rajaramanperumal | General Discussions | 2 | 06-17-2012 04:13 AM |
Read Asset Folder | Senthil Kumar | General Discussions | 1 | 06-07-2012 12:34 PM |
Android file/folder encryption | attila.j.horvath | enTourage Archive | 3 | 03-29-2011 11:33 PM |
File/Folder Management | Hellmark | Calibre | 6 | 10-16-2009 12:50 AM |