s-victor / TinyPedal

Free and Open Source telemetry overlay application for racing simulation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Config resetted sometimes

fralbo opened this issue · comments

Hello,
That's now the 3rd time widget's config is completely reseted when I start TinyPedal.
All widget's are ON and stored at the left of the screen.
I saw there are some backups but they only contain 66ko of '0' !?!
I don't know how does it happen.
I use version 2.14.0 with LMU.
Here are my setting files.
LMP2.json
LMP2-backup 2024-07-05 14-51-56.json

commented

Hi, thanks for reporting. The issue is likely happened when the APP tries to save preset the "last time", but somehow failed to save correctly. By default, the APP will retry up to 5 times if saving fails, and I would guess for some reason (probably system or CPU very busy) that all those 5 attempts failed.

I will try improve the saving system to avoid such issue in the coming days.

Meanwhile you can manually make backups in case it happens again. Or, download source code and manually edit and increase attempts value at line 171 in https://github.com/s-victor/TinyPedal/blob/master/tinypedal/setting.py and the APP run from source (or build).

commented

New improvements to saving system is included in v2.15.1 update:
https://github.com/s-victor/TinyPedal/releases/tag/v2.15.1

Let me know if it helps.

Ok, thanks a lot.
If I well understand, changes we make on live are supposed to be saved on the fly on the current preset?

commented

Correct. There is one exception, which the main config window position is only saved on APP exit (if position has changed).

Hello,
No more problems up to now.
Thanks a lot.

commented

Thanks, I'll close the issue now.