Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open downloaded epub file #318

Closed
jayesh28589 opened this issue Dec 18, 2018 · 10 comments
Closed

Unable to open downloaded epub file #318

jayesh28589 opened this issue Dec 18, 2018 · 10 comments

Comments

@jayesh28589
Copy link

jayesh28589 commented Dec 18, 2018

Hello,

when I open my downloaded epub file.

var folioReader : FolioReader = FolioReader.get() folioReader.openBook(file.path)

It's giving me this error.

E/AndroidProtocolHandler: Unable to open asset URL: file:///android_asset/android.selection.js

Can you please help me to fix this ?

Thanks.

@hrishikesh-kadam
Copy link
Contributor

Sure.
Can you please first yourself close #315 if it is resolved.

Now about this error.
Does it crashes your app?
Also read more about this in #301

@jayesh28589
Copy link
Author

jayesh28589 commented Dec 19, 2018

Hello hrishikesh,

I will close #315 .

It does not crash the app, But it does not open downloaded epub file and in logcat it is showing above error.

Thanks.

@hrishikesh-kadam
Copy link
Contributor

@jayesh28589 Can you submit EPUB file for further investigation?

@jayesh28589
Copy link
Author

@hrishikesh-kadam ,

Yes, Sure

Below is the link for epub file.

https://drive.google.com/file/d/1xx1F3iNcumqcLH_CnAhjcy3dQrpoEpZO/view?usp=sharing

Thanks

@hrishikesh-kadam
Copy link
Contributor

It does not crash the app, But it does not open downloaded epub file and in logcat it is showing above error.

@jayesh28589 It does open the above attached EPUB with just one error of Unable to open asset URL: file:///android_asset/android.selection.js, which is actually just a warning than error.

@jayesh28589
Copy link
Author

Ok, thats ok, but epub file is not opening in epub reader.

what can be issue ?

@hrishikesh-kadam
Copy link
Contributor

@jayesh28589 Does it crash or you just see blank white page?

@jayesh28589
Copy link
Author

I just see blank white page.

@hrishikesh-kadam
Copy link
Contributor

hrishikesh-kadam commented Dec 26, 2018

Ya, so just click on the app, and the app bar will hide, and you will see the content of your ebook which only has one line "Dummy PDF download".

@jayesh28589
Copy link
Author

jayesh28589 commented Dec 26, 2018

Ok, got it, let me check same case with other epub file also, then I will close the issue.

Thanks for your time and effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants