Closed MichalKyle closed 4 years ago
Have you tried resetting all bosses? The issue might be related to the uploader not knowing that some bosses are fractal.
I have concluded it must be due to that, I reproduced the bug by using an id which didn't belong to any of the category, please try to reset all bosses button in "Edit boss data" in the main view of the application and then restart the app and try again, it should work after that.
The bug still happens even after resetting all bosses. I'm trying different combinations now to see what truly breaks it.
It's somehow related to the Eye of Fate boss. If I start a session and upload only the eye of fate log, then the exact same crash happens. If I log all bosses (excluding the Eye of Fate) in the same order that I cleared them in my static group, then everything uploads and is output perfectly fine. Strangely, I can upload and operate the webhook perfectly if a log session is not active.
I'm attaching my most recent eye of fate log here. All of my eye of fate logs cause the same crash. Log.zip
The boss ID for Eyes of Fate & Judgment is 19651. Here's what the boss data is set to after a reset.
The issue is with boss id, the log you provided has different boss id than the app knows so it gets confused, thank you for all this, I wouldn't have found it by myself. I will look into it more and rewrite the part that is crashing.
If you want a temporary fix, change the boss id for eyes to 19844 instead of 19651, it shouldn't crash after that.
Scratch that, Eyes have 2 ID codes, I will add the second one and that should be a temporary fix until I rewrite the parts so it wouldn't crash with unknown IDs.
You can download the temporary fix here https://ci.appveyor.com/project/Plenyx/plenbotloguploader/builds/34736897/artifacts You need to also reset all bosses before you do any uploads, but it should no longer crash on eyes
The full fix is up now https://ci.appveyor.com/project/Plenyx/plenbotloguploader/builds/34737393/artifacts You still need to reset all bosses, please, try it and tell me whether it works.
Yep, that build solves the crash. All the webhooks execute and it doesn't crash after ending a session.
Thanks for bringing the issue forward.
No problem, glad to help out. Thanks for solving it so quickly and for making this tool. It really helps with uploading logs and getting them all sorted. I do have 1 feature request that I think would be relatively simple. Could you add a plain text raid session end to the plenbot console when ending a session? For some of my groups I need to copy out all the log links to slack and the discord webhook doesn't copy very well. I'm just looking for something super simple like below. W4 https://dps.report/430Q-20200816-211832_cairn https://dps.report/IbkX-20200816-212430_mo https://dps.report/KjV3-20200816-213609_sam W7 https://dps.report/diVc-20200816-195204_adina https://dps.report/7VEe-20200816-203618_sabir https://dps.report/HutP-20200816-211116_qpeer
Plenbot crashes with a "Sequence contains no elements" error after ending a log session by clicking "Stop the log session". This crash happens 100% of the time when running with my static which does weird wing orders (w1, w7, w5, w6, w4) and happens sometimes during my training raid groups. Most recently it successfully worked with my training group that did w7 -> w4.
For reference I have a single discord webhook and no twitch integration.
Error Text