Another update: by running kstars directly on the NUC and exporting the display, we can control the telescope and we see the Atik/10micron drivers. It is just the indiwebserver that fails to load the profile remotely. What could be happening?

Read More...

Hi,
After further experiments it seems that this problem is produced only when I include the Atik CCD driver. I have tried to uninstall and reinstall the driver, but the problem persists. I can start profiles without difficulties with the other drivers.

In attachment the minimal config that reproduces the problem.
The error in the log is as always:

ec 03 21:19:59 localhost.localdomain indi-web[2546]: Traceback (most recent call last):
Dec 03 21:19:59 localhost.localdomain indi-web[2546]:   File "/usr/local/bin/bottle.py", line 876, in _handle
Dec 03 21:19:59 localhost.localdomain indi-web[2546]:     return route.call(**args)
Dec 03 21:19:59 localhost.localdomain indi-web[2546]:   File "/usr/local/bin/bottle.py", line 1756, in wrapper
Dec 03 21:19:59 localhost.localdomain indi-web[2546]:     rv = callback(*a, **ka)
Dec 03 21:19:59 localhost.localdomain indi-web[2546]:   File "/usr/local/lib/python3.10/site-packages/indiweb/main.py", line 254, in start_server
Dec 03 21:19:59 localhost.localdomain indi-web[2546]:     start_profile(profile)
Dec 03 21:19:59 localhost.localdomain indi-web[2546]:   File "/usr/local/lib/python3.10/site-packages/indiweb/main.py", line 108, in start_profile
Dec 03 21:19:59 localhost.localdomain indi-web[2546]:     indi_server.start(info['port'], all_drivers)
Dec 03 21:19:59 localhost.localdomain indi-web[2546]:   File "/usr/local/lib/python3.10/site-packages/indiweb/indi_server.py", line 70, in start
Dec 03 21:19:59 localhost.localdomain indi-web[2546]:     self.start_driver(driver)
Dec 03 21:19:59 localhost.localdomain indi-web[2546]:   File "/usr/local/lib/python3.10/site-packages/indiweb/indi_server.py", line 37, in start_driver
Dec 03 21:19:59 localhost.localdomain indi-web[2546]:     cmd = 'start %s' % driver.binary
Dec 03 21:19:59 localhost.localdomain indi-web[2546]: AttributeError: 'NoneType' object has no attribute 'binary'

Thanks !

Read More...

Hi Jasem, thanks for your reply !
Well, I stopped and restarted indiwebmanager, here are the complete logs:

Dec 03 11:26:09 localhost.localdomain systemd[1]: Stopping indiwebmanager.service - INDI Web Manager...
Dec 03 11:26:09 localhost.localdomain systemd[1]: indiwebmanager.service: Deactivated successfully.
Dec 03 11:26:09 localhost.localdomain systemd[1]: Stopped indiwebmanager.service - INDI Web Manager.
Dec 03 11:26:09 localhost.localdomain systemd[1]: indiwebmanager.service: Consumed 7.725s CPU time.
Dec 03 11:26:09 localhost.localdomain systemd[1]: Started indiwebmanager.service - INDI Web Manager.
Dec 03 11:26:09 localhost.localdomain indi-web[2546]: 2022-12-03 11:26:09,600 - DEBUG: command line arguments: {'indi_port': 7624, 'port': 8624, 'host': '0.0.0.0', 'fifo': '/tmp/indiFIFO', 'conf': '/root/.indi', 'xmldir': '/usr/share/indi/', 'verbose': True, 'logfile': None, 'server': 'standalone'}
Dec 03 11:26:09 localhost.localdomain indi-web[2546]: 2022-12-03 11:26:09,602 - INFO: pkill -9 indiserver
Dec 03 11:26:09 localhost.localdomain indi-web[2546]: 2022-12-03 11:26:09,612 - WARNING: terminating indiserver failed code 1
Dec 03 11:26:09 localhost.localdomain indi-web[2546]: 2022-12-03 11:26:09,612 - INFO: pkill -2 indihub-agent
Dec 03 11:26:09 localhost.localdomain indi-web[2546]: 2022-12-03 11:26:09,619 - WARNING: terminating indihub-agent failed code 1
Dec 03 11:26:09 localhost.localdomain indi-web[2546]: 2022-12-03 11:26:09,619 - INFO: using Bottle as standalone server
Dec 03 11:29:31 localhost.localdomain indi-web[2546]: 2022-12-03 11:29:31,248 - INFO: pkill -2 indihub-agent
Dec 03 11:29:31 localhost.localdomain indi-web[2546]: 2022-12-03 11:29:31,255 - WARNING: terminating indihub-agent failed code 1
Dec 03 11:29:31 localhost.localdomain indi-web[2546]: 2022-12-03 11:29:31,255 - INFO: pkill -9 indiserver
Dec 03 11:29:31 localhost.localdomain indi-web[2546]: 2022-12-03 11:29:31,261 - WARNING: terminating indiserver failed code 1
Dec 03 11:29:31 localhost.localdomain indi-web[2546]: 2022-12-03 11:29:31,297 - INFO: Deleting fifo /tmp/indiFIFO
Dec 03 11:29:31 localhost.localdomain indi-web[2546]: 2022-12-03 11:29:31,299 - INFO: indiserver -p 7624 -m 100 -v -f /tmp/indiFIFO > /tmp/indiserver.log 2>&1 &
Dec 03 11:29:31 localhost.localdomain indi-web[2546]: Traceback (most recent call last):
Dec 03 11:29:31 localhost.localdomain indi-web[2546]:   File "/usr/local/bin/bottle.py", line 876, in _handle
Dec 03 11:29:31 localhost.localdomain indi-web[2546]:     return route.call(**args)
Dec 03 11:29:31 localhost.localdomain indi-web[2546]:   File "/usr/local/bin/bottle.py", line 1756, in wrapper
Dec 03 11:29:31 localhost.localdomain indi-web[2546]:     rv = callback(*a, **ka)
Dec 03 11:29:31 localhost.localdomain indi-web[2546]:   File "/usr/local/lib/python3.10/site-packages/indiweb/main.py", line 254, in start_server
Dec 03 11:29:31 localhost.localdomain indi-web[2546]:     start_profile(profile)
Dec 03 11:29:31 localhost.localdomain indi-web[2546]:   File "/usr/local/lib/python3.10/site-packages/indiweb/main.py", line 108, in start_profile
Dec 03 11:29:31 localhost.localdomain indi-web[2546]:     indi_server.start(info['port'], all_drivers)
Dec 03 11:29:31 localhost.localdomain indi-web[2546]:   File "/usr/local/lib/python3.10/site-packages/indiweb/indi_server.py", line 70, in start
Dec 03 11:29:31 localhost.localdomain indi-web[2546]:     self.start_driver(driver)
Dec 03 11:29:31 localhost.localdomain indi-web[2546]:   File "/usr/local/lib/python3.10/site-packages/indiweb/indi_server.py", line 37, in start_driver
Dec 03 11:29:31 localhost.localdomain indi-web[2546]:     cmd = 'start %s' % driver.binary
Dec 03 11:29:31 localhost.localdomain indi-web[2546]: AttributeError: 'NoneType' object has no attribute 'binary'

Just for reference I am attaching the ekos control panel. You can see we are using the 10micron mount driver. Everything should be on the most recent version.
Weird thing is, we were able to get to work only once, but not ever again ...
thank you again for your help and for developing and maintaing this very useful software!
Best regards, '
Henry

Read More...

Hi everyone,

(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.8). 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?

Many thanks!
Henry

Read More...