Page 1 of 2

settings are not saved

Posted: Sun Feb 14, 2021 8:36 pm
by adipiciu
I have upgraded progdvb to the latest version 7.39.4. The last channel is not saved, also any settings changes are not saved.

I have installed back 7.37.0, this works ok.

Edit: I found the first version that broke the save settings 7.38.8. The problem is somewhere between 7.38.6 and 7.38.8

Re: settings are not saved

Posted: Mon Feb 15, 2021 4:45 am
by Prog
1. What path used for data? Try find ProgDVB.ini on all disk.
2. Send me installation.ini from ProgDVB folder.


ps: Very strange. I have 2-3 same reports but not have idea why.

Re: settings are not saved

Posted: Mon Feb 15, 2021 4:56 am
by Prog
Do you have same problem in prerelease?

Re: settings are not saved

Posted: Tue Feb 16, 2021 6:43 am
by Prog

Re: settings are not saved

Posted: Wed Feb 17, 2021 10:15 pm
by adipiciu
7.39.4d does not work.

I use the default installation directory:
"C:\Program Files (x86)\ProgDVB\Installation.ini"
"C:\ProgramData\ProgDVB\ProgDVB.ini"

Try to find what changed between 7.38.6 and 7.38.8. Maybe there is a old setting that is not recognized anymore and it fails to save it in the new version.

Re: settings are not saved

Posted: Thu Feb 18, 2021 4:56 am
by Prog
No many changes and no important changes in config. Also not many users have this bug. Can you enable logs and send me all files after restart of ProgDVB?
You can add to ProgDVB.ini
[Debug]
Logs=2
for logs

Re: settings are not saved

Posted: Thu Feb 18, 2021 10:07 pm
by adipiciu
Hi,
I have attached the logs. It even crashed after 1 minute.

P.S. Usually when progdvb crash, I need to reboot the pc, otherwise it does not start again. probably the tunner gets blocked. Also I cannot gaming while keeping progdvb open, maybe graphic driver is blocked access.

Re: settings are not saved

Posted: Fri Feb 19, 2021 4:52 am
by Prog
Crash in MS video codec. Try install and use lav.
Still question with settings. What I can do for repeat this bug?

Re: settings are not saved

Posted: Fri Feb 19, 2021 11:14 am
by adipiciu
It's related to the installer. If I backup the programdata\progdvb files from last version that worked 7.38.6, install latest version 7.39.4, then copy the files back, it's working. No file changes or differences. It's something related to the permissions on the files.

Edit: It's strange that if I do a clean install, it works fine. Maybe the permission inheritance is wrong

Re: settings are not saved

Posted: Fri Feb 19, 2021 11:28 am
by Prog
Is it problem if install 7.38.6 and last version over that?

Re: settings are not saved

Posted: Fri Feb 19, 2021 12:57 pm
by adipiciu
If I install 7.38.6 back, the settings can be changed again, so it means that 7.38.6 sets the permissions ok.
If I install 7.38.6+, they break the permissions, and ProgDVB.ini can't be modified.

Edit: it is strange that if i do a clean install (remove the Programdata\Progdvb folder), the it works ok with 7.38.6+. But I need the old settings, I don't want to re do all the custom settings I did again.

Re: settings are not saved

Posted: Fri Feb 19, 2021 1:34 pm
by adipiciu
I found the cause.
The Progdvb.ini file is blocked by the progdvb launcher. It remains in the systemtray, and I can't edit the ini file. If I close the process, then open progdvb again, the setings are saved.

Re: settings are not saved

Posted: Fri Feb 19, 2021 1:35 pm
by Prog
Hm. I try that. In modern version also?

Re: settings are not saved

Posted: Fri Feb 19, 2021 1:40 pm
by adipiciu
I don't use the modern version.

So If I close that process from the system tray, the next time I open progdvb, I can save the settings. Very weird.

Edit: If I open the launcher again, it can't save any options. So this is the cause. I can reproduce the bug every time.


Edit2: New versions have the ProgLauncher disabled by default? Or maybe until 7.38.6+ don't lock the files with the process

Re: settings are not saved

Posted: Fri Feb 19, 2021 2:12 pm
by Prog
Thanks!!!! Now I can repeat this problem.