-
Notifications
You must be signed in to change notification settings - Fork 81
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
[Update: culprit found] Crashed after adding a new anime from the search function, now it refuses to launch #744
Comments
I can't seem to reproduce this. I tried adding several shows using MyAnimeList on the Qt interface. Could you provide us with the exact steps you're following to reproduce this? |
Ok, I did some testing and I could not reproduce it at first. Then I thought, maybe it's a connection issue. Since I sometimes have that but not always. And I was able to reproduce it by simulating it.
After that you can re-connect. Trackma QT will still crash, it's broken permanently because it failed to add it the first time. Now open trackma GTK using the terminal and close it and see the output in the terminal which should help you see the error messages since the GTK version doesn't crash outright. The only way to fix trackma QT now is to:
That should fix trackma QT and it will not crash anymore. |
For me it also breaks from time to time. Sometimes after adding new anime, sometimes after updating an episode. Today Trackma broke on "Data: Reading cache..." step, after updating an episode (that failed to sync in a previous session). Trackma-qt just hanged, but trackma-cli crashed. Your workarround worked for me. Thank you very much! Sadly I forget to save the stack trace. |
This happens when there's data missing in the local database for several reasons. It's a bug and it shouldn't happen, and even if it happens, it shouldn't cause a crash but a warning for debugging. I would appreciate it if you keep reporting whenever it happens and how to reproduce it if possible. |
@Yasand123 Thank you for the feedback. Sadly I tried your steps and Trackma-qt doesn't crash when adding an anime, in fact it adds it just fine to the local list. I can open it again too and it doesn't crash. What website are you using, and what are your settings related to sync intervals? Did you set it to send immediately after a change? |
Also, please run |
It worked fine before, but once I tried to add a new anime using the built in search functionality it crashed and now it refuses to open.
Here's the terminal logs:
I tried deleting my ~/.conf/trackma directory as if I'm starting from scratch but it still gives me the same error, which is bizarre. Does it store cache somewhere else? Maybe I can try removing the cache. ~/.cache/trackma only stores thumbnails/cover art.
Edit; some new information. I think I found the culprit.
I opened
trackma-gtk
this time, instead of the qt version, and it ran fine. However when I looked at the logs I found the following:I replaced the anime name with
anime_name
and my account withuser_name
for privacy reasons. Anyway, the way I fixed this is that I went to the MAL website and added the anime from there and hit ctrl+s in the gtk version to sync/download the change. Then I reopened the qt version and it opened fine and I was no longer getting the error in the gtk version either.So, from this, the culprit for the crashes is confirmed to be the inability to upload the change, the new anime added from within the client. As to why it cannot upload the change is still unknown, but regardless, the Qt version should not crash. It should log the error message just like the gtk version. It's the only way I could tell what was causing the crash.
Until this is fixed, users must avoid adding new anime using the Trackma client. Just use the website instead. Everything else works fine.
The text was updated successfully, but these errors were encountered: