lnreader icon indicating copy to clipboard operation
lnreader copied to clipboard

Importing some Epub file cause to crash

Open dailyfloof opened this issue 2 years ago • 7 comments

Steps to reproduce

  1. Importing epub
  2. choose file (Some epub work, some crashes)
  3. app crashes

Expected behavior

Imported

Actual behavior

app crash

LNReader version

1.1.18

Android version

android 12

Device

LG Q90

Other details

No response

Acknowledgements

  • [X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • [X] I have written a short but informative title.
  • [X] If this is an issue with a source, I should be opening an issue in the sources repository.
  • [X] I have updated the app to version 1.1.18.
  • [X] I will fill out all of the requested information in this form.

dailyfloof avatar Oct 09 '23 10:10 dailyfloof

Could you share an EPUB which is crashing the app?

rajarsheechatterjee avatar Oct 09 '23 10:10 rajarsheechatterjee

cant seem to share here the file.

dailyfloof avatar Oct 09 '23 10:10 dailyfloof

You can upload it to Google Drive and share the link here.

rajarsheechatterjee avatar Oct 09 '23 11:10 rajarsheechatterjee

https://drive.google.com/drive/folders/1eCsC4JZTXxdLfsx9M0big2zvZzvwO9Kn

dailyfloof avatar Oct 09 '23 11:10 dailyfloof

Yeah I'm working on a fix right now for this. There are some Epub formats that are currently not supported so they may crash the app.

cactusoftheday avatar Oct 09 '23 14:10 cactusoftheday

logcat.txt

Palloxin avatar Oct 09 '23 14:10 Palloxin

Hello! From testing it appears epubs made from Google docs or feom ao3 both cause this behavior (i.e. https://archiveofourown.org/downloads/20225221/sure_as_the_waves_on_the.epub?updated_at=1687011949)

Android 14, Galaxy Flip 3 5G, LN ver 1.1.19

yuu1412 avatar Jan 28 '24 23:01 yuu1412

Fixed in v2 app

nyagami avatar Jul 16 '24 06:07 nyagami