×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

indi-web in trouble with bottle web server

  • Posts: 24
  • Thank you received: 3
Hi,

Using indiweb within a virtual environment on top of a Debian 12 based machine, the console displays this error :
$ indi-web -x /usr/local/share/indi -v -l ~/indi-web.log
Traceback (most recent call last):
  File "/home/jaq/indiweb/bin/bottle.py", line 876, in _handle
    return route.call(**args)
           ^^^^^^^^^^^^^^^^^^
  File "/home/jaq/indiweb/bin/bottle.py", line 1759, in wrapper
    rv = callback(*a, **ka)
         ^^^^^^^^^^^^^^^^^^
  File "/home/jaq/indiweb/lib/python3.11/site-packages/indiweb/main.py", line 395, in get_indihub_status
    is_running = indihub_agent.is_running()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jaq/indiweb/lib/python3.11/site-packages/indiweb/indihub_agent.py", line 57, in is_running
    if self.__async_cmd:
       ^^^^^^^^^^^^^^^^
AttributeError: 'IndiHubAgent' object has no attribute '_IndiHubAgent__async_cmd'

Here is the package list :
$ pip list
Package            Version
------------------ --------
bottle             0.12.25
certifi            2024.2.2
charset-normalizer 3.3.2
idna               3.6
importlib_metadata 7.1.0
indiweb            0.1.8
pip                23.0.1
psutil             5.9.8
requests           2.31.0
setuptools         66.1.1
urllib3            2.2.1
wheel              0.38.4
zipp               3.18.1

Not a real impediment for me, as I only use the server, not the hub. But I think it is worth having a look.
Clear skies,

Dahu
1 month 4 days ago #99871

Please Log in or Create an account to join the conversation.

Time to create page: 0.175 seconds