MattBlack85 / astro_monitor

A small program to help you during your astrophotography sessions
9 stars 0 forks source link

Multiplatform retrieve issue on Kstars preference path #25

Open teoteo opened 7 months ago

teoteo commented 7 months ago

Creating a backup from Linux and retrieving on macOS opening Kstars I get this error.

Unable to find INDI drivers directory: /usr/local/share/indi Please make sure to set the correct path in KStars configuration

Before the backup on macOS in INDI general preferences the default paths was: *internal INDI Server* and *internal INDI Driver*; after the restore from Linux backup: /us/local/bin/indiserver and /us/local/share/indi

Backing up configurations is so convenient... Proposals:

  1. specify in the readme that crossplatform restore is not supported
  2. specify in the readme which paths might need to be corrected
  3. add an option to the --retrieve_backup command to exclude certain files (eg. [--ignore kstars_option], etc.)

Before restore:

Screenshot 2024-03-11 alle 15 37 33

After restore:

Screenshot 2024-03-11 alle 15 33 35
MattBlack85 commented 7 months ago

as discussed privately, the backend needs to be modified to allow one backup per OS and the frontend must pull the right one for the OS is run in to avoid similar issues in the future