[Gambas-user] Corruption of application.conf with Raspberry Pi

Michele V. akrobaticone at gmail.com
Sun Feb 28 20:33:24 CET 2021


Gambas on raspberry Pi with raspbian
Sometimes using class gb.setting the file .conf become corrupted and
default value are loaded
most likely this happen in case of crash of gambas program
but i'm not completely sure
in my gambas application whenever  a value is changed a settings.save
command is executed
Raspberry Pi use a SD card and it is very slow in read write operation
EXT4 with journaling delays writing change on SD card
Every gambas application write the .conf file whenever is terminated
I suppose the sum of that condition may cause the problem
Another question:
Is possible disable the .conf write at the end of application (specially in
case of crash)?



-------------------------------------------------------------------------------------------------------------------------------------------
Io scrivo da UBUNTU GNU/LINUX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210228/b0c969c2/attachment.htm>


More information about the User mailing list