PhotonVision / photonvision

PhotonVision is the free, fast, and easy-to-use computer vision solution for the FIRST Robotics Competition.
https://photonvision.org
GNU General Public License v3.0
264 stars 183 forks source link

Photonvision settings not being saved. #1319

Open lakshag32 opened 4 months ago

lakshag32 commented 4 months ago

Describe the bug Photonvision settings are sometimes reset after a UI restart/coprocessor shutdown and reboot. Can't recall exactly which one.

Setup:

  1. Hardware: Orange Pi 5
  2. Network config: Network switch
  3. Photonvision version: 2024.2.9
  4. Browser: Chrome, unsure of version
  5. Camera: Arducam USB OV9281

To Reproduce: Steps to reproduce the behavior:

  1. Adjust photonvision settings
  2. Restart photonvision/reboot orange pi
  3. Observe that the settings we changed have been reset
srimanachanta commented 4 months ago

Please include logs for this as the UI should error/response when settings weren't properly saved. Will need the logs to trace this down further.

crschardt commented 3 months ago

Any more info on this issue? If not, I'm going to close it.

lakshag32 commented 3 months ago

Apologies for the late reply. Here are some logs from a day where we had this issue. Let me know if they help. photonvision-journalctl_6_5_24.txt

crschardt commented 3 months ago

I see you're still using 2024.2.9, however the newest stable version is 2024.3.1, which has a lot of improvements. The bug you're encountering could be already fixed. Please upgrade to this version and let me know if you are still having the problem.

lakshag32 commented 3 months ago

I see, thank you!

mcm001 commented 3 months ago

The diff is here: https://github.com/PhotonVision/photonvision/compare/v2024.2.9...v2024.3.1 . Nothing here jumps out to me as a smoking gun, though

crschardt commented 2 months ago

@lakshag32 - are you still experiencing this bug?