2021-02-23, 09:24 AM
Hello,
I am trying to program a python program to be able to save and restore presets for pypilot, but I am having a weird problem!
I have a version of openplotter 2 installed on ssd and I am working on it at home to avoid overloading my SD card with many writes.
I have a second version of the same software on an SD card with which I navigate.
Satisfied with my python program tested on the ssd version, so I wear it on the SD card, but it doesn't work !!! ??
I then edit the .pypilot / pypilot.conf file and realize to my surprise that they are different in the 2 versions!
In the first there are no quotes around the labels but in the second is are present which messes up my code based on recognizing labels and modifying their value (sed command)
For both versions, it is version 2.1.1 of pypilot.
Is there a link between the version of pypilot and the presence or not of quotes in pypilot.conf? i
n the first screenshot, pypilot.conf from my SD card
in the second screen shot, pypilot.conf from my SSD
Any idea??
I am trying to program a python program to be able to save and restore presets for pypilot, but I am having a weird problem!
I have a version of openplotter 2 installed on ssd and I am working on it at home to avoid overloading my SD card with many writes.
I have a second version of the same software on an SD card with which I navigate.
Satisfied with my python program tested on the ssd version, so I wear it on the SD card, but it doesn't work !!! ??
I then edit the .pypilot / pypilot.conf file and realize to my surprise that they are different in the 2 versions!
In the first there are no quotes around the labels but in the second is are present which messes up my code based on recognizing labels and modifying their value (sed command)
For both versions, it is version 2.1.1 of pypilot.
Is there a link between the version of pypilot and the presence or not of quotes in pypilot.conf? i
n the first screenshot, pypilot.conf from my SD card
in the second screen shot, pypilot.conf from my SSD
Any idea??