lnreader icon indicating copy to clipboard operation
lnreader copied to clipboard

Crashin when importing in master build

Open lalalasupa0 opened this issue 1 year ago • 19 comments

Steps to reproduce

Import epub click epub file

Expected behavior

should import it as usual

Actual behavior

app crashes

LNReader version

Github Action 2.0.0 (11/08/24 09:15 AM UTC) Commit: 1131446d Last test in fd6d912

Android version

12

Device

s10+

Other details

~~The epub I choose is from my external storage (sd card)~~ Happens with both internal and external

~~The app freezes in the app logo when trying to enter after the crash, only force close lets you enter again~~

also happens with the option "Update Library"

I thought maybe the problem was that the epub was a duplicate but I tried to add a new one and the same thing happened

This is the epub with which it happened to me first and is still happening: https://www.mediafire.com/file/4h8n5oa4h550aks/[Taikutsu+x+Kaleid]+Kage+no+Jitsuryokusha+ni+Naritakute+-+Volumen+04.epub/file

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 2.0.0.
  • [X] I will fill out all of the requested information in this form.

lalalasupa0 avatar Aug 11 '24 22:08 lalalasupa0

yea, happens to me, when creating a epub with a name too long doesnt works neither

WGmg23 avatar Aug 11 '24 22:08 WGmg23

This is because the epub was missing toc.ncx (table of content). The latest app doest support it

nyagami avatar Aug 15 '24 16:08 nyagami

This is because the epub was missing toc.ncx (table of content). The latest app doest support it

Oh... What abt this other epub? I just want to clarify bc since I couldn't import that one too, then it will be the same with all my epub :( It's supposed to be YenPress so... Idk I hope something is different or there's a solution

Still happening in 86c82c1 btw

lalalasupa0 avatar Aug 15 '24 16:08 lalalasupa0

Could you try with the latest build from github actions. I dont have a plan to add support for epub file without toc in near feature btw

nyagami avatar Aug 15 '24 16:08 nyagami

Could you try with the latest build from github actions.

You mean from here? I don't see any apk aside from the on in 86c82c1, I don't really know how to use github lol... I get this here too:

Annotations
1 warning
moderate
The following actions use a deprecated Node.js version and will be forced to run on node20: tachiyomiorg/issue-moderator-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

I dont have a plan to add support for epub file without toc in near feature btw

By toc you mean this? Screenshot_20240815_112754_Moon+ Reader That's in the two epubs I sent earlier tho... In the first one it appears as chapter "Contenido" ('content' in spanish), but I guess it should be toc.*** within the epub

lalalasupa0 avatar Aug 15 '24 17:08 lalalasupa0

https://github.com/LNReader/lnreader/actions/runs/10406785473

nyagami avatar Aug 16 '24 01:08 nyagami

Still happening after Github Action 2.0.0 (17/08/24 04:46 PM UTC) Commit: a22d754f, I don't think the problem is the .toc thing

lalalasupa0 avatar Aug 19 '24 08:08 lalalasupa0

@lalalasupa0 try retrieving the Logcat and upload it here. GUIDE: enter lnreader discord server then click this message link, then follow the istructions: https://discord.com/channels/835746409357246465/1271183996436611185/1271183996436611185

Palloxin avatar Aug 19 '24 11:08 Palloxin

@lalalasupa0 try retrieving the Logcat and upload it here. GUIDE: enter lnreader discord server then click this message link, then follow the istructions: https://discord.com/channels/835746409357246465/1271183996436611185/1271183996436611185

Oh I don't have a pc at hand... The app just crashes exactly when I click on the epub to import nothing else happens

lalalasupa0 avatar Aug 19 '24 19:08 lalalasupa0

Ugh... Still not working, so frustrating Mybe I'll try to reinstall the app completely sometime

lalalasupa0 avatar Aug 26 '24 18:08 lalalasupa0

Retrieve the logcat or just wait for someone able to reproduce it (soon) Without the crash log it's difficult.

Palloxin avatar Aug 26 '24 19:08 Palloxin

I was able to do it, and I just realized it also happens with the option "Update Library" @Palloxin @nyagami

logcat.txt

I hope it helps I did exactly what it says in the discord guide

lalalasupa0 avatar Aug 26 '24 21:08 lalalasupa0

I have the same problem and i had checked the epub file: the toc.ncx file is there within the oebps folder

8L4CK-8L4Z3 avatar Sep 02 '24 13:09 8L4CK-8L4Z3

And after this even trying to download a chapter crash the app Note:the app size is exactly 1.00 Gb

8L4CK-8L4Z3 avatar Sep 02 '24 13:09 8L4CK-8L4Z3

Even trying to updating crash the app now

8L4CK-8L4Z3 avatar Sep 02 '24 13:09 8L4CK-8L4Z3

@8L4CK-8L4Z3 make another issue if u want to report other problems, not in this one if it's not related.

Palloxin avatar Sep 02 '24 13:09 Palloxin

It's related cause it all started with epub crash the app and then everything else is crashing it now @Palloxin

8L4CK-8L4Z3 avatar Sep 02 '24 13:09 8L4CK-8L4Z3

I just tried it and it doesn't happen in the build with custom id, I hope that build doesn't get just thrown away...

lalalasupa0 avatar Oct 10 '24 09:10 lalalasupa0

As a last attempt, just wipe out everything and reinstall the app. Sometimes, old versions mess up the data on new ones.

Palloxin avatar Oct 10 '24 09:10 Palloxin