supertriodo/Arena-Tracker

No screen grab, and immediately crashes.

Closed this issue · 7 comments

zmccon commented

got a new 4k monitor and now the whole app is broken. Screen not grabbing at all. Have reset everything, replaced the logs and added to the correct privacy settings.

It will not read the heroes when I start the draft then after I manually select a new hero I get this:

Screenshot 2023-04-12 at 1 09 34 PM

discovered I have to increase the card in settings and then I get this:

Screenshot 2023-04-12 at 1 10 03 PM

No amount of refresh fixes it. So when I manually choose a card it freezes like this for like 3 min of beach ball:

Screenshot 2023-04-12 at 1 10 46 PM

and then it finally just crashes with the usually "quit unexpectedly dialogue box:

Screenshot 2023-04-12 at 1 12 44 PM

This has been happening for the past couple days.

** What else do you need as far as logs or crash reports?**

zmccon commented

Here's the log from that instance.

13:09:29 - GameWatcher(53): LoadingScreen: GAME_MODE -> DRAFT
13:09:29 - GameWatcher(53): Entering ARENA (loadingScreenState = arena).
13:09:29 - DeckHandler: Enter arena
13:09:30 - DraftHandler: Hearthstone arena screen loaded from settings.
13:09:30 - DraftHandler: Create drafting windows.
13:09:30 - DraftScoreWindow: Scores - 1 row
13:09:30 - DraftHandler: Hearthstone arena screen loaded from settings.
13:09:30 - DraftHandler: Create drafting windows.
13:09:30 - DraftScoreWindow: Scores - 1 row
13:09:33 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:09:36 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:09:38 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:09:42 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:09:44 - DraftHandler: Choose: CORE_CS2_179_premium Sen'jin Shieldmasta 0.562
13:09:44 - DraftHandler: Choose: REV_841_premium Anonymous Informant 0.674
13:09:44 - DraftHandler: Choose: RLK_653_premium Infectious Ghoul 0.913
13:09:44 - DraftHandler: (1) CORE_CS2_179/REV_841/RLK_653 New codes.
13:09:44 - DraftHandler: reviewBestCards: manaRects/draftCards not ready.
13:09:45 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:09:48 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:09:51 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:09:54 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:09:57 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:10:00 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:10:03 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:10:06 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:10:10 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:10:13 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:10:17 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:10:20 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:10:23 - DraftHandler: Choose: CORE_CS2_179_premium Sen'jin Shieldmasta 0.562
13:10:23 - DraftHandler: Choose: REV_841_premium Anonymous Informant 0.674
13:10:23 - DraftHandler: Choose: RLK_653_premium Infectious Ghoul 0.913
13:10:23 - DraftHandler: (1) CORE_CS2_179/REV_841/RLK_653 New codes.
13:10:23 - DraftHandler: reviewBestCards: manaRects/draftCards not ready.
13:10:24 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:10:27 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:10:30 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:10:33 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:10:35 - DraftHandler: Hearthstone arena screen not found. Retrying...
13:10:38 - DraftHandler: Hearthstone arena screen not found. Retrying...

zmccon commented

UPDATE: Doesn't work in either laptop display or external. But Fixed itself once I increased the card sized, quit the apps disconnected the external and re ran everything without a secondary display. It works but the still stopping me from manually selecting cards in draft. Here is the log:

13:53:48 - MainWindow: Platform: Mac
13:53:49 - MainWindow: Create Json Map.
13:53:49 - DeckHandler: Deck list cleared.
13:53:49 - DeckHandler: New deck.
13:53:49 - DeckHandler: ArenaTrackerDecks.json doesn't exists.
13:53:49 - MainWindow: Extra: Heroes winrate --> Use local HSRheroes.json
13:53:49 - LogLoader: Path Logs Dir: /Applications/Hearthstone/Logs - 30
13:53:49 - LogLoader: Checking log.config
13:53:49 - LogLoader: Path log.config: /Users/zmccon/Library/Preferences/Blizzard/Hearthstone/log.config - 65
13:53:49 - MainWindow: Language: enUS.
13:53:49 - LogLoader: Log found.
13:53:50 - MainWindow: Window Pos: (21,39) - Size: (327,600) - Mid: (184,338)
13:53:50 - MainWindow: Window in screen: (0,0,1791,1119)
13:53:50 - VersionChecker: VERSION: v23.04 - RemindedVersion: - LatestVersion: v23.04 - AllowedVersions: v22.10,v22.11,v22.12,v22.12.01,v22.12.02,v22.12.03,v23.01,v23.01.01,v23.02,v23.04
13:53:50 - VersionChecker: Arena Tracker is up-to-date.
13:53:50 - MainWindow: Extra: Json Arena github: Local(30) - Web(30) up-to-date
13:53:50 - MainWindow: CheckArenaVersion: Unchanged arena sets: CORE THE_SUNKEN_CITY REVENDRETH PATH_OF_ARTHAS RETURN_OF_THE_LICH_KING BATTLE_OF_THE_BANDS
13:53:50 - MainWindow: CheckArenaCards: No arena cards downloads.
13:53:50 - ArenaHandler: Buiding player winrates.
13:53:50 - MainWindow: Extra: Json HearthArena: Local(80) - Web(80) up-to-date
13:53:50 - MainWindow: Themes: Aquamarine: Local(4) - Web(4) up-to-date
13:53:50 - MainWindow: Themes: Blue: Local(4) - Web(4) up-to-date
13:53:50 - MainWindow: Themes: Brown: Local(4) - Web(4) up-to-date
13:53:50 - MainWindow: Themes: Classic: Local(26) - Web(26) up-to-date
13:53:50 - MainWindow: Themes: Gold: Local(4) - Web(4) up-to-date
13:53:50 - MainWindow: Themes: Green: Local(4) - Web(4) up-to-date
13:53:50 - MainWindow: Themes: Purple: Local(19) - Web(19) up-to-date
13:53:50 - MainWindow: Themes: Red: Local(4) - Web(4) up-to-date
13:53:50 - MainWindow: Themes: Tan: Local(4) - Web(4) up-to-date
13:53:50 - MainWindow: Extra: Json Synergies: Local(128) - Web(128) up-to-date
13:53:50 - MainWindow: Extra: Json Cards --> Trying: https://api.hearthstonejson.com/v1/latest/all/cards.json
13:53:50 - MainWindow: Extra: Json Cards --> Latest version: https://api.hearthstonejson.com/v1/170824/all/cards.json
13:53:50 - MainWindow: Extra: Json Cards --> Stored version: https://api.hearthstonejson.com/v1/170824/all/cards.json
13:53:50 - MainWindow: Extra: Json Cards --> Use local cards.json
13:53:50 - MainWindow: Extra: HSR cards --> Use local HSRcards.json

13:53:50 - GameWatcher(2): LoadingScreen: STARTUP -> LOGIN

13:53:50 - GameWatcher(7): LoadingScreen: LOGIN -> HUB
13:53:50 - GameWatcher(7): Entering MENU (loadingScreenState = menu).

13:53:50 - GameWatcher(11): LoadingScreen: HUB -> GAME_MODE
13:53:50 - GameWatcher(11): Entering GAME_MODE (loadingScreenState = gameMode).

13:53:50 - GameWatcher(13): LoadingScreen: GAME_MODE -> DRAFT
13:53:50 - GameWatcher(13): Entering ARENA (loadingScreenState = arena).
13:53:50 - DeckHandler: Enter arena

13:53:50 - GameWatcher(17): LoadingScreen: DRAFT -> GAME_MODE
13:53:50 - GameWatcher(17): Entering GAME_MODE (loadingScreenState = gameMode).
13:53:50 - GameWatcher: SetDeckRead (arenaState = noDeckRead).
13:53:50 - DeckHandler: Leave arena
13:53:50 - DeckHandler: Deck list cleared.
13:53:50 - DeckHandler: New deck.

13:53:50 - GameWatcher(21): LoadingScreen: GAME_MODE -> DRAFT
13:53:50 - GameWatcher(21): Entering ARENA (loadingScreenState = arena).
13:53:50 - DeckHandler: Enter arena

13:53:50 - GameWatcher(25): LoadingScreen: DRAFT -> GAME_MODE
13:53:50 - GameWatcher(25): Entering GAME_MODE (loadingScreenState = gameMode).
13:53:50 - GameWatcher: SetDeckRead (arenaState = noDeckRead).
13:53:50 - DeckHandler: Leave arena
13:53:50 - DeckHandler: Deck list cleared.
13:53:50 - DeckHandler: New deck.

13:53:50 - GameWatcher(29): LoadingScreen: GAME_MODE -> DRAFT
13:53:50 - GameWatcher(29): Entering ARENA (loadingScreenState = arena).
13:53:50 - DeckHandler: Enter arena

13:53:50 - GameWatcher(33): LoadingScreen: DRAFT -> GAME_MODE
13:53:50 - GameWatcher(33): Entering GAME_MODE (loadingScreenState = gameMode).
13:53:50 - GameWatcher: SetDeckRead (arenaState = noDeckRead).
13:53:50 - DeckHandler: Leave arena
13:53:50 - DeckHandler: Deck list cleared.
13:53:50 - DeckHandler: New deck.
13:53:51 - TrackobotUploader: Account winter-frog-8351 --> Loaded.
13:53:51 - PremiumHandler: Check premium --> Download from: https://raw.githubusercontent.com/supertriodo/Arena-Tracker/master/Premium/premium.json
13:53:51 - PremiumHandler: Check premium --> Download success.
13:53:51 - PremiumHandler: Premium: YES
13:53:51 - ArenaHandler: Loaded 3 entries from ArenaTrackerStats.json.
13:53:51 - ArenaHandler: Show Arena.
13:53:51 - ArenaHandler: Show Arena.
13:53:58 - MainWindow: Extra: HSR cards (Pickrates) --> Thread end.
13:53:59 - SynergyHandler: Synergy Cards MIN: 976
13:53:59 - SynergyHandler: Direct Link Cards MIN: 84
13:53:59 - PopularCardsHandler: cardsByPickRate map created.
13:53:59 - MainWindow: Extra: HSR cards (TimesPlayed) --> Thread end.
13:53:59 - MainWindow: Extra: HSR cards (IncludedWinrate) --> Thread end.
13:53:59 - MainWindow: Extra: HSR cards (PlayedWinrate) --> Thread end.
13:54:01 - LogWorker: Log Asset reset. FileSize: 190 < 213410
13:54:10 - LogWorker: Log LoadingScreen reset. FileSize: 308 < 3431
13:54:10 - DeckHandler: Unlock deck interface.
13:54:10 - GameWatcher: Reset (powerState = noGame).
13:54:10 - GameWatcher: Reset (LoadingScreen = menu).

13:54:10 - GameWatcher(2): LoadingScreen: STARTUP -> LOGIN

13:54:19 - GameWatcher(7): LoadingScreen: LOGIN -> HUB
13:54:19 - GameWatcher(7): Entering MENU (loadingScreenState = menu).

13:54:21 - GameWatcher(11): LoadingScreen: HUB -> GAME_MODE
13:54:21 - GameWatcher(11): Entering GAME_MODE (loadingScreenState = gameMode).
13:54:22 - LogWorker: Log Arena reset. FileSize: 239 < 717
13:54:22 - GameWatcher(1): Found Hero Draft Deck. Heroe: 09
13:54:22 - GameWatcher: SetDeckRead (arenaState = noDeckRead).
13:54:22 - DeckHandler: Deck list cleared.
13:54:22 - GameWatcher: Start reading deck (arenaState = readingDeck).
13:54:22 - GameWatcher(2): Reading deck: CORE_EX1_506
13:54:22 - DeckHandler: Add to deck: Murloc Tidehunter
13:54:22 - GameWatcher(3): Found SetDraftMode - DRAFTING.
13:54:22 - DraftHandler: Begin draft. Hero: 09
13:54:22 - DraftHandler: Arena Hero: PRIEST
13:54:22 - DraftHandler: Arena Cards: 301
13:54:22 - DraftHandler: -- (PRIEST): 66
13:54:22 - DraftHandler: -- (NEUTRAL): 235
13:54:22 - DraftHandler: Load Arena Hists (PRIEST): 132 hists.
13:54:22 - DraftHandler: Load Arena Hists (NEUTRAL): 602 hists.
13:54:22 - DraftHandler: cardNamesMap created with 301 names.
13:54:22 - DraftHandler: HearthArena missing: Humongous Razorleaf
13:54:22 - DraftHandler: HearthArena missing: Prince Renathal
13:54:22 - DraftHandler: HearthArena missing: Helmet Hermit
13:54:22 - DraftHandler: HearthArena Cards: 299
13:54:22 - SynergyHandler: Synergy Cards: Skip reduced synergy lists creation.
13:54:22 - DraftHandler: Counters starts with 1 cards.

13:54:22 - GameWatcher(13): LoadingScreen: GAME_MODE -> DRAFT
13:54:22 - GameWatcher(13): Entering ARENA (loadingScreenState = arena).
13:54:22 - DeckHandler: Enter arena
13:54:23 - DraftHandler: Hearthstone arena screen NOT loaded from settings.
13:54:23 - DraftHandler: Hearthstone arena screen NOT loaded from settings.
13:54:25 - DraftHandler: Screen Settings: I(-1)
13:54:25 - DraftHandler: 0
13:54:25 - DraftHandler: 1
13:54:25 - DraftHandler: 2
13:54:25 - DraftHandler: Screen Found: I(0)
13:54:25 - DraftHandler: 0
13:54:25 - DraftHandler: 1
13:54:25 - DraftHandler: 2
13:54:25 - DraftHandler: Hearthstone arena screen detected on screen 0. Not the same.
13:54:25 - DraftHandler: Create drafting windows.
13:54:25 - DraftScoreWindow: Scores - 1 row
13:54:28 - DraftHandler: Choose: RLK_104_premium Street Sweeper 0.442
13:54:28 - DraftHandler: Skip: CORE_EX1_012_premium Bloodmage Thalnos 0.558 (Wrong rarity)
13:54:28 - DraftHandler: Choose: ETC_087 Audio Amplifier 0.569
13:54:28 - DraftHandler: Choose: ETC_543_premium Candleraiser 0.536
13:54:28 - DraftHandler: (1) RLK_104/ETC_087/ETC_543 New codes.

Hi there,

First, very well detailed and documented issue you wrote.

In the past people have had problems in Mac when having an external monitor connected. They often fix the problem by disconnecting it.

Resetting AT could fix some settings stored so its a good idea to do if something crash. Changing the size of cards shouldn't have any effect on the draft overlay.

The latest log you posted seems all correct.

About the problem manually changing the card it's something is affecting more people as you saw on reddit. I'll see if I can reproduce the error on my end to fix it, the problem is I don't own a mac and compile AT on a virtual machine that's why my testing capabilities are very limited.

Thanks for reaching out, for the feedback and your patreon support!
Triodo

zmccon commented

Thank you! Disconnecting the monitor worked for me. Let me know if if there's anything I can do/provide to assist in addressing the other issue. Cheers!

I've been able to reproduce the crash on my VM, It seems it only occurs when pressing enter after manually typing the card. If you press tab key it goes well. That could mean there is some bug in qt mac related to losing focus on elements.