supertriodo / Arena-Tracker

Arena Tracker is a deck tracker that gives you a lot of extra info while playing Hearthstone.
GNU General Public License v2.0
292 stars 33 forks source link

ArenaTrackerLog.txt filling disk #138

Closed ToTheZeroth closed 2 years ago

ToTheZeroth commented 2 years ago

The app works fine (on Manjaro KDE) almost all of the time, but I have an issue from time to time, when it can't access raw.githubusercontent.com to check for updated json files. When this happens, it writes four lines to ~/.local/share/Arena Tracker/ArenaTrackerLog.txt:

18:24:00 - MainWindow: https://raw.githubusercontent.com/supertriodo/Arena-Tracker/master/Arena/arenaVersion.json --> Failed. Retrying...
18:24:00 - MainWindow: https://raw.githubusercontent.com/supertriodo/Arena-Tracker/master/HearthArena/haVersion.json --> Failed. Retrying...
18:24:00 - MainWindow: https://raw.githubusercontent.com/supertriodo/Arena-Tracker/master/Synergies/synergiesVersion.json --> Failed. Retrying...
18:24:00 - MainWindow: https://raw.githubusercontent.com/supertriodo/Arena-Tracker/master/Themes/Themes.json --> Failed. Retrying...

And then it instantly retries and writes the same lines to the log file again, looping until the disk is full.

I have tried making ArenaTrackerLog.txt non-writable as a workaround, but then the lines are just written to ~/.local/share/sddm/xorg-session.log instead – again, until the disk is full.

supertriodo commented 2 years ago

It seems your pc lose internet access from time to time. I'll check the problem and dely the retry to avoid so much logging.

supertriodo commented 2 years ago

I have been looking into this and the rate AT retries isn't that crazy as to full a disk in few time. These files are only downloaded at the start of the app and are esential.

I suggest you restart the app until those are correctly downloaded and then start you Hearthstone session. You can run AT from console to check the debug.