settings are not saved

#1
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

#5
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.
Attachments
Installation.zip
(314 Bytes) Downloaded 104 times

Re: settings are not saved

#7
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.
Last edited by adipiciu on Fri Feb 19, 2021 11:15 am, edited 1 time in total.

Re: settings are not saved

#9
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

#11
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

#12
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.
Last edited by adipiciu on Fri Feb 19, 2021 1:38 pm, edited 1 time in total.
Attachments
launcher.PNG
launcher.PNG (6.06 KiB) Viewed 2410 times

Re: settings are not saved

#14
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
Attachments
launcher.PNG
launcher.PNG (6.06 KiB) Viewed 2410 times