-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration not saved correctly on Windows? #587
Comments
Hmm interesting. I can't remember this being an issue on my windows 10 but maybe I haven't looked at it carefully enough. Next week is our issue solving week so I'll plan to check this out then too! |
With the latest development version installed with pip and on windows 10, I can not replicate this problem. I've changed the max thrust from 80 to 90, closed the cfclient and reopened it again, and it was still on the 90 that I set before closing. Also the terminal said once I closed the cfclient:
@matejkarasek was this on windows 11 as well? Does the terminal on which you started the cfclient from indicate any errors? |
Thanks for looking into this... It might be related to using a joystick. If no joystick is connected, I do get the same terminal message as you mention. However then the flight control values are greyed out so cannot change them. When I connect a joystick, the joystick works fine, but I am constantly getting these error messages: Then when I close cfclient, I get this in the PowerShell:
|
It could be I installed cfclient from (customized) source in the past, is there a way to make sure everything is wiped out before installing with pip? |
It would be not super likely but it wouldn't hurt to try to do a I'll try the controller thing that you mentioned once I'm on windows again... perhaps that is the culprit of your issues. |
Thanks, was worth a shot, but it didn't help (I believe I already tried this before) |
ah oke at least you tried. Not many of us have windows 11 on our machines so we just have wait a bit and see (or i have to upgrade my computer soon :)) |
Now I can try this one out as well! On windows 11, with python 3.10, I do not have this issue. The cfclient seems to save the values for the next session. But the controller issue is quite annoying.. so perhaps we should change the title of this issue to that. Which controller were you using @matejkarasek ? Mine was a ps3 one |
I was on Python 3.10.0, tried upgrading to 3.10.4 but no change on my end, settings still not saved... As for the controllers, I observe the same behavior with a PS4 gamepad (Dualshock 4, connected via USB) and with a FrSky USB dongle to which my transmitter connects... |
On Windows 11 with pip installation (2022.1), the configuration saving does not seem to work properly.
The flight control values (max thrust, max angle, ...) do not get remembered and return to default values after restart. Even if the config.json file is edited manually (in the config folder accessed through the GUI), it returns back to the default values after restart (both the settings and the values in config.json).
In native Ubuntu 20.04 this works as expected, e.g. after restart I get the last set values in the GUI.
EDIT: open tabs are saved correctly, though
The text was updated successfully, but these errors were encountered: