aaronwmorris / indi-allsky

Software to manage a Linux-based All Sky Camera.
GNU General Public License v3.0
197 stars 31 forks source link

Upgrade fails #1094

Closed maphilli14 closed 2 months ago

maphilli14 commented 6 months ago

Following directions here - https://github.com/aaronwmorris/indi-allsky/wiki/Updating-indi-allsky gives

allsky2:~/indi-allsky $  git pull origin main
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
remote: Enumerating objects: 26, done.
remote: Counting objects: 100% (26/26), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 26 (delta 12), reused 26 (delta 12), pack-reused 0
Unpacking objects: 100% (26/26), 13.48 KiB | 255.00 KiB/s, done.
From https://github.com/aaronwmorris/indi-allsky
 * branch              main       -> FETCH_HEAD
   07cdf75e..a5fff428  main       -> origin/main
Updating d2a13f23..a5fff428
error: Your local changes to the following files would be overwritten by merge:
        README.md
        ansible/requirements.txt
        ansible/roles/build_indi/defaults/main.yml
        ansible/roles/build_indi/tasks/common/install/main.yml
        ansible/roles/build_indi/tasks/indi_3rdparty/install/RedHat.yml
        ansible/roles/build_indi/tasks/indi_3rdparty/install/main.yml
        ansible/roles/build_indi/tasks/indi_3rdparty/main.yml
        ansible/roles/build_indi/tasks/indi_core/install/main.yml
        ansible/roles/build_indi/tasks/indi_core/main.yml
        ansible/roles/build_indi/tasks/main.yml
        ansible/roles/build_indi/vars/Debian-10.yml
        ansible/roles/build_indi/vars/Debian-11.yml
        ansible/roles/build_indi/vars/Debian-9.yml
        ansible/roles/build_indi/vars/Fedora-34.yml
        ansible/roles/build_indi/vars/Ubuntu-18.yml
        ansible/roles/build_indi/vars/Ubuntu-20.yml
        ansible/roles/build_indi/vars/Ubuntu-22.yml
        ansible/roles/build_indi/vars/main.yml
        config.json_template
        darks.py
        flask.json_template
        indi_allsky/allsky.py
        indi_allsky/darks.py
        indi_allsky/exceptions.py
        indi_allsky/filetransfer/__init__.py
        indi_allsky/flask/__init__.py
        indi_allsky/flask/forms.py
        indi_allsky/flask/miscDb.py
        indi_allsky/flask/models.py
        indi_allsky/flask/templates/base.html
        indi_allsky/flask/templates/chart.html
        indi_allsky/flask/templates/config.html
        indi_allsky/flask/templates/imageviewer.html
        indi_allsky/flask/templates/index.html
        indi_allsky/flask/templates/loop.html
        indi_allsky/flask/templates/sqm.html
        indi_allsky/flask/templates/system.html
        indi_allsky/flask/templates/videoviewer.html
        indi_allsky/flask/views.py
        indi_allsky/image.py
        indi_allsky/keogram.py
        indi_allsky/sqm.py
        indi_allsky/starTrails.py
        indi_allsky/stars.py
        indi_allsky/uploader.py
        indi_allsky/video.py
        misc/build_indi.sh
        misc/rebuild_pyindi-client.sh
        misc/validate_db_entries.py
        requirements_debian10.txt
        requirements_debian11.txt
        requirements_ubuntu18.txt
        service/90-org.aaronwmorris.indi-allsky.pkla
        service/apache_indi-allsky.conf
        service/gunicorn.conf.py
        service/indi-allsky.service
        service/indiserver.service
        service/nginx_astroberry_ssl
        setup.sh
        testing/exposureTest.py
        testing/starTrails_max.py
Please commit your changes or stash them before you merge.
Aborting

Doing fresh pull into existing and working legacy version errors with flask migration:


Removed /home/maphilli14/.config/systemd/user/default.target.wants/gunicorn-indi-allsky.service.
**** Setup policy kit permissions ****
**** Ensure user is a member of the systemd-journal group ****
**** Setup rsyslog logging ****
**** Indi-allsky config ****
**** Flask config ****
**** Setup DB ****
**** Backup DB prior to migration ****
  Creating directory '/var/lib/indi-allsky/migrations' ...  done
  Creating directory '/var/lib/indi-allsky/migrations/versions' ...  done
  Generating /var/lib/indi-allsky/migrations/env.py ...  done
  Generating /var/lib/indi-allsky/migrations/alembic.ini ...  done
  Generating /var/lib/indi-allsky/migrations/script.py.mako ...  done
  Generating /var/lib/indi-allsky/migrations/README ...  done
  Please edit configuration/connection/logging settings in '/var/lib/indi-allsky/migrations/alembic.ini' before proceeding.
0 blocks
ERROR [flask_migrate] Error: Can't locate revision identified by 'fc09cb85323d'

###############
###  ERROR  ###
###############

The setup script exited abnormally, please try to run again...
aaronwmorris commented 6 months ago

Did you happen to delete the database file?

maphilli14 commented 6 months ago

Not that I'm aware, I did a mv indi-allsky indi-allsky.20240108bak first then a fresh, full pull and setup.sh to give that error. I'd like to be able to do the suggested upgrade

git pull origin main

But it gave the odd error


Please commit your changes or stash them before you merge.
Aborting
maphilli14 commented 6 months ago

no, didn't mean to close

aaronwmorris commented 6 months ago

I'm not sure how old your original installation was, but that may be part of the issue.

Do you have any .py files in indi-allsky.20240108bak/migrations/versions/ ?

maphilli14 commented 5 months ago

Yes, I reverted back for now...


 cd indi-allsky/migrations/versions/
maphilli14@allsky2:~/indi-allsky/migrations/versions $ ls
fbd01843477f_.py  fc09cb85323d_.py  __pycache__
maphilli14@allsky2:~/indi-allsky/migrations/versions $ cat fbd01843477f_.py
"""empty message

Revision ID: fbd01843477f
Revises:
Create Date: 2022-08-20 19:59:45.106592

"""
from alembic import op
import sqlalchemy as sa
aaronwmorris commented 5 months ago

Okay, I understand what is going on. I moved the migrations out of the git checkout folder a while back. The setup script would fix this, but since there is a new checkout, it fails.

You will just need to manually move the migration files.

# create a new checkout of indi-allsky

rm /var/lib/indi-allsky/migrations/versions/*.py

# from the old checkout
cp migrations/versions/*.py /var/lib/indi-allsky/migrations/versions

Hopefully, the setup.sh script can complete at this point. Once you upgrade, you should be able to run the Home Assistant auto discovery script as well.

maphilli14 commented 5 months ago

Upgrade is complete, now have to fix the GUI! :O

tart apache2
Site 000-default already disabled
Site default-ssl already disabled
Site indi-allsky already enabled
Synchronizing state of apache2.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable apache2
**** Setup HTDOCS folder ****
**** Setup image folder ****
**** Ensure user is a member of the dialout group ****
**** Disabling Thomas Jacquin's allsky (ignore errors) ****
Failed to stop allsky.service: Unit allsky.service not loaded.
Failed to disable unit: Unit file allsky.service does not exist.
**** Starting gunicorn-indi-allsky.socket
**** Update config camera interface ****
2024-01-15 16:30:38,633 [INFO] MainProcess config._load() #676: Loading configuration from file

*** Configurations are now stored in the database and *NOT* /etc/indi-allsky/config.json ***

Services can be started at the command line or can be started from the web interface

    systemctl --user start indiserver
    systemctl --user start indi-allsky

The web interface may be accessed with the following URL
 (You may have to manually access by IP)

    https://allsky2.local/indi-allsky/

Completed in 484s

Enjoy!
maphilli14@allsky2:~/indi-allsky $ sudo reboot
Connection to allsky closed by remote host.
Connection to allsky closed.
maphilli14 commented 5 months ago
Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
aaronwmorris commented 5 months ago

Check the exception logged in /var/log/indi-allsky/webapp-indi-allsky.log.

You may just need to start indi-allsky and let it run for a minute to stabilize. You may also try clearing you cookies in your browser.

maphilli14 commented 5 months ago

:(```

maphilli14@allsky2:~ $ tail /var/log/indi-allsky/webapp-indi-allsky.log Jan 15 16:37:08 allsky2 [ERROR] MainProcess-849 app.log_exception() #825: Exception on /indi-allsky/ [GET]#012Traceback (most recent call last):#012 File "/home/maphilli14/indi-allsky/virtualenv/indi-allsky/lib/python3.9/site-packages/flask/app.py", line 1455, in wsgi_app#012 response = self.full_dispatch_request()#012 File "/home/maphilli14/indi-allsky/virtualenv/indi-allsky/lib/python3.9/site-packages/flask/app.py", line 869, in full_dispatch_request#012 rv = self.handle_user_exception(e)#012 File "/home/maphilli14/indi-allsky/virtualenv/indi-allsky/lib/python3.9/site-packages/flask/app.py", line 867, in full_dispatch_request#012 rv = self.dispatch_request()#012 File "/home/maphilli14/indi-allsky/virtualenv/indi-allsky/lib/python3.9/site-packages/flask/app.py", line 852, in dispatch_request#012 return self.ensure_sync(self.view_functions[rule.endpoint])(*view_args)#012 File "/home/maphilli14/indi-allsky/indi_allsky/flask/misc.py", line 22, in decorated_view#012 return app.ensure_sync(func)(args, kwargs)#012 File "/home/maphilli14/indi-allsky/virtualenv/indi-allsky/lib/python3.9/site-packages/flask/views.py", line 109, in view#012 return current_app.ensure_sync(self.dispatch_request)(kwargs)#012 File "/home/maphilli14/indi-allsky/indi_allsky/flask/base_views.py", line 212, in dispatch_request#012 context = self.get_context()#012 File "/home/maphilli14/indi-allsky/indi_allsky/flask/views.py", line 115, in get_context#012 context = super(IndexView, self).get_context()#012 File "/home/maphilli14/indi-allsky/indi_allsky/flask/base_views.py", line 219, in get_context#012 'astrometric_data' : self.get_astrometric_info(),#012 File "/home/maphilli14/indi-allsky/indi_allsky/flask/base_views.py", line 356, in get_astrometric_info#012 obs.lon = math.radians(longitude)#012TypeError: must be real number, not NoneType

aaronwmorris commented 5 months ago

Starting indi-allsky should fix this issue.

maphilli14 commented 5 months ago
  471  history | grep start
maphilli14@allsky2:~ $ systemctl --user status indiserver
* indiserver.service - Indi Server
     Loaded: loaded (/home/maphilli14/.config/systemd/user/indiserver.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2024-01-15 16:31:28 EST; 3h 48min ago
   Main PID: 614 (indiserver)
      Tasks: 9 (limit: 3839)
        CPU: 1min 1.478s
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/indiserver.service
             |-614 /usr/local/bin/indiserver -p 7624 indi_simulator_telescope indi_qhy_ccd indi_simulator_gps
             |-617 indi_simulator_telescope
             |-618 indi_qhy_ccd
             `-619 indi_simulator_gps

Jan 15 19:28:05 allsky2 indiserver[614]: 2024-01-16T00:28:05: Client 0: read: Connection reset by peer
Jan 15 19:31:21 allsky2 indiserver[614]: 2024-01-16T00:31:21: Client 0: read: Connection reset by peer
Jan 15 19:37:55 allsky2 indiserver[614]: 2024-01-16T00:37:55: Client 0: read: Connection reset by peer
Jan 15 19:42:05 allsky2 indiserver[614]: 2024-01-16T00:42:05: Client 0: read: Connection reset by peer
Jan 15 19:50:37 allsky2 indiserver[614]: 2024-01-16T00:50:37: Client 0: read: Connection reset by peer
Jan 15 19:58:16 allsky2 indiserver[614]: 2024-01-16T00:58:16: Client 0: read: Connection reset by peer
Jan 15 20:04:10 allsky2 indiserver[614]: 2024-01-16T01:04:10: Client 0: read: Connection reset by peer
Jan 15 20:13:08 allsky2 indiserver[614]: 2024-01-16T01:13:08: Client 0: read: Connection reset by peer
Jan 15 20:15:59 allsky2 indiserver[614]: 2024-01-16T01:15:59: Client 0: read: Connection reset by peer
Jan 15 20:18:23 allsky2 indiserver[614]: 2024-01-16T01:18:23: Client 0: read: Connection reset by peer
maphilli14@allsky2:~ $ systemctl --user restart indiserver
maphilli14@allsky2:~ $ systemctl --user status indiserver
* indiserver.service - Indi Server
     Loaded: loaded (/home/maphilli14/.config/systemd/user/indiserver.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2024-01-15 20:20:08 EST; 1s ago
   Main PID: 5650 (indiserver)
      Tasks: 6 (limit: 3839)
        CPU: 225ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/indiserver.service
             |-5650 /usr/local/bin/indiserver -p 7624 indi_simulator_telescope indi_qhy_ccd indi_simulator_gps
             |-5651 indi_simulator_telescope
             |-5652 indi_qhy_ccd
             `-5653 indi_simulator_gps

Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: -- qhyccd.cpp param
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource()|START
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource|auto_detect_camera:false,call InitQHYCCDResourceInside
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|START
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|libusb_version 1.0.24.11584
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|libusb_init(libqhyccd_context) called...
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|numdev set to 0
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|END
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: ************************** config file path  22.2.28.14 svn: 11998  ************************************
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource|Load ini filePath = /home/maphilli14  fileName = qhyccd.ini
maphilli14@allsky2:~ $ systemctl --user status indiserver
* indiserver.service - Indi Server
     Loaded: loaded (/home/maphilli14/.config/systemd/user/indiserver.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2024-01-15 20:20:08 EST; 9s ago
   Main PID: 5650 (indiserver)
      Tasks: 6 (limit: 3839)
        CPU: 236ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/indiserver.service
             |-5650 /usr/local/bin/indiserver -p 7624 indi_simulator_telescope indi_qhy_ccd indi_simulator_gps
             |-5651 indi_simulator_telescope
             |-5652 indi_qhy_ccd
             `-5653 indi_simulator_gps

Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: -- qhyccd.cpp param
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource()|START
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource|auto_detect_camera:false,call InitQHYCCDResourceInside
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|START
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|libusb_version 1.0.24.11584
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|libusb_init(libqhyccd_context) called...
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|numdev set to 0
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|END
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: ************************** config file path  22.2.28.14 svn: 11998  ************************************
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource|Load ini filePath = /home/maphilli14  fileName = qhyccd.ini
maphilli14@allsky2:~ $ systemctl --user status indiserver
* indiserver.service - Indi Server
     Loaded: loaded (/home/maphilli14/.config/systemd/user/indiserver.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2024-01-15 20:20:08 EST; 16s ago
   Main PID: 5650 (indiserver)
      Tasks: 9 (limit: 3839)
        CPU: 310ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/indiserver.service
             |-5650 /usr/local/bin/indiserver -p 7624 indi_simulator_telescope indi_qhy_ccd indi_simulator_gps
             |-5651 indi_simulator_telescope
             |-5652 indi_qhy_ccd
             `-5653 indi_simulator_gps

Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: -- qhyccd.cpp param
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource()|START
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource|auto_detect_camera:false,call InitQHYCCDResourceInside
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|START
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|libusb_version 1.0.24.11584
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|libusb_init(libqhyccd_context) called...
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|numdev set to 0
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|END
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: ************************** config file path  22.2.28.14 svn: 11998  ************************************
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource|Load ini filePath = /home/maphilli14  fileName = qhyccd.ini
maphilli14@allsky2:~ $ systemctl --user status indiserver
* indiserver.service - Indi Server
     Loaded: loaded (/home/maphilli14/.config/systemd/user/indiserver.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2024-01-15 20:20:08 EST; 21s ago
   Main PID: 5650 (indiserver)
      Tasks: 9 (limit: 3839)
        CPU: 338ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/indiserver.service
             |-5650 /usr/local/bin/indiserver -p 7624 indi_simulator_telescope indi_qhy_ccd indi_simulator_gps
             |-5651 indi_simulator_telescope
             |-5652 indi_qhy_ccd
             `-5653 indi_simulator_gps

Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: -- qhyccd.cpp param
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource()|START
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource|auto_detect_camera:false,call InitQHYCCDResourceInside
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|START
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|libusb_version 1.0.24.11584
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|libusb_init(libqhyccd_context) called...
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|numdev set to 0
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResourceInside|END
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: ************************** config file path  22.2.28.14 svn: 11998  ************************************
Jan 15 20:20:08 allsky2 indiserver[5650]: 2024-01-16T01:20:08: Driver indi_qhy_ccd: QHYCCD|QHYCCD.CPP|InitQHYCCDResource|Load ini filePath = /home/maphilli14  fileName = qhyccd.ini
maphilli14@allsky2:~ $ systemctl --user status indi-allsky
* indi-allsky.service - Indi AllSky Service
     Loaded: loaded (/home/maphilli14/.config/systemd/user/indi-allsky.service; disabled; vendor preset: enabled)
     Active: active (running) since Mon 2024-01-15 20:18:50 EST; 1min 53s ago
TriggeredBy: * indi-allsky.timer
   Main PID: 5604 (python3)
      Tasks: 7 (limit: 3839)
        CPU: 6.208s
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/indi-allsky.service
             |-5604 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
             |-5610 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
             |-5611 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
             `-5674 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run

Jan 15 20:20:38 allsky2 python3[5604]: [INFO] MainProcess-5604/MainThread allsky._queueManualTasks() #998: Checking for manually submitted tasks
Jan 15 20:20:38 allsky2 python3[5674]: [INFO] Capture-9-5674/MainThread indi.__init__() #129: creating an instance of IndiClient
Jan 15 20:20:38 allsky2 python3[5674]: [INFO] Capture-9-5674/MainThread indi.__init__() #136: PyIndi version: 1.9.5
Jan 15 20:20:38 allsky2 python3[5674]: INDI::BaseClient::connectServer: creating new connection...
Jan 15 20:20:38 allsky2 python3[5674]: [INFO] Capture-9-5674/MainThread capture._initialize() #441: Connecting to indiserver
Jan 15 20:20:38 allsky2 python3[5674]: INDI::BaseClient::connectServer: Already connected.
Jan 15 20:20:38 allsky2 python3[5674]: [INFO] Capture-9-5674/MainThread indi.serverConnected() #347: Server connected (localhost:7624)
Jan 15 20:20:38 allsky2 python3[5674]: [INFO] Capture-9-5674/Dummy-3 indi.newDevice() #215: new device GPS Simulator
Jan 15 20:20:38 allsky2 python3[5674]: [INFO] Capture-9-5674/Dummy-3 indi.newDevice() #215: new device QHY CCD QHY5LII-M-60a7d
Jan 15 20:20:38 allsky2 python3[5674]: [INFO] Capture-9-5674/Dummy-3 indi.newDevice() #215: new device Telescope Simulator
maphilli14@allsky2:~ $
maphilli14 commented 5 months ago

no change, still 500 with full purge of all chrome params, cookies, history, etc...

maphilli14 commented 5 months ago

output from later after restart....


maphilli14@allsky2:~ $ systemctl --user status indi-allsky
* indi-allsky.service - Indi AllSky Service
     Loaded: loaded (/home/maphilli14/.config/systemd/user/indi-allsky.service; disabled; vendor preset: enabled)
     Active: active (running) since Mon 2024-01-15 20:18:50 EST; 5min ago
TriggeredBy: * indi-allsky.timer
   Main PID: 5604 (python3)
      Tasks: 7 (limit: 3839)
        CPU: 11.907s
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/indi-allsky.service
             |-5604 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
             `-5610 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run

Jan 15 20:24:43 allsky2 python3[5744]:   File "/home/maphilli14/indi-allsky/indi_allsky/camera/indi.py", line 711, in configureDevice
Jan 15 20:24:43 allsky2 python3[5744]:     self.set_switch(device, k, on_switches=v.get('on', []), off_switches=v.get('off', []))
Jan 15 20:24:43 allsky2 python3[5744]:   File "/home/maphilli14/indi-allsky/indi_allsky/camera/indi.py", line 1337, in set_switch
Jan 15 20:24:43 allsky2 python3[5744]:     self.sendNewSwitch(c)
Jan 15 20:24:43 allsky2 python3[5744]:   File "/home/maphilli14/indi-allsky/virtualenv/indi-allsky/lib/python3.9/site-packages/PyIndi.py", line 755, in sendNewSwitch
Jan 15 20:24:43 allsky2 python3[5744]:     return _PyIndi.BaseClient_sendNewSwitch(self, *args)
Jan 15 20:24:43 allsky2 python3[5744]: TypeError: Wrong number or type of arguments for overloaded function 'BaseClient_sendNewSwitch'.
Jan 15 20:24:43 allsky2 python3[5744]:   Possible C/C++ prototypes are:
Jan 15 20:24:43 allsky2 python3[5744]:     INDI::BaseClient::sendNewSwitch(ISwitchVectorProperty *)
Jan 15 20:24:43 allsky2 python3[5744]:     INDI::BaseClient::sendNewSwitch(char const *,char const *,char const *)
maphilli14@allsky2:~ $
aaronwmorris commented 5 months ago

Can you send the output of ./misc/support_info.sh?

maphilli14 commented 5 months ago
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.133.1-microsoft-standard-WSL2 x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

This message is shown once a day. To disable it please create the
/home/maphilli14/.hushlogin file.
maphilli14@Libra:~$ ssh allsky
Linux allsky2 5.15.76-v7l+ #1597 SMP Fri Nov 4 12:14:58 GMT 2022 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jan 15 16:32:19 2024 from 192.168.43.55
maphilli14@allsky2:~ $ cat indi-allsky/misc/support_info.sh
#!/bin/bash

#set -x  # command tracing
set -o errexit
set -o nounset

PATH=/usr/local/bin:/usr/bin:/bin
export PATH

function catch_error() {
    echo
    echo
    echo "###############"
    echo "###  ERROR  ###"
    echo "###############"
    echo
    echo "The script exited abnormally, please try to run again..."
    echo
    echo
    exit 1
}
trap catch_error ERR

function catch_sigint() {
    echo
    echo
    echo "###############"
    echo "###  ERROR  ###"
    echo "###############"
    echo
    echo "The script was interrupted, please run the script again to finish..."
    echo
    echo
    exit 1
}
trap catch_sigint SIGINT

DISTRO_NAME=$(lsb_release -s -i)
DISTRO_RELEASE=$(lsb_release -s -r)
CPU_ARCH=$(uname -m)
CPU_BITS=$(getconf LONG_BIT)
CPU_TOTAL=$(grep -c "^proc" /proc/cpuinfo)
MEM_TOTAL=$(grep MemTotal /proc/meminfo | awk "{print \$2}")

if [ -f "/proc/device-tree/model" ]; then
    SYSTEM_MODEL=$(cat /proc/device-tree/model)
else
    SYSTEM_MODEL="Generic PC"
fi

if which indiserver >/dev/null 2>&1; then
    INDISERVER=$(which indiserver)
else
    INDISERVER="not found"
fi

SCRIPT_DIR=$(dirname "$0")
cd "$SCRIPT_DIR/.."
ALLSKY_DIRECTORY=$PWD
cd "$OLDPWD"

echo "#################################"
echo "### indi-allsky support info  ###"
echo "#################################"

sleep 3

echo
echo "Distribution: $DISTRO_NAME"
echo "Release: $DISTRO_RELEASE"
echo "Arch: $CPU_ARCH"
echo "Bits: $CPU_BITS"
echo
echo "CPUs: $CPU_TOTAL"
echo "Memory: $MEM_TOTAL kB"
echo
echo "System: $SYSTEM_MODEL"
echo
echo "Uptime"
uptime
echo
echo "Filesystems"
df -k
echo
echo "system python: $(python3 -V)"
echo
echo "indiserver: $INDISERVER"
echo

if [ -f "/etc/astroberry.version" ]; then
    echo "Detected Astroberry server"
    echo
fi

echo
echo "User info"
id
echo

echo "Process info"
# shellcheck disable=SC2009
ps auxwww | grep indi | grep -v grep || true
echo

echo "USB info"
lsusb
echo

echo "USB Permissions"
find /dev/bus/usb -ls
echo

echo "Module info"
lsmod
echo

echo "git status"
git status | head -n 100
echo

echo "git log"
git log -n 1 | head -n 100
echo

if pkg-config --exists libindi; then
    DETECTED_INDIVERSION=$(pkg-config --modversion libindi)
    echo "indi version: $DETECTED_INDIVERSION"
    echo
else
    echo "indi version: not detected"
    echo
fi

echo "indi packages"
dpkg -l | grep libindi || true
echo

if which indi_getprop >/dev/null 2>&1; then
    echo "Detected indi properties"
    indi_getprop -v 2>&1 || true
    echo
fi

if pkg-config --exists libcamera; then
    DETECTED_LIBCAMERA=$(pkg-config --modversion libcamera)
    echo "libcamera version: $DETECTED_LIBCAMERA"
    echo
else
    echo "libcamera: not detected"
    echo
fi

echo "libcamera packages"
dpkg -l | grep libcamera || true
echo

echo "libcamera cameras"
if which rpicam-hello >/dev/null 2>&1; then
    echo "rpicam-hello: $(which rpicam-hello)"
    rpicam-hello --list-cameras || true
    echo
elif which libcamera-hello >/dev/null 2>&1; then
    echo "libcamera-hello: $(which libcamera-hello)"
    libcamera-hello --list-cameras || true
    echo
else
    echo "libcamera-hello not available"
    echo
fi

echo "python packages"
dpkg -l | grep python || true
echo

if [ -d "${ALLSKY_DIRECTORY}/virtualenv/indi-allsky" ]; then
    echo "Detected indi-allsky virtualenv"

    # shellcheck source=/dev/null
    source "${ALLSKY_DIRECTORY}/virtualenv/indi-allsky/bin/activate"
    echo "virtualenv python: $(python3 -V)"
    echo "virtualenv PATH: $PATH"

    if which flask >/dev/null 2>&1; then
        echo "flask command: $(which flask)"
    else
        echo "flask: not found"
    fi

    echo
    echo "virtualenv python modules"
    pip freeze
    deactivate
    echo
else
    echo "indi-allsky virtualenv is not created"
    echo
fi

echo "#################################"
echo "###     end support info      ###"
echo "#################################"
maphilli14@allsky2:~ $ indi-allsky/misc/support_info.sh
indi-allsky/misc/support_info.sh: line 49: warning: command substitution: ignored null byte in input
#################################
### indi-allsky support info  ###
#################################

Distribution: Raspbian
Release: 11
Arch: armv7l
Bits: 32

CPUs: 4
Memory: 1968020 kB

System: Raspberry Pi 4 Model B Rev 1.1

Uptime
 22:50:23 up  6:18,  3 users,  load average: 0.13, 0.11, 0.04

Filesystems
Filesystem     1K-blocks      Used Available Use% Mounted on
/dev/root      245900964 117984404 117873088  51% /
devtmpfs          819144         0    819144   0% /dev
tmpfs             984008       168    983840   1% /dev/shm
tmpfs             393604      1168    392436   1% /run
tmpfs               5120         4      5116   1% /run/lock
/dev/mmcblk0p1    258095     50755    207340  20% /boot
tmpfs             196800        24    196776   1% /run/user/1000

system python: Python 3.9.2

indiserver: /usr/local/bin/indiserver

User info
uid=1000(maphilli14) gid=1000(maphilli14) groups=1000(maphilli14),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),101(systemd-journal),104(input),106(render),108(netdev),117(lpadmin),997(gpio),998(i2c),999(spi)

Process info
maphill+   733  0.0  0.7  19088 14216 ?        SNs  16:31   0:05 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/python3 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/gunicorn --config /etc/indi-allsky/gunicorn.conf.py indi_allsky.wsgi
maphill+  3693  0.1  4.2 385556 83204 ?        SNLl 18:34   0:27 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/python3 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/gunicorn --config /etc/indi-allsky/gunicorn.conf.py indi_allsky.wsgi
maphill+  5604  0.5  4.7 380304 92588 ?        SNLsl 20:18   0:54 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
maphill+  5610  0.0  2.6 369864 52688 ?        S    20:18   0:00 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
maphill+  5650  0.2  0.1   2568  2020 ?        Ss   20:20   0:20 /usr/local/bin/indiserver -p 7624 indi_simulator_telescope indi_qhy_ccd indi_simulator_gps
maphill+  5651  0.1  0.4  32488  9764 ?        S    20:20   0:09 indi_simulator_telescope
maphill+  5652  0.1  0.5 104700 11608 ?        Sl   20:20   0:10 indi_qhy_ccd
maphill+  5653  0.0  0.3  31656  7280 ?        S    20:20   0:00 indi_simulator_gps
maphill+  7900  0.0  2.7 380304 54948 ?        SN   22:25   0:00 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
maphill+  8383  0.8  3.2 380436 64280 ?        SNl  22:50   0:00 /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/python3 allsky.py --log syslog run
maphill+  8385  1.0  0.1   3676  2800 pts/0    S+   22:50   0:00 /bin/bash indi-allsky/misc/support_info.sh

USB info
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 1618:0921 QHY-CCD   QHY5-II
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

USB Permissions
      122      0 drwxr-xr-x   4 root     root           80 Dec 31  1969 /dev/bus/usb
      125      0 drwxr-xr-x   2 root     root           60 Dec 31  1969 /dev/bus/usb/002
      126      0 crw-rw-r--   1 root     root     189, 128 Jan 15 16:31 /dev/bus/usb/002/001
      123      0 drwxr-xr-x   2 root     root          100 Jan 15 16:31 /dev/bus/usb/001
      395      0 crw-rw-rw-   1 root     root     189,   3 Jan 15 20:20 /dev/bus/usb/001/004
      136      0 crw-rw-r--   1 root     root     189,   1 Jan 15 16:31 /dev/bus/usb/001/002
      124      0 crw-rw-r--   1 root     root     189,   0 Jan 15 16:31 /dev/bus/usb/001/001

Module info
Module                  Size  Used by
rfcomm                 49152  4
cmac                   16384  2
algif_hash             16384  1
aes_arm_bs             24576  2
crypto_simd            16384  1 aes_arm_bs
cryptd                 24576  2 crypto_simd
algif_skcipher         16384  1
af_alg                 28672  6 algif_hash,algif_skcipher
bnep                   20480  2
hci_uart               40960  1
btbcm                  20480  1 hci_uart
bluetooth             409600  31 hci_uart,bnep,btbcm,rfcomm
ecdh_generic           16384  1 bluetooth
ecc                    40960  1 ecdh_generic
brcmfmac              335872  0
brcmutil               20480  1 brcmfmac
cfg80211              765952  1 brcmfmac
v3d                    77824  9
gpu_sched              45056  1 v3d
rfkill                 32768  6 bluetooth,cfg80211
pwm_raspberrypi_poe    16384  1
raspberrypi_hwmon      16384  0
vc4                   294912  12
i2c_brcmstb            16384  0
snd_soc_hdmi_codec     20480  2
cec                    49152  1 vc4
bcm2835_isp            32768  0
drm_kms_helper        274432  2 vc4
bcm2835_codec          45056  0
bcm2835_v4l2           45056  0
rpivid_hevc            45056  0
bcm2835_mmal_vchiq     32768  3 bcm2835_isp,bcm2835_codec,bcm2835_v4l2
v4l2_mem2mem           36864  2 rpivid_hevc,bcm2835_codec
videobuf2_dma_contig    20480  3 rpivid_hevc,bcm2835_isp,bcm2835_codec
snd_soc_core          233472  2 vc4,snd_soc_hdmi_codec
videobuf2_vmalloc      16384  1 bcm2835_v4l2
videobuf2_memops       16384  2 videobuf2_dma_contig,videobuf2_vmalloc
videobuf2_v4l2         32768  5 rpivid_hevc,bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
videobuf2_common       65536  9 rpivid_hevc,bcm2835_isp,bcm2835_codec,videobuf2_dma_contig,videobuf2_vmalloc,videobuf2_memops,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
vc_sm_cma              32768  2 bcm2835_isp,bcm2835_mmal_vchiq
snd_bcm2835            24576  1
videodev              245760  7 rpivid_hevc,bcm2835_isp,bcm2835_codec,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
snd_compress           20480  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_pcm               114688  5 snd_compress,snd_pcm_dmaengine,snd_soc_hdmi_codec,snd_bcm2835,snd_soc_core
mc                     49152  7 rpivid_hevc,bcm2835_isp,bcm2835_codec,videobuf2_common,videodev,v4l2_mem2mem,videobuf2_v4l2
snd_timer              32768  1 snd_pcm
snd                    86016  8 snd_compress,snd_soc_hdmi_codec,snd_timer,snd_bcm2835,snd_soc_core,snd_pcm
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
rpi_poe_power          16384  0
pwm_fan                16384  0
uio_pdrv_genirq        16384  0
nvmem_rmem             16384  0
uio                    20480  1 uio_pdrv_genirq
drm                   540672  16 v3d,vc4,gpu_sched,drm_kms_helper
i2c_dev                20480  0
fuse                  131072  3
drm_panel_orientation_quirks    16384  1 drm
backlight              20480  2 drm_kms_helper,drm
ip_tables              28672  0
x_tables               32768  1 ip_tables
ipv6                  524288  55

git status
fatal: not a git repository (or any of the parent directories): .git

git log
fatal: not a git repository (or any of the parent directories): .git

indi version: 1.9.5

indi packages

Detected indi properties
looking for *.*.*
Connected to localhost on port 7624
Queried properties from *
GPS Simulator.CONNECTION.CONNECT=Off
GPS Simulator.CONNECTION.DISCONNECT=On
GPS Simulator.DRIVER_INFO.DRIVER_NAME=GPS Simulator
GPS Simulator.DRIVER_INFO.DRIVER_EXEC=indi_simulator_gps
GPS Simulator.DRIVER_INFO.DRIVER_VERSION=1.0
GPS Simulator.DRIVER_INFO.DRIVER_INTERFACE=64
GPS Simulator.CONFIG_PROCESS.CONFIG_LOAD=Off
GPS Simulator.CONFIG_PROCESS.CONFIG_SAVE=Off
GPS Simulator.CONFIG_PROCESS.CONFIG_DEFAULT=Off
GPS Simulator.CONFIG_PROCESS.CONFIG_PURGE=Off
QHY CCD QHY5LII-M-60a7d.CONNECTION.CONNECT=On
QHY CCD QHY5LII-M-60a7d.CONNECTION.DISCONNECT=Off
QHY CCD QHY5LII-M-60a7d.DRIVER_INFO.DRIVER_NAME=QHY CCD
QHY CCD QHY5LII-M-60a7d.DRIVER_INFO.DRIVER_EXEC=indi_qhy_ccd
QHY CCD QHY5LII-M-60a7d.DRIVER_INFO.DRIVER_VERSION=2.8
QHY CCD QHY5LII-M-60a7d.DRIVER_INFO.DRIVER_INTERFACE=6
QHY CCD QHY5LII-M-60a7d.POLLING_PERIOD.PERIOD_MS=1000
QHY CCD QHY5LII-M-60a7d.DEBUG.ENABLE=Off
QHY CCD QHY5LII-M-60a7d.DEBUG.DISABLE=On
QHY CCD QHY5LII-M-60a7d.SIMULATION.ENABLE=Off
QHY CCD QHY5LII-M-60a7d.SIMULATION.DISABLE=On
QHY CCD QHY5LII-M-60a7d.CONFIG_PROCESS.CONFIG_LOAD=Off
QHY CCD QHY5LII-M-60a7d.CONFIG_PROCESS.CONFIG_SAVE=Off
QHY CCD QHY5LII-M-60a7d.CONFIG_PROCESS.CONFIG_DEFAULT=Off
QHY CCD QHY5LII-M-60a7d.CONFIG_PROCESS.CONFIG_PURGE=Off
QHY CCD QHY5LII-M-60a7d.ACTIVE_DEVICES.ACTIVE_TELESCOPE=Telescope Simulator
QHY CCD QHY5LII-M-60a7d.ACTIVE_DEVICES.ACTIVE_ROTATOR=Rotator Simulator
QHY CCD QHY5LII-M-60a7d.ACTIVE_DEVICES.ACTIVE_FOCUSER=Focuser Simulator
QHY CCD QHY5LII-M-60a7d.ACTIVE_DEVICES.ACTIVE_FILTER=CCD Simulator
QHY CCD QHY5LII-M-60a7d.ACTIVE_DEVICES.ACTIVE_SKYQUALITY=SQM
QHY CCD QHY5LII-M-60a7d.CCD_EXPOSURE.CCD_EXPOSURE_VALUE=1
QHY CCD QHY5LII-M-60a7d.CCD_ABORT_EXPOSURE.ABORT=Off
QHY CCD QHY5LII-M-60a7d.CCD_FRAME.X=0
QHY CCD QHY5LII-M-60a7d.CCD_FRAME.Y=0
QHY CCD QHY5LII-M-60a7d.CCD_FRAME.WIDTH=1280
QHY CCD QHY5LII-M-60a7d.CCD_FRAME.HEIGHT=960
QHY CCD QHY5LII-M-60a7d.CCD_FRAME_RESET is write-only
QHY CCD QHY5LII-M-60a7d.CCD_BINNING.HOR_BIN=1
QHY CCD QHY5LII-M-60a7d.CCD_BINNING.VER_BIN=1
QHY CCD QHY5LII-M-60a7d.FITS_HEADER.FITS_OBSERVER=Unknown
QHY CCD QHY5LII-M-60a7d.FITS_HEADER.FITS_OBJECT=Unknown
QHY CCD QHY5LII-M-60a7d.CCD_CAPTURE_FORMAT.INDI_MONO=Off
QHY CCD QHY5LII-M-60a7d.CCD_TRANSFER_FORMAT.FORMAT_FITS=On
QHY CCD QHY5LII-M-60a7d.CCD_TRANSFER_FORMAT.FORMAT_NATIVE=Off
QHY CCD QHY5LII-M-60a7d.CCD_INFO.CCD_MAX_X=1280
QHY CCD QHY5LII-M-60a7d.CCD_INFO.CCD_MAX_Y=960
QHY CCD QHY5LII-M-60a7d.CCD_INFO.CCD_PIXEL_SIZE=3.75
QHY CCD QHY5LII-M-60a7d.CCD_INFO.CCD_PIXEL_SIZE_X=3.75
QHY CCD QHY5LII-M-60a7d.CCD_INFO.CCD_PIXEL_SIZE_Y=3.75
QHY CCD QHY5LII-M-60a7d.CCD_INFO.CCD_BITSPERPIXEL=8
QHY CCD QHY5LII-M-60a7d.CCD_COMPRESSION.INDI_ENABLED=Off
QHY CCD QHY5LII-M-60a7d.CCD_COMPRESSION.INDI_DISABLED=On
sending enableBLOB QHY CCD QHY5LII-M-60a7d.CCD1
QHY CCD QHY5LII-M-60a7d.TELESCOPE_TIMED_GUIDE_NS.TIMED_GUIDE_N=0
QHY CCD QHY5LII-M-60a7d.TELESCOPE_TIMED_GUIDE_NS.TIMED_GUIDE_S=0
QHY CCD QHY5LII-M-60a7d.TELESCOPE_TIMED_GUIDE_WE.TIMED_GUIDE_W=0
QHY CCD QHY5LII-M-60a7d.TELESCOPE_TIMED_GUIDE_WE.TIMED_GUIDE_E=0
QHY CCD QHY5LII-M-60a7d.CCD_FRAME_TYPE.FRAME_LIGHT=On
QHY CCD QHY5LII-M-60a7d.CCD_FRAME_TYPE.FRAME_BIAS=Off
QHY CCD QHY5LII-M-60a7d.CCD_FRAME_TYPE.FRAME_DARK=Off
QHY CCD QHY5LII-M-60a7d.CCD_FRAME_TYPE.FRAME_FLAT=Off
QHY CCD QHY5LII-M-60a7d.TELESCOPE_TYPE.TELESCOPE_PRIMARY=On
QHY CCD QHY5LII-M-60a7d.TELESCOPE_TYPE.TELESCOPE_GUIDE=Off
QHY CCD QHY5LII-M-60a7d.WCS_CONTROL.WCS_ENABLE=Off
QHY CCD QHY5LII-M-60a7d.WCS_CONTROL.WCS_DISABLE=On
QHY CCD QHY5LII-M-60a7d.UPLOAD_MODE.UPLOAD_CLIENT=On
QHY CCD QHY5LII-M-60a7d.UPLOAD_MODE.UPLOAD_LOCAL=Off
QHY CCD QHY5LII-M-60a7d.UPLOAD_MODE.UPLOAD_BOTH=Off
QHY CCD QHY5LII-M-60a7d.UPLOAD_SETTINGS.UPLOAD_DIR=/home/maphilli14
QHY CCD QHY5LII-M-60a7d.UPLOAD_SETTINGS.UPLOAD_PREFIX=IMAGE_XXX
QHY CCD QHY5LII-M-60a7d.CCD_FAST_TOGGLE.INDI_ENABLED=Off
QHY CCD QHY5LII-M-60a7d.CCD_FAST_TOGGLE.INDI_DISABLED=On
QHY CCD QHY5LII-M-60a7d.CCD_FAST_COUNT.FRAMES=1
QHY CCD QHY5LII-M-60a7d.CCD_VIDEO_STREAM.STREAM_ON=Off
QHY CCD QHY5LII-M-60a7d.CCD_VIDEO_STREAM.STREAM_OFF=On
QHY CCD QHY5LII-M-60a7d.STREAM_DELAY.STREAM_DELAY_TIME=0
QHY CCD QHY5LII-M-60a7d.STREAMING_EXPOSURE.STREAMING_EXPOSURE_VALUE=0.10000000000000000555
QHY CCD QHY5LII-M-60a7d.STREAMING_EXPOSURE.STREAMING_DIVISOR_VALUE=1
QHY CCD QHY5LII-M-60a7d.FPS.EST_FPS=30
QHY CCD QHY5LII-M-60a7d.FPS.AVG_FPS=30
QHY CCD QHY5LII-M-60a7d.RECORD_STREAM.RECORD_ON=Off
QHY CCD QHY5LII-M-60a7d.RECORD_STREAM.RECORD_DURATION_ON=Off
QHY CCD QHY5LII-M-60a7d.RECORD_STREAM.RECORD_FRAME_ON=Off
QHY CCD QHY5LII-M-60a7d.RECORD_STREAM.RECORD_OFF=On
QHY CCD QHY5LII-M-60a7d.RECORD_FILE.RECORD_FILE_DIR=/home/maphilli14/indi__D_
QHY CCD QHY5LII-M-60a7d.RECORD_FILE.RECORD_FILE_NAME=indi_record__T_
QHY CCD QHY5LII-M-60a7d.RECORD_OPTIONS.RECORD_DURATION=1
QHY CCD QHY5LII-M-60a7d.RECORD_OPTIONS.RECORD_FRAME_TOTAL=30
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_FRAME.X=0
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_FRAME.Y=0
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_FRAME.WIDTH=1280
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_FRAME.HEIGHT=960
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_ENCODER.RAW=On
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_ENCODER.MJPEG=Off
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_RECORDER.SER=On
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_RECORDER.OGV=Off
QHY CCD QHY5LII-M-60a7d.LIMITS.LIMITS_BUFFER_MAX=512
QHY CCD QHY5LII-M-60a7d.LIMITS.LIMITS_PREVIEW_FPS=10
QHY CCD QHY5LII-M-60a7d.USB_SPEED.SPEED=0
QHY CCD QHY5LII-M-60a7d.CCD_GAIN.GAIN=1
QHY CCD QHY5LII-M-60a7d.CCD_OFFSET.OFFSET=180
QHY CCD QHY5LII-M-60a7d.USB_TRAFFIC.TRAFFIC=30
QHY CCD QHY5LII-M-60a7d.USB_BUFFER.BUFFER=512
QHY CCD QHY5LII-M-60a7d.SDK_VERSION.VERSION=22.2.28
QHY CCD QHY5LII-M-60a7d.ACTIVE_DEVICES.ACTIVE_TELESCOPE=Telescope Simulator
QHY CCD QHY5LII-M-60a7d.ACTIVE_DEVICES.ACTIVE_ROTATOR=Rotator Simulator
QHY CCD QHY5LII-M-60a7d.ACTIVE_DEVICES.ACTIVE_FOCUSER=Focuser Simulator
QHY CCD QHY5LII-M-60a7d.ACTIVE_DEVICES.ACTIVE_FILTER=CCD Simulator
QHY CCD QHY5LII-M-60a7d.ACTIVE_DEVICES.ACTIVE_SKYQUALITY=SQM
Telescope Simulator.CONNECTION.CONNECT=On
Telescope Simulator.CONNECTION.DISCONNECT=Off
Telescope Simulator.DRIVER_INFO.DRIVER_NAME=Telescope Simulator
Telescope Simulator.DRIVER_INFO.DRIVER_EXEC=indi_simulator_telescope
Telescope Simulator.DRIVER_INFO.DRIVER_VERSION=1.0
Telescope Simulator.DRIVER_INFO.DRIVER_INTERFACE=5
Telescope Simulator.POLLING_PERIOD.PERIOD_MS=250
Telescope Simulator.DEBUG.ENABLE=Off
Telescope Simulator.DEBUG.DISABLE=On
Telescope Simulator.CONFIG_PROCESS.CONFIG_LOAD=Off
Telescope Simulator.CONFIG_PROCESS.CONFIG_SAVE=Off
Telescope Simulator.CONFIG_PROCESS.CONFIG_DEFAULT=Off
Telescope Simulator.CONFIG_PROCESS.CONFIG_PURGE=Off
Telescope Simulator.CONNECTION_MODE.CONNECTION_SERIAL=On
Telescope Simulator.CONNECTION_MODE.CONNECTION_TCP=Off
Telescope Simulator.DEVICE_PORT.PORT=/dev/ttyUSB0
Telescope Simulator.DEVICE_BAUD_RATE.9600=On
Telescope Simulator.DEVICE_BAUD_RATE.19200=Off
Telescope Simulator.DEVICE_BAUD_RATE.38400=Off
Telescope Simulator.DEVICE_BAUD_RATE.57600=Off
Telescope Simulator.DEVICE_BAUD_RATE.115200=Off
Telescope Simulator.DEVICE_BAUD_RATE.230400=Off
Telescope Simulator.DEVICE_AUTO_SEARCH.INDI_ENABLED=On
Telescope Simulator.DEVICE_AUTO_SEARCH.INDI_DISABLED=Off
Telescope Simulator.DEVICE_PORT_SCAN.Scan Ports=Off
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_GPS=GPS Simulator
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_DOME=Dome Simulator
Telescope Simulator.DOME_POLICY.DOME_IGNORED=On
Telescope Simulator.DOME_POLICY.DOME_LOCKS=Off
Telescope Simulator.TELESCOPE_INFO.TELESCOPE_APERTURE=120
Telescope Simulator.TELESCOPE_INFO.TELESCOPE_FOCAL_LENGTH=900
Telescope Simulator.TELESCOPE_INFO.GUIDER_APERTURE=120
Telescope Simulator.TELESCOPE_INFO.GUIDER_FOCAL_LENGTH=900
Telescope Simulator.SCOPE_CONFIG_NAME.SCOPE_CONFIG_NAME=
Telescope Simulator.MOUNT_TYPE is write-only
Telescope Simulator.SIM_PIER_SIDE is write-only
Telescope Simulator.MOUNT_MODEL is write-only
Telescope Simulator.MOUNT_AXES.PRIMARY=90
Telescope Simulator.MOUNT_AXES.SECONDARY=90
Telescope Simulator.FLIP_HA is write-only
Telescope Simulator.ON_COORD_SET.TRACK=On
Telescope Simulator.ON_COORD_SET.SLEW=Off
Telescope Simulator.ON_COORD_SET.SYNC=Off
Telescope Simulator.EQUATORIAL_EOD_COORD.RA=5.5127937034503133873
Telescope Simulator.EQUATORIAL_EOD_COORD.DEC=90
Telescope Simulator.TELESCOPE_ABORT_MOTION.ABORT=Off
Telescope Simulator.TELESCOPE_TRACK_MODE.TRACK_SIDEREAL=On
Telescope Simulator.TELESCOPE_TRACK_MODE.TRACK_SOLAR=Off
Telescope Simulator.TELESCOPE_TRACK_MODE.TRACK_LUNAR=Off
Telescope Simulator.TELESCOPE_TRACK_MODE.TRACK_CUSTOM=Off
Telescope Simulator.TELESCOPE_TRACK_STATE.TRACK_ON=Off
Telescope Simulator.TELESCOPE_TRACK_STATE.TRACK_OFF=On
Telescope Simulator.TELESCOPE_TRACK_RATE.TRACK_RATE_RA=15.04106717867020393
Telescope Simulator.TELESCOPE_TRACK_RATE.TRACK_RATE_DE=0
Telescope Simulator.TELESCOPE_MOTION_NS.MOTION_NORTH=Off
Telescope Simulator.TELESCOPE_MOTION_NS.MOTION_SOUTH=Off
Telescope Simulator.TELESCOPE_MOTION_WE.MOTION_WEST=Off
Telescope Simulator.TELESCOPE_MOTION_WE.MOTION_EAST=Off
Telescope Simulator.TELESCOPE_SLEW_RATE.1x=Off
Telescope Simulator.TELESCOPE_SLEW_RATE.2x=Off
Telescope Simulator.TELESCOPE_SLEW_RATE.3x=On
Telescope Simulator.TELESCOPE_SLEW_RATE.4x=Off
Telescope Simulator.TARGET_EOD_COORD.RA=0
Telescope Simulator.TARGET_EOD_COORD.DEC=0
Telescope Simulator.TIME_UTC.UTC=2024-01-16T01:20:20
Telescope Simulator.TIME_UTC.OFFSET=-5.00
Telescope Simulator.GEOGRAPHIC_COORD.LAT=0
Telescope Simulator.GEOGRAPHIC_COORD.LONG=0
Telescope Simulator.GEOGRAPHIC_COORD.ELEV=0
Telescope Simulator.TELESCOPE_PARK.PARK=Off
Telescope Simulator.TELESCOPE_PARK.UNPARK=On
Telescope Simulator.TELESCOPE_PARK_POSITION.PARK_HA=-6
Telescope Simulator.TELESCOPE_PARK_POSITION.PARK_DEC=0
Telescope Simulator.TELESCOPE_PARK_OPTION.PARK_CURRENT=Off
Telescope Simulator.TELESCOPE_PARK_OPTION.PARK_DEFAULT=Off
Telescope Simulator.TELESCOPE_PARK_OPTION.PARK_WRITE_DATA=Off
Telescope Simulator.TELESCOPE_PARK_OPTION.PARK_PURGE_DATA=Off
Telescope Simulator.TELESCOPE_PIER_SIDE.PIER_WEST=Off
Telescope Simulator.TELESCOPE_PIER_SIDE.PIER_EAST=On
Telescope Simulator.APPLY_SCOPE_CONFIG.SCOPE_CONFIG1=On
Telescope Simulator.APPLY_SCOPE_CONFIG.SCOPE_CONFIG2=Off
Telescope Simulator.APPLY_SCOPE_CONFIG.SCOPE_CONFIG3=Off
Telescope Simulator.APPLY_SCOPE_CONFIG.SCOPE_CONFIG4=Off
Telescope Simulator.APPLY_SCOPE_CONFIG.SCOPE_CONFIG5=Off
Telescope Simulator.APPLY_SCOPE_CONFIG.SCOPE_CONFIG6=Off
Telescope Simulator.USEJOYSTICK.ENABLE=Off
Telescope Simulator.USEJOYSTICK.DISABLE=On
Telescope Simulator.SNOOP_JOYSTICK.SNOOP_JOYSTICK_DEVICE=Joystick
Telescope Simulator.TELESCOPE_TIMED_GUIDE_NS.TIMED_GUIDE_N=0
Telescope Simulator.TELESCOPE_TIMED_GUIDE_NS.TIMED_GUIDE_S=0
Telescope Simulator.TELESCOPE_TIMED_GUIDE_WE.TIMED_GUIDE_W=0
Telescope Simulator.TELESCOPE_TIMED_GUIDE_WE.TIMED_GUIDE_E=0
Telescope Simulator.GUIDE_RATE.GUIDE_RATE_WE=0.5
Telescope Simulator.GUIDE_RATE.GUIDE_RATE_NS=0.5
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_GPS=GPS Simulator
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_DOME=Dome Simulator
Telescope Simulator.DOME_POLICY.DOME_IGNORED=On
Telescope Simulator.DOME_POLICY.DOME_LOCKS=Off
Telescope Simulator.TELESCOPE_INFO.TELESCOPE_APERTURE=120
Telescope Simulator.TELESCOPE_INFO.TELESCOPE_FOCAL_LENGTH=900
Telescope Simulator.TELESCOPE_INFO.GUIDER_APERTURE=120
Telescope Simulator.TELESCOPE_INFO.GUIDER_FOCAL_LENGTH=900
Telescope Simulator.SCOPE_CONFIG_NAME.SCOPE_CONFIG_NAME=
Telescope Simulator.USEJOYSTICK.ENABLE=Off
Telescope Simulator.USEJOYSTICK.DISABLE=On
Telescope Simulator.SNOOP_JOYSTICK.SNOOP_JOYSTICK_DEVICE=Joystick
Telescope Simulator.MOUNT_TYPE is write-only
Telescope Simulator.SIM_PIER_SIDE is write-only
Telescope Simulator.MOUNT_MODEL is write-only
Telescope Simulator.MOUNT_AXES.PRIMARY=90
Telescope Simulator.MOUNT_AXES.SECONDARY=90
Telescope Simulator.FLIP_HA is write-only
QHY CCD QHY5LII-M-60a7d.CCD_VIDEO_STREAM.STREAM_ON=Off
QHY CCD QHY5LII-M-60a7d.CCD_VIDEO_STREAM.STREAM_OFF=On
QHY CCD QHY5LII-M-60a7d.STREAMING_EXPOSURE.STREAMING_EXPOSURE_VALUE=0.10000000000000000555
QHY CCD QHY5LII-M-60a7d.STREAMING_EXPOSURE.STREAMING_DIVISOR_VALUE=1
QHY CCD QHY5LII-M-60a7d.FPS.EST_FPS=30
QHY CCD QHY5LII-M-60a7d.FPS.AVG_FPS=30
QHY CCD QHY5LII-M-60a7d.RECORD_STREAM.RECORD_ON=Off
QHY CCD QHY5LII-M-60a7d.RECORD_STREAM.RECORD_DURATION_ON=Off
QHY CCD QHY5LII-M-60a7d.RECORD_STREAM.RECORD_FRAME_ON=Off
QHY CCD QHY5LII-M-60a7d.RECORD_STREAM.RECORD_OFF=On
QHY CCD QHY5LII-M-60a7d.RECORD_FILE.RECORD_FILE_DIR=/home/maphilli14/indi__D_
QHY CCD QHY5LII-M-60a7d.RECORD_FILE.RECORD_FILE_NAME=indi_record__T_
QHY CCD QHY5LII-M-60a7d.RECORD_OPTIONS.RECORD_DURATION=1
QHY CCD QHY5LII-M-60a7d.RECORD_OPTIONS.RECORD_FRAME_TOTAL=30
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_FRAME.X=0
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_FRAME.Y=0
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_FRAME.WIDTH=1280
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_FRAME.HEIGHT=960
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_ENCODER.RAW=On
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_ENCODER.MJPEG=Off
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_RECORDER.SER=On
QHY CCD QHY5LII-M-60a7d.CCD_STREAM_RECORDER.OGV=Off
QHY CCD QHY5LII-M-60a7d.LIMITS.LIMITS_BUFFER_MAX=512
QHY CCD QHY5LII-M-60a7d.LIMITS.LIMITS_PREVIEW_FPS=10
QHY CCD QHY5LII-M-60a7d.USB_SPEED.SPEED=0
QHY CCD QHY5LII-M-60a7d.CCD_GAIN.GAIN=1
QHY CCD QHY5LII-M-60a7d.CCD_OFFSET.OFFSET=180
QHY CCD QHY5LII-M-60a7d.USB_TRAFFIC.TRAFFIC=30
QHY CCD QHY5LII-M-60a7d.USB_BUFFER.BUFFER=512
QHY CCD QHY5LII-M-60a7d.SDK_VERSION.VERSION=22.2.28
Telescope Simulator.EQUATORIAL_EOD_COORD.RA=5.5127937034503133873
Telescope Simulator.EQUATORIAL_EOD_COORD.DEC=90
Telescope Simulator.TELESCOPE_INFO.TELESCOPE_APERTURE=120
Telescope Simulator.TELESCOPE_INFO.TELESCOPE_FOCAL_LENGTH=900
Telescope Simulator.TELESCOPE_INFO.GUIDER_APERTURE=120
Telescope Simulator.TELESCOPE_INFO.GUIDER_FOCAL_LENGTH=900
Telescope Simulator.GEOGRAPHIC_COORD.LAT=0
Telescope Simulator.GEOGRAPHIC_COORD.LONG=0
Telescope Simulator.GEOGRAPHIC_COORD.ELEV=0

libcamera: not detected

libcamera packages
ii  libcamera-apps                       0~git20221201+9c5d319-1          armhf        libcamera-apps
ii  libcamera-tools                      0~git20221130+0684c373-1         armhf        complex camera support library (tools)
ii  libcamera0:armhf                     0~git20221130+0684c373-1         armhf        complex camera support library

libcamera cameras
libcamera-hello: /usr/bin/libcamera-hello
No cameras available!

python packages
ii  libpython3-dev:armhf                 3.9.2-3                          armhf        header files and a static library for Python (default)
ii  libpython3-stdlib:armhf              3.9.2-3                          armhf        interactive high-level object-oriented language (default python3 version)
ii  libpython3.9:armhf                   3.9.2-1+rpi1                     armhf        Shared Python runtime library (version 3.9)
ii  libpython3.9-dev:armhf               3.9.2-1+rpi1                     armhf        Header files and a static library for Python (v3.9)
ii  libpython3.9-minimal:armhf           3.9.2-1+rpi1                     armhf        Minimal subset of the Python language (version 3.9)
ii  libpython3.9-stdlib:armhf            3.9.2-1+rpi1                     armhf        Interactive high-level object-oriented language (standard library, version 3.9)
ii  python-apt-common                    2.2.1                            all          Python interface to libapt-pkg (locales)
ii  python-is-python3                    3.9.2-1                          all          symlinks /usr/bin/python to python3
ii  python-pip-whl                       20.3.4-4+rpt1+deb11u1            all          Python package installer (pip wheels)
ii  python3                              3.9.2-3                          armhf        interactive high-level object-oriented language (default python3 version)
ii  python3-appdirs                      1.4.4-1                          all          determining appropriate platform-specific directories (Python 3)
ii  python3-apt                          2.2.1                            armhf        Python 3 interface to libapt-pkg
ii  python3-astroid                      2.5.1-1                          all          rebuild a new abstract syntax tree from Python's AST (Python3)
ii  python3-asttokens                    2.0.4-1                          all          annotate Python asbtract syntax trees with code references (Python 3)
ii  python3-automationhat                0.2.0                            all          Python library for the Pimoroni Automation HAT
ii  python3-blinker                      1.4+dfsg1-0.3                    all          fast, simple object-to-object and broadcast signaling library
ii  python3-blinkt                       0.1.2                            all          Python library for the Pimoroni Blinkt!
ii  python3-bs4                          4.9.3-1                          all          error-tolerant HTML parser for Python 3
ii  python3-buttonshim                   0.0.2                            all          Python library for the Pimoroni Button SHIM
ii  python3-cairo:armhf                  1.16.2-4+b1                      armhf        Python3 bindings for the Cairo vector graphics library
ii  python3-cap1xxx                      0.1.3                            all          python library designed to drive various Microchip CAP1xxx touch ICs.
ii  python3-certifi                      2020.6.20-1                      all          root certificates for validating SSL certs and verifying TLS hosts (python3)
ii  python3-cffi-backend:armhf           1.14.5-1                         armhf        Foreign Function Interface for Python 3 calling C code - runtime
ii  python3-chardet                      4.0.0-1                          all          universal character encoding detector for Python3
ii  python3-click                        7.1.2-1                          all          Wrapper around optparse for command line utilities - Python 3.x
ii  python3-colorama                     0.4.4-1                          all          Cross-platform colored terminal text in Python - Python 3.x
ii  python3-colorzero                    1.1                              all          Construct, convert, and manipulate colors in a Pythonic manner.
ii  python3-cryptography                 3.3.2-1                          armhf        Python library exposing cryptographic recipes and primitives (Python 3)
ii  python3-cups:armhf                   2.0.1-4+b1                       armhf        Python3 bindings for CUPS
ii  python3-cupshelpers                  1.5.14-1                         all          Python utility modules around the CUPS printing system
ii  python3-dbus                         1.2.16-5                         armhf        simple interprocess messaging system (Python 3 interface)
ii  python3-debconf                      1.5.77                           all          interact with debconf from Python 3
ii  python3-dev                          3.9.2-3                          armhf        header files and a static library for Python (default)
ii  python3-distlib                      0.3.2+really+0.3.1-0.1           all          low-level components of python distutils2/packaging
ii  python3-distro                       1.5.0-1                          all          Linux OS platform information API
ii  python3-distutils                    3.9.2-1                          all          distutils package for Python 3.x
ii  python3-docutils                     0.16+dfsg-4                      all          text processing system for reStructuredText (implemented in Python 3)
ii  python3-drumhat                      0.1.0                            all          Python library for the Pimoroni Drum HAT.
ii  python3-envirophat                   1.0.0                            all          Python library for the Pimoroni Enviro pHAT.
ii  python3-explorerhat                  0.4.2                            all          python library designed to control the Explorer HAT and pHAT.
ii  python3-filelock                     3.0.12-2                         all          platform independent file locking module
ii  python3-flask                        1.1.2-2                          all          micro web framework based on Werkzeug and Jinja2 - Python 3.x
ii  python3-fourletterphat               0.1.0                            all          python library for the Pimoroni Four Letter pHAT
ii  python3-gi                           3.38.0-2                         armhf        Python 3 bindings for gobject-introspection libraries
ii  python3-gi-cairo                     3.38.0-2                         armhf        Python 3 Cairo bindings for the GObject library
ii  python3-gpiozero                     1.6.2-1                          all          Simple API for controlling devices attached to a Pi's GPIO pins.
ii  python3-html5lib                     1.1-3                            all          HTML parser/tokenizer based on the WHATWG HTML5 specification
ii  python3-idna                         2.10-1                           all          Python IDNA2008 (RFC 5891) handling (Python 3)
ii  python3-importlib-metadata           1.6.0-2                          all          library to access the metadata for a Python package - Python 3.x
ii  python3-isort                        5.6.4-1                          all          library for sorting Python imports (Python 3)
ii  python3-itsdangerous                 1.1.0-3                          all          Various helpers to pass trusted data to untrusted environment - Python 3.x
ii  python3-jedi                         0.18.0-1                         all          autocompletion tool for Python 3
ii  python3-jinja2                       2.11.3-1                         all          small but fast and easy to use stand-alone template engine
ii  python3-jwt                          1.7.1-2                          all          Python 3 implementation of JSON Web Token
ii  python3-lazy-object-proxy            1.5.2-1                          armhf        Python 3 fast and thorough lazy object proxy
ii  python3-ldb                          2:2.2.3-2~deb11u2                armhf        Python 3 bindings for LDB
ii  python3-lib2to3                      3.9.2-1                          all          Interactive high-level object-oriented language (lib2to3)
ii  python3-logilab-common               1.8.1-1                          all          useful miscellaneous modules used by Logilab projects (Python3)
ii  python3-lxml:armhf                   4.6.3+dfsg-0.1+deb11u1           armhf        pythonic binding for the libxml2 and libxslt libraries
ii  python3-markupsafe                   1.1.1-1+b1                       armhf        HTML/XHTML/XML string library for Python 3
ii  python3-mccabe                       0.6.1-3                          all          Python code complexity checker (Python 3)
ii  python3-microdotphat                 0.2.1                            all          Python library for the Pimoroni Micro Dot pHAT.
ii  python3-minimal                      3.9.2-3                          armhf        minimal subset of the Python language (default python3 version)
ii  python3-more-itertools               4.2.0-3                          all          library with routines for operating on iterables, beyond itertools (Python 3)
ii  python3-mote                         0.0.4                            all          python library designed to control Mote.
ii  python3-motephat                     0.0.3                            all          Python library for the Pimoroni Mote pHAT
ii  python3-mypy                         0.812-1                          armhf        public modules for mypy (Python 3)
ii  python3-mypy-extensions              0.4.3-2                          all          Experimental type system extensions for mypy typechecker (Python 3)
ii  python3-numpy                        1:1.19.5-1                       armhf        Fast array facility to the Python 3 language
ii  python3-oauthlib                     3.1.0-2                          all          generic, spec-compliant implementation of OAuth for Python3
ii  python3-olefile                      0.46-3                           all          Python module to read/write MS OLE2 files
ii  python3-openssl                      20.0.1-1                         all          Python 3 wrapper around the OpenSSL library
ii  python3-pantilthat                   0.0.7                            all          Python library for the Pimoroni Pan-Tilt HAT
ii  python3-parso                        0.8.1-1                          all          Python parser that supports error recovery - Python 3.X
ii  python3-pexpect                      4.8.0-2                          all          Python 3 module for automating interactive applications
ii  python3-pgzero                       1.2.post4+dfsg-2                 all          Zero-boilerplate games programming framework based on Pygame (Python 3)
ii  python3-phatbeat                     0.1.1                            all          Python library for the Pimoroni pHAT BEAT.
ii  python3-pianohat                     0.1.0                            all          Python library for the Pimoroni Piano HAT.
ii  python3-picamera                     1.13                             armhf        Pure Python interface to the Raspberry Pi's camera module.
ii  python3-piglow                       1.2.5                            all          Python library for the Pimoroni PiGlow.
ii  python3-pigpio                       1.79-1+rpt1                      all          Python module which talks to the pigpio daemon (Python 3)
ii  python3-pil:armhf                    8.1.2+dfsg-0.3+deb11u1           armhf        Python Imaging Library (Python3)
ii  python3-pip                          20.3.4-4+rpt1+deb11u1            all          Python package installer
ii  python3-pkg-resources                52.0.0-4                         all          Package Discovery and Resource Access using pkg_resources
ii  python3-psutil                       5.8.0-1                          armhf        module providing convenience functions for managing processes (Python3)
ii  python3-ptyprocess                   0.7.0-1                          all          Run a subprocess in a pseudo terminal from Python 3
ii  python3-pygame                       1.9.6+dfsg-4+b1                  armhf        SDL bindings for games development (Python 3)
ii  python3-pygments                     2.7.1+dfsg-2.1                   all          syntax highlighting package written in Python 3
ii  python3-pyinotify                    0.9.6-1.3                        all          simple Linux inotify Python bindings
ii  python3-rainbowhat                   0.1.0                            all          Python library for the Pimoroni Rainbow HAT
ii  python3-renderpm:armhf               3.5.59-2                         armhf        python low level render interface
ii  python3-reportlab                    3.5.59-2                         all          ReportLab library to create PDF documents using Python3
ii  python3-reportlab-accel:armhf        3.5.59-2                         armhf        C coded extension accelerator for the ReportLab Toolkit
ii  python3-requests                     2.25.1+dfsg-2                    all          elegant and simple HTTP library for Python3, built for human beings
ii  python3-requests-oauthlib            1.0.0-1.1                        all          module providing OAuthlib auth support for requests (Python 3)
ii  python3-responses                    0.12.1-1                         all          Utility library for mocking out the requests Python 3 library
ii  python3-roman                        2.0.0-5                          all          module for generating/analyzing Roman numerals for Python 3
ii  python3-rpi.gpio                     0.7.0-0.2+b1                     armhf        Module to control Raspberry Pi GPIO channels (Python 3)
ii  python3-rtimulib                     7.2.1-6                          armhf        Versatile C++ and Python 9-dof, 10-dof and 11-dof IMU library (Python 3)
ii  python3-scrollphat                   0.0.7                            all          python library designed to control Scroll pHAT.
ii  python3-scrollphathd                 1.2.1                            all          Python library for the Pimoroni Scroll pHAT HD.
ii  python3-send2trash                   1.6.0~b1+git20210122.2eb3242-1   all          Python module for sending file to trash natively
ii  python3-sense-hat                    2.4.0-1                          all          Sense HAT python library (Python 3)
ii  python3-serial                       3.5~b0-1                         all          pyserial - module encapsulating access for the serial port
ii  python3-setuptools                   52.0.0-4                         all          Python3 Distutils Enhancements
ii  python3-simplejson                   3.17.2-1                         armhf        simple, fast, extensible JSON encoder/decoder for Python 3.x
ii  python3-six                          1.16.0-2                         all          Python 2 and 3 compatibility library (Python 3 interface)
ii  python3-skywriter                    0.0.7                            all          python library designed to control Skywriter.
ii  python3-smbc                         1.0.23-1+b1                      armhf        Python 3 bindings for the Samba client library
ii  python3-smbus:armhf                  4.2-1+b1                         armhf        Python 3 bindings for Linux SMBus access through i2c-dev
ii  python3-sn3218                       1.2.7                            all          python library to help control the SN3218 18-channel PWM LED driver.
ii  python3-soupsieve                    2.2.1-1                          all          modern CSS selector implementation for BeautifulSoup (Python 3)
ii  python3-spidev                       20200602~200721-1                armhf        Bindings for Linux SPI access through spidev (Python 3)
ii  python3-talloc:armhf                 2.3.1-2+b1                       armhf        hierarchical pool based memory allocator - Python3 bindings
ii  python3-tk:armhf                     3.9.2-1                          armhf        Tkinter - Writing Tk applications with Python 3.x
ii  python3-toml                         0.10.1-1                         all          library for Tom's Obvious, Minimal Language - Python 3.x
ii  python3-touchphat                    0.0.1                            all          python library designed to control Touch pHAT
ii  python3-twython                      3.8.2+dfsg-2                     all          Pure Python3 wrapper for the Twitter API
ii  python3-typed-ast                    1.4.2-1                          armhf        AST with PEP 484 type comments support
ii  python3-typing-extensions            3.7.4.3-1                        all          Backported and Experimental Type Hints for Python
ii  python3-unicornhathd                 0.0.4                            all          Python library for the Pimoroni Unicorn HAT HD.
ii  python3-urllib3                      1.26.5-1~exp1                    all          HTTP library with thread-safe connection pooling for Python3
ii  python3-venv                         3.9.2-3                          armhf        venv module for python3 (default python3 version)
ii  python3-virtualenv                   20.4.0+ds-2+deb11u1              all          Python virtual environment creator
ii  python3-webencodings                 0.5.1-2                          all          Python implementation of the WHATWG Encoding standard
ii  python3-werkzeug                     1.0.1+dfsg1-2                    all          collection of utilities for WSGI applications (Python 3.x)
ii  python3-wheel                        0.34.2-1                         all          built-package format for Python
ii  python3-wrapt                        1.12.1-4+b1                      armhf        decorators, wrappers and monkey patching. - Python 3.x
ii  python3-zipp                         1.0.0-3                          all          pathlib-compatible Zipfile object wrapper - Python 3.x
ii  python3.9                            3.9.2-1+rpi1                     armhf        Interactive high-level object-oriented language (version 3.9)
ii  python3.9-dev                        3.9.2-1+rpi1                     armhf        Header files and a static library for Python (v3.9)
ii  python3.9-minimal                    3.9.2-1+rpi1                     armhf        Minimal subset of the Python language (version 3.9)
ii  python3.9-venv                       3.9.2-1+rpi1                     armhf        Interactive high-level object-oriented language (pyvenv binary, version 3.9)

Detected indi-allsky virtualenv
virtualenv python: Python 3.9.2
virtualenv PATH: /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin:/usr/local/bin:/usr/bin:/bin
flask command: /home/maphilli14/indi-allsky/virtualenv/indi-allsky/bin/flask

virtualenv python modules
alembic==1.13.1
apache-libcloud==3.8.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
asciitree==0.3.3
asn1crypto==1.5.1
astroalign==2.5.1
astropy==6.0.0
astropy-healpix==1.0.2
astropy-iers-data==0.2024.1.8.0.30.55
astroscrappy==1.1.0
bcrypt==4.1.2
blinker==1.7.0
boto3==1.34.14
botocore==1.34.14
Bottleneck==1.3.7
cached-property==1.5.2
cachetools==5.3.2
ccdproc==2.4.1
certifi==2023.11.17
cffi==1.16.0
charset-normalizer==3.3.2
circuitbreaker==1.4.0
click==8.1.7
cloudpickle==3.0.0
cryptography==41.0.7
Cython==3.0.7
dask==2023.12.1
dbus-python==1.3.2
ephem==4.1.5
fasteners==0.19
Flask==3.0.0
Flask-Login==0.6.3
Flask-Migrate==4.0.5
Flask-SQLAlchemy==3.1.1
Flask-WTF==1.2.1
fsspec==2023.12.2
google-api-core==2.15.0
google-api-python-client==2.113.0
google-auth==2.26.1
google-auth-httplib2==0.2.0
google-auth-oauthlib==1.2.0
google-cloud-core==2.4.1
google-cloud-storage==2.14.0
google-crc32c==1.5.0
google-resumable-media==2.7.0
googleapis-common-protos==1.62.0
gunicorn==21.2.0
httplib2==0.22.0
idna==3.6
imageio==2.33.1
imageio-ffmpeg==0.4.9
importlib-metadata==7.0.1
inotify==0.2.10
is-safe-url==1.0
itsdangerous==2.1.2
Jinja2==3.1.2
jmespath==1.0.1
locket==1.0.0
lxml==5.1.0
Mako==1.3.0
MarkupSafe==2.1.3
mysql-connector-python==8.2.0
networkx==3.2.1
nose==1.3.7
numcodecs==0.12.1
numpy==1.26.3
oauthlib==3.2.2
oci==2.118.1
opencv-python-headless==4.6.0.66
packaging==23.2
paho-mqtt==1.6.1
paramiko==3.4.0
partd==1.4.1
passlib==1.7.4
piexif==1.1.3
pillow==10.2.0
pkg_resources==0.0.0
prettytable==3.9.0
protobuf==4.21.12
psutil==5.9.7
pyasn1==0.5.1
pyasn1-modules==0.3.0
pycparser==2.21
pycurl==7.45.2
pyerfa==2.0.1.1
pygifsicle==1.0.7
pyindi-client @ git+https://github.com/indilib/pyindi-client.git@6f8fa8042f60f7b3079f6d66a0b8ee720af09d64
PyMySQL==1.1.0
PyNaCl==1.5.0
pyOpenSSL==23.3.0
pyparsing==3.1.1
python-dateutil==2.8.2
python-pkcs11==0.7.0
pytz==2023.3.post1
PyWavelets==1.5.0
PyYAML==6.0.1
rawpy @ git+https://github.com/letmaik/rawpy.git@6c8f38603861f2f2d4d59f00b8e25ec0e6b5aa1e
reproject==0.13.0
requests==2.31.0
requests-oauthlib==1.3.1
requests-toolbelt==1.0.0
rsa==4.9
s3transfer==0.10.0
scikit-image==0.19.3
scipy==1.11.4
semantic-version==2.10.0
sep==1.2.1
setuptools-rust==1.8.1
shapely==2.0.2
six==1.16.0
SQLAlchemy==2.0.25
support-developer==1.0.5
tifffile==2023.12.9
tomli==2.0.1
toolz==0.12.0
typing_extensions==4.9.0
uritemplate==4.1.1
urllib3==1.26.18
wcwidth==0.2.13
Werkzeug==3.0.1
WTForms==3.1.2
zarr==2.16.1
zipp==3.17.0

#################################
###     end support info      ###
#################################
maphilli14@allsky2:~ $
aaronwmorris commented 5 months ago

Your version of INDI is very old (relatively speaking). My suggestion would be to upgrade to at least v2.0.3 and rebuild the pyindi-client module.

Building indi will probably take about 40-50 minutes on your system.

./misc/build_indi.sh v2.0.3

./misc/rebuild_pyindi-client.sh

After you are finished, I would perform a full reboot of the system.

maphilli14 commented 5 months ago

This did the trick! Thanks. I was anticipating that the inid-allsky setup script would pull all the requirements, could you either add this step or adjust the allsky setup to pull new indiserver? Also, if you want help udating docs, I'm a n00b but willing! It's not detecting the camera now but I'll upgrade to server 2.0.5 and try again...


    -- Installing: /usr/local/share/indi/indi_nut.xml
    -- Installing: /usr/local/bin/indi_oasis_focuser
    -- Set runtime path of "/usr/local/bin/indi_oasis_focuser" to ""
    -- Installing: /usr/local/share/indi/indi_astroasis.xml

    Completed in 2803s

    maphilli14@allsky2:~/indi-allsky $ ./misc/rebuild_pyindi-client.sh

    Detected a custom installation of INDI in /usr/local/bin

    The purpose of this script is to rebuild pyindi-client against
     newer indilib packages.

    Rebuild proceeding in 10 seconds... (control-c to cancel)

    Detected INDI version: 2.0.3
    Found existing installation: pyindi-client 1.9.1
    Uninstalling pyindi-client-1.9.1:
      Successfully uninstalled pyindi-client-1.9.1
    Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
    Collecting pyindi-client
      Cloning https://github.com/indilib/pyindi-client.git (to revision 674706f) to /tmp/pip-install-ifxo7a2e/pyindi-client_50289e916d514bb7901f178e446ce297
      Running command git clone --filter=blob:none --quiet https://github.com/indilib/pyindi-client.git /tmp/pip-install-ifxo7a2e/pyindi-client_50289e916d514bb7901f178e446ce297
      WARNING: Did not find branch or tag '674706f', assuming revision or ref.
      Running command git checkout -q 674706f
      Resolved https://github.com/indilib/pyindi-client.git to commit 674706f
      Installing build dependencies ... done
      Getting requirements to build wheel ... done
      Preparing metadata (pyproject.toml) ... done
    Building wheels for collected packages: pyindi-client
      Building wheel for pyindi-client (pyproject.toml) ... done
      Created wheel for pyindi-client: filename=pyindi_client-1.9.1-cp39-cp39-linux_armv7l.whl size=4355605 sha256=1872dafebd814b54cb10c18726003d8253e14d79ec6daea4a9d05d9d387a84b0
      Stored in directory: /tmp/pip-ephem-wheel-cache-3xw11bm0/wheels/f5/43/08/a6ab23044641d7a9d7627e6d53b21fbab28ed0731b8ea3dd86
    Successfully built pyindi-client
    Installing collected packages: pyindi-client
    Successfully installed pyindi-client-1.9.1

    Completed in 130s

    maphilli14@allsky2:~/indi-allsky $ systemctl --user restart indiserver
    maphilli14@allsky2:~/indi-allsky $ systemctl --user restart indi-allsky
    maphilli14@allsky2:~/indi-allsky $ sudo reboot
    Connection to allsky closed by remote host.
    Connection to allsky closed.
maphilli14 commented 5 months ago

Ran the indiserver upgrade and client and a couple reboots, browser flushes etc and it's now working! I need to figure out all the new knobs and features, some of the char's look funny.....

image
aaronwmorris commented 5 months ago

Fantastic. It looks like there may be some extra characters in there. Are you using OpenCV or Pillow for drawing text?

maphilli14 commented 5 months ago

Fantastic. It looks like there may be some extra characters in there. Are you using OpenCV or Pillow for drawing text?

Just the defaults from upgrade! Love to get started with overlay compass etc

aaronwmorris commented 5 months ago

When get a chance, what is the output of this:

source virtualenv/indi-allsky/bin/activate

./config.py dump | grep IMAGE_LABEL_TEMPLATE