HeroesToolChest / HeroesMatchTracker

Heroes of the Storm match tracker for personal statistics
MIT License
63 stars 9 forks source link

Seeing TranslationException with hotslogs uploads #9

Closed mikec83 closed 7 years ago

mikec83 commented 7 years ago

Version: 2.20

Replays are showing TranslationException failure for auto upload. If I requeue them, they work.

koliva8245 commented 7 years ago

I need to see the log file, TranslationReplays.txt. https://github.com/koliva8245/HeroesMatchTracker/wiki/Non-English-Clients

mikec83 commented 7 years ago

It was an english replay. File attached. Dragon Shire (17).zip

koliva8245 commented 7 years ago

I'm puzzled.

Just to be clear, it showed TranslationException in the Status column right? If it did, then it had to produce a TranslationReplays.txt file or some sort of log file.

mikec83 commented 7 years ago

Where would that txt file be located?

Edit: found it - TranslationReplays.txt

koliva8245 commented 7 years ago

%LocalAppData%\HeroesMatchTracker\app-<2.x.x>\Logs

On Thu, Jun 15, 2017 at 10:37 PM, mikec83 notifications@github.com wrote:

Where would that txt file be located?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/koliva8245/HeroesMatchTracker/issues/9#issuecomment-308924530, or mute the thread https://github.com/notifications/unsubscribe-auth/AIko6q0B9WbxfHDJWsSpKFQsP1m4rE58ks5sEfhdgaJpZM4N77Hl .

mikec83 commented 7 years ago

Yep i found it and edited my comment with the translation file. It seems it doesn't know how to handle "Malthael" so any game with Malthael in it gets the error.

koliva8245 commented 7 years ago

That's weird.

Take a look in \Xml\Heroes\Heroes.xml and search for Malthael. Also in \Xml\HeroBuilds\ there should be a 54339 folder and in it a Malthael.xml file.

On Fri, Jun 16, 2017 at 8:49 AM, mikec83 notifications@github.com wrote:

Yep i found it and edited my comment with the translation file. It seems it doesn't know how to handle "Malthael" so any game with Malthael in it gets the error.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/koliva8245/HeroesMatchTracker/issues/9#issuecomment-309030827, or mute the thread https://github.com/notifications/unsubscribe-auth/AIko6rRQXSRHI846WKOMY9gA14N3XqA9ks5sEofQgaJpZM4N77Hl .

koliva8245 commented 7 years ago

Is this still an issue?

m0uSe84 commented 7 years ago

Seems so, got the same problem: http://i.imgur.com/MrHMMni.png

koliva8245 commented 7 years ago

hmt_data.zip Download and unzip. Close HMT and copy and replace this file in \app-2.2.1\lib\

Then try parsing again and when you get TranslationException again, then show me the TranslationReplays.txt log file.

m0uSe84 commented 7 years ago

Better, but this ends with: http://i.imgur.com/IzDyojV.png

koliva8245 commented 7 years ago

That I added file doesn't help with the parsing, it was just for extra logging, that's why I wanted to see the TranslationReplays.txt log file.

But anyways your screenshot does seem to indicate that a file might be missing. Take a look in \Xml\Heroes\Heroes.xml and search for Malthael. Also in \Xml\HeroBuilds\ there should be a 54339 folder and in it a Malthael.xml file.

m0uSe84 commented 7 years ago

Both are there.

https://pastebin.com/br7c5yD4

here is the log

koliva8245 commented 7 years ago

In the application, in About what version does it say for Heroes.Icons (including the number in parentheses)? Or just screenshot the whole thing.

m0uSe84 commented 7 years ago

http://i.imgur.com/zoBomfM.png There you go :)

koliva8245 commented 7 years ago

Yeah, right version (2.2.1) wrong build (53548). It should be 54339, which means it didn't find the 54339 folder. You sure it's there? http://i.imgur.com/uhjxtlZ.png

m0uSe84 commented 7 years ago

It is: http://imgur.com/a/CxywO

koliva8245 commented 7 years ago

I really don't know what's going on. I'm going to have to add some file verification/more bugging for version 2.3.0.

However try the following as a workaround.

  1. Create a new build folder and name it a higher number than 54339, so like 54400
  2. In that folder create a file called _AllHeroes.xml
  3. In that xml file paste the following <?xml version="1.0" encoding="utf-8" ?>

You can also just copy the _AllHeroes.xml file from the 53174 folder, but then changed the pre="52986" number to 54339.

Be sure to restart the application and then check the About menu again to see what build it has for Heroes.Icons.

On Tue, Jun 27, 2017 at 3:57 AM, m0uSe84 notifications@github.com wrote:

It is: http://imgur.com/a/CxywO

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/koliva8245/HeroesMatchTracker/issues/9#issuecomment-311296914, or mute the thread https://github.com/notifications/unsubscribe-auth/AIko6nLkYoxQcR3lSEyI3Un5MDD_2XmQks5sIMQRgaJpZM4N77Hl .

koliva8245 commented 7 years ago

If you're still having this issue with 2.3.0 (which will be (re)released soon), please create a new issue.