(I already posted this to the indiwebmanager github, but perhaps I will get more responses here!)
Pretty basic question:
We have successfully used INDI Web Manager with our NUC and telescopes in the past. I have recently updated the NUC to Fedora 36 and the most recent version of the indi libraries (v1.9.. I installed indiwebmanager with pip-install. Unfortunately, I am now unable to start new profiles via kstars (version 3.5.7 linux or 3.6.1 mac os x). The server starts normally, without problems, but errors are present after trying to start a profile.
In the debug logs I always see the same message:
INDI: Error communicating with INDI Web Manager: "Error transferring http://pctpmaster:8624/api/server/start/pctpmaster-2022 - server replied: Internal Server Error"
org.kde.kstars.ekos: "Failed to start profile on remote INDI Web Manager."
when I look on the server-side I see this:
[root@localhost ~]# service indiwebmanager status
Redirecting to /bin/systemctl status indiwebmanager.service
* indiwebmanager.service - INDI Web Manager
Loaded: loaded (/etc/systemd/system/indiwebmanager.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2022-11-29 11:30:38 CET; 1h 43min ago
Main PID: 3219 (indi-web)
Tasks: 1 (limit: 9319)
Memory: 17.1M
CPU: 1.704s
CGroup: /system.slice/indiwebmanager.service
`- 3219 /usr/bin/python2 /usr/bin/indi-web -v
Nov 29 11:36:04 localhost.localdomain indi-web[3219]: rv = callback(*a, **ka)
Nov 29 11:36:04 localhost.localdomain indi-web[3219]: File "/usr/lib/python2.7/site-packages/indiweb/main.py", line 254, in start_server
Nov 29 11:36:04 localhost.localdomain indi-web[3219]: start_profile(profile)
Nov 29 11:36:04 localhost.localdomain indi-web[3219]: File "/usr/lib/python2.7/site-packages/indiweb/main.py", line 108, in start_profile
Nov 29 11:36:04 localhost.localdomain indi-web[3219]: indi_server.start(info['port'], all_drivers)
Nov 29 11:36:04 localhost.localdomain indi-web[3219]: File "/usr/lib/python2.7/site-packages/indiweb/indi_server.py", line 70, in start
Nov 29 11:36:04 localhost.localdomain indi-web[3219]: self.start_driver(driver)
Nov 29 11:36:04 localhost.localdomain indi-web[3219]: File "/usr/lib/python2.7/site-packages/indiweb/indi_server.py", line 37, in start_driver
Nov 29 11:36:04 localhost.localdomain indi-web[3219]: cmd = 'start %s' % driver.binary
Nov 29 11:36:04 localhost.localdomain indi-web[3219]: AttributeError: 'NoneType' object has no attribute 'binary'
I read that this can be caused by a corrupt profile database, but I have tried removing completely the ~/.indi directory and starting again, and I get the same error.
Interestingly, I note that old profiles in Kstars still seem to work. I just cannot create new ones which work. And I notice that the profiles are not correctly saved on indiwebmanager.
Is there anything else I can do to diagnose and fix this problem?