-
Notifications
You must be signed in to change notification settings - Fork 35
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
Custom drivers registered with KStars 3.6.1 do not appear in the indiwebserver driver list. #53
Comments
more information: I tried to request following REST API for indi web manager. get http://smdev.local:8624/api/drivers I found following two definition of "Astroberry System" in response body. {
"name": "Astroberry System",
"label": "Astroberry System",
"skeleton": null,
"version": "2.10",
"binary": "indi_astroberry_system",
"family": "Auxiliary",
"custom": false,
"role": ""
}, {
"name": "",
"label": "Astroberry System",
"skeleton": null,
"version": "1.0",
"binary": "",
"family": "Auxiliary",
"custom": true,
"role": ""
}, |
The system just reads whatever XML files are in /usr/share/indi so you probably have both in there? |
There is only one indi_astroberry_system.xml in /usr/share/indi. Please see after the screenshot in the link below. |
I found the cause of this issue. "Astroberry System" is registered in the following two places and is shown in the driver list of indi web manager.
By the way, where are Custom Drivers stored in Kstars 3.6.1 for StellarMateOS? I believe the aforementioned "custom" table in ~/.indi/profiles.db was set up by me in a past version of KStars. |
Hi @knro KStars 3.6.1 registers custom driver information in table customdrivers in Therefore, custom drivers registered with old KStars are displayed in the driver list of indiwebmanager. I should change the title of this Isseu. |
I have read a little indiwebmanager code. Is there a way to delete a custom driver registered in table custom? |
Custom drivers should be synced from the client to web manager. Maybe the web manager is bugged and does not reflect all the custom drivers? |
It probably works according to the indiwebmanager specification. On Windows11
On StellarMate OS:
The following behavior may be difficult to understand as a specification
For example, how about the following changing ?
|
Hi @knro |
Several drivers are duplicated in the driver list.
Even if I select one of them, both are checked when I reload web manager.
To Reproduce
Screenshot
File list in /usr/share/indi
ls.txt
drivers.xml and indi_astroberry_system.xml
drivers.zip
The text was updated successfully, but these errors were encountered: