Open DerfelKadarn opened 5 years ago
Please provide the HDT log corresponding to this problem. See https://github.com/HearthSim/Hearthstone-Deck-Tracker/wiki/Reporting-Issues#hdt-log-files.
hdt_log.txt It also happens on v1.7.10. Log uploaded
The log isn't really helpful here :(
3:21:06 PM|Info|GameEventHandler.HandleLoss >> --- Game was lost! ---
3:21:06 PM|Info|TurnTimer.Stop >> Stopping turn timer
3:21:06 PM|Info|GameEventHandler.HandleGameEnd >> Game ended...
3:21:06 PM|Info|GameEventHandler.HandleGameEnd >> Format: Wild
3:21:06 PM|Info|GameStats.GameEnd >> Current Game ended after 6 turns
3:21:06 PM|Info|GameEventHandler.HandleGameEnd >> Assigned current game to deck: Secret Hunter
3:21:06 PM|Info|LogUploader.Upload >> Uploading 1590841731...
3:21:06 PM|Info|LogUploader.TryUpload >> Creating upload request...
3:21:07 PM|Info|LogUploader.TryUpload >> Upload Id: s9wLiCjzLGVzYoDGVXJNbL
3:21:08 PM|Info|LogUploader.TryUpload >> Upload complete
3:21:09 PM|Info|LogUploader.Upload >> 1590841731 complete. Success=True
3:21:54 PM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
I know. The only visible thing in the log is the time it takes to reinitialize the overlay (45 seconds). Downgrading to v1.7.5 in the meantime which solves for now.
One more thing that might be worth mentioning is that I'm redirecting the AppData Folder to Dropbox . I do this to share stats progress with my laptop which is also running Parallels.
I was wondering if there's any updates on this. Unfortunately using 1.7.5 is no longer an option. This happened exactly between 1.7.5 and 1.7.6. If not a solution, a workaround or a clue of what's causing it would be greatly appreciated.
Does it still happen if you disable the notes dialog?
Yes. That's the first thing I tried
Guys, any plans for this? Unfortunately I play on a Mac and have to use parallels to run the Windows version of HDT (the mac version is terrible). The problem is most probably related to this:
"Improved stability when saving files" listed under the release notes for v1.7.6.
Now I believe that with the next expansion still a couple of months away there might be some time to look into this and help out a 2-year premium subscriber?
Thanks in advance
One more thing that I didn't mention. My deckstats.xml file is 41.6Mb. I was trying to reduce the size but even deleting it won't work as it recovers it from a backup automatically. Any recommendation here? Maybe a smaller file would speed up the end of game process. I determined that is not the replay (I see the dropbox notification almost immediately) or the anonymous data upload as disabling it doesn't change anything. If there's anything that you want me to try to help troubleshooting, just let me know.
Edit the file config.xml
in the folder %appdata%\HearthstoneDeckTracker
and set LogLevel to 1. Post another log.
Here is the log. It looks like the file size theory is correct, is taking > 1min to save the file.
4:21:28 PM|Debug|XmlManager.Save >> Saving file: C:\Users\augusto\Dropbox\HDT Data\DeckStats.xml
4:21:30 PM|Debug|XmlManager.Save >> File saved: C:\Users\augusto\Dropbox\HDT Data\DeckStats.xml
4:21:30 PM|Info|LogUploader.Upload >> -1432929603 complete. Success=True
4:21:41 PM|Debug|XmlManager.Save >> Saving file: C:\Users\augusto\Dropbox\HDT Data\DeckStats.xml
4:22:23 PM|Debug|XmlManager.Save >> File saved: C:\Users\augusto\Dropbox\HDT Data\DeckStats.xml
4:22:23 PM|Info|OverlayWindow.SetTopmost >> Overlay is topmost after 1 tries.
This is really strange. The first time it takes 2 seconds. The second time it takes 42 seconds for the same file.
I had another idea. Have you tried to disable Dropbox. Maybe it's connected to this problem?
Bug report
After completing a match and entering a note, HDT freezes temporarily leaving the note dialog on the screen despite the underlying hearthstone responding normally. The application resumes normal function after 30-40 seconds. This happens running on a mac through Parallels Desktop 14 (Windows 10 Pro v1803, Ram: 16Gb Cores: 4) (Tested in 2 different machines) after every game.
The last working version is 1.75 it happens on every subsequent version.