eivindveg / HotSUploader

JavaFX-based Replay Uploader for Heroes of the Storm
Apache License 2.0
185 stars 36 forks source link

Brawl Replays do not upload, do not clear #138

Closed mgius closed 8 years ago

mgius commented 8 years ago

I have a growing list of games that won't upload in my application. This morning I saw Lost Cavern matches and realized they're Heroes Brawl matches.

When I click the re-try button it fails to upload again, when I click the Trash button they come back the next time I launch the uploader.

There needs to be some way to get these replays out of the list without having to delete the underlying replays.

mgius commented 8 years ago

There's a probably whole pile of things that can or should be done here, but I feel like at the least replays which are Trash binned should be marked as uploaded so they don't reappear.

At best the uploader should detect Brawl matches and decline to upload them as long as HotsLogs doesn't accept them. This is super dependent upon what the underlying replay library can handle, so it may not be feasible to do without first patching the replay library.

eivindveg commented 8 years ago

I've been meaning to check the game type. @barrett777's parser received a pull request lately, so it should be easily doable: https://github.com/barrett777/Heroes.ReplayParser/commit/c514e937a5148c5aa2b694b379ce354eb9623330

eivindveg commented 8 years ago

I've fixed the attempting to upload brawls. The deletion of replays seeming broken probably needs its own issue.

eivindveg commented 8 years ago

Fix for brawl uploads will be released as part of 2.1.2, which is currently in note drafting.

mgius commented 8 years ago

First time it ran the replays were still in the failed list. Clicked trash and re-started uploader and they stayed gone. Looks like you got it.

eivindveg commented 8 years ago

Retracing those steps, I think the following happened:

I'll make sure to review the deletion step.

HiPhiSch commented 8 years ago

Brawls are now supported ^^

barrett777 commented 8 years ago

:)

On Thu, Nov 10, 2016 at 1:00 PM, HiPhiSch notifications@github.com wrote:

Brawls are now supported ^^

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eivindveg/HotSUploader/issues/138#issuecomment-259806013, or mute the thread https://github.com/notifications/unsubscribe-auth/AIDkE3MQ305OD8AVh9i4u78YkdVj2k6Pks5q84XdgaJpZM4KqUec .

eivindveg commented 8 years ago

Will revert for 2.1.3 or 2.2.0, whichever has a high priority.

mgius commented 8 years ago

Well I feel sheepish

eivindveg commented 8 years ago

Heh. I email @barrett777 regularly. I couldashouldaoughta asked him if he planned to support it.

barrett777 commented 8 years ago

Well it would be good for you to prepare for future weirdness from Hots Logs anyway.

Each of Blizzard's weekly brawl replays are unique and unusual; I'm sure there will be more in the future that also fail with the 'UnexpectedResult' upload status, at least until I can respond to it

On Thu, Nov 10, 2016 at 1:07 PM, Eivind Vegsundvåg <notifications@github.com

wrote:

Heh. I email @barrett777 https://github.com/barrett777. I couldashouldaoughta asked him if he planned to support it.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eivindveg/HotSUploader/issues/138#issuecomment-259807728, or mute the thread https://github.com/notifications/unsubscribe-auth/AIDkE6lKKAMqALGrzyRcmXr6fRcOsr1Dks5q84eRgaJpZM4KqUec .

eivindveg commented 8 years ago

That handling sounds like a job for #117, with an error message such as "We identified this replay as a Brawl, but HotsLogs could not handle it. Please retry it at a later date."

eivindveg commented 8 years ago

Weirdness from da9a87f being merged into develop - this is resolved again in a5868af8

eivindveg commented 8 years ago

Release is being prepared. However, @zhedar is not available right now, so we're waiting with publishing the release until he has time to press his buttons.