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

Crash on start #92

Closed
Omar-Abdul-Azeez opened this issue Jun 11, 2024 · 7 comments
Closed

Crash on start #92

Omar-Abdul-Azeez opened this issue Jun 11, 2024 · 7 comments
Labels
invalid This doesn't seem right

Comments

@Omar-Abdul-Azeez
Copy link

log20240612.txt

@rampaa rampaa added bug Something isn't working cannot reproduce labels Jun 12, 2024
@rampaa
Copy link
Owner

rampaa commented Jun 12, 2024

  1. Did this happen on a fresh JL setup or did it happen after an update?
    i. If it happened after an update, did you create different profiles?

  2. Can you share Configs.sqlite (and Configs.sqlite-journal if it exists) placed under ..\JL\Config?

  3. What OS do you use?

  4. Can you try delete Configs.sqlite (and Configs.sqlite-journal if it exists) and re-run JL, does JL crash again?

@Omar-Abdul-Azeez
Copy link
Author

It turns out to have been a frozen instance was left open (which by the way has no open window to tell from) which crashed the next opened instance.
It was on a freah install on windows. I think it's working fine now.

@rampaa rampaa added invalid This doesn't seem right and removed bug Something isn't working cannot reproduce labels Jun 12, 2024
@Roeekush
Copy link

I also had a problem where JL would crash on startup. But there was no frozen instance as far as I can tell.
Deleting Configs.sqlite and jounral fixed it.
Not a fresh install, worked fine day before
I use windows 11

https://drive.google.com/drive/folders/1jkMZqIifpeetcwUAyRUCHvLp1wvs7wpB?usp=drive_link here are the files if you do want to do some investigating.

@rampaa
Copy link
Owner

rampaa commented Jul 17, 2024

I am not sure how it happened but the presence of Configs.sqlite-journal file indicates that JL was unexpectedly closed before it could successfully save all your configs. This might be due to an unhandled exception that caused JL to crash (if you have any prior log file that indicate a different exception that caused JL to crash, please do share it), forcefully terminating JL through task manager with an extremely unlucky timing etc.

Anyway, I will make it so that starting from the next version of JL, your configs will be gracefully rolled back to their last recoverable state.

@Roeekush
Copy link

Thanks for the quick reply!

I added a log file from the day before to google drive. It seems like there was an error loading some yomichan dictionary that might have crashed it? Never had this problem before.

@rampaa
Copy link
Owner

rampaa commented Jul 17, 2024

That shouldn't cause JL to crash. It will just delete it from the dicts.json file. If you can find out the missing dictionary that couldn't be imported I can have a look at it as well.

@Roeekush
Copy link

I just noticed the error wasn't from a day ago, it was from a month and a ago, my bad

no idea what caused this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants