×

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

Bi-monthly release with minor bug fixes and improvements

New All Sky camera management software: indi-allsky

  • Posts: 74
  • Thank you received: 1
Hi all,
I've been trying to install indi-allsky on an Odroid C2 with Ubuntu 20.04. Everything goes ok until the end when I get the following error:
Collecting bottleneck (from -r /home/terryb/indi-allsky/requirements/requirements_debian11.txt (line 15))
Using cached Bottleneck-1.3.7.tar.gz (103 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: -4
╰─> [7 lines of output]
running dist_info
creating /tmp/pip-modern-metadata-9p7_1zd6/Bottleneck.egg-info
writing /tmp/pip-modern-metadata-9p7_1zd6/Bottleneck.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-modern-metadata-9p7_1zd6/Bottleneck.egg-info/dependency_links.txt
writing requirements to /tmp/pip-modern-metadata-9p7_1zd6/Bottleneck.egg-info/requires.txt
writing top-level names to /tmp/pip-modern-metadata-9p7_1zd6/Bottleneck.egg-info/top_level.txt
writing manifest file '/tmp/pip-modern-metadata-9p7_1zd6/Bottleneck.egg-info/SOURCES.txt'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.


The script exited abnormally, please try to run again...

I've tried restarting the script, tried the update indi option ....still the same.
Any ideas?
cheers
Terry
8 months 23 hours ago #95264

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

  • Posts: 262
  • Thank you received: 66

I have tried to reproduce this error, but I cannot. You might try to fully upgrade all packages and see if that helps.

sudo apt-get update
sudo apt-get dist-upgrade

However, I believe the bottleneck module is technically optional, so you could just comment out/delete "bottleneck" from ./requirements/requirements_debian11.txt and re-run setup.sh . Bottleneck just accelerates certain numpy functions, but everything should run without it.
8 months 12 hours ago #95280

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

  • Posts: 74
  • Thank you received: 1
Hi Aaron,,
sorry for the delay getting back......I've reinstalled ubuntu 20.04, followed your guidance, and get the following:

Downloading astroscrappy-1.1.0.tar.gz (368 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 368.5/368.5 kB 4.4 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: -4
╰─> [0 lines of output]
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: -4
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.


The script exited abnormally, please try to run again...

Hopefully you've got an idea.......
cheers
Terry
7 months 4 weeks ago #95296

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

  • Posts: 262
  • Thank you received: 66

I have a couple of leads, but I need a little more info about your system. If you could pull down the latest code, I have a new script "./misc/support_info.sh" that will streamline gathering useful information.

I also renamed the requirements files, so you may have to restore your files to the original state.
7 months 4 weeks ago #95308

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

  • Posts: 74
  • Thank you received: 1
Hi Aaron,
The saga continues......I pulled the latest, and moved my old requirements file over....The setup script failed...I renamed th old file to latest, re-ran, and still the same:
Collecting astroscrappy>=1.0.8 (from ccdproc->-r //home/terryb/indi-allsky/requirements/requirements_latest.txt (line 11))
Using cached astroscrappy-1.1.0.tar.gz (368 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: -4
╰─> [0 lines of output]
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: -4
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.


The script exited abnormally, please try to run again...

Here are the results from the other script:
#################################
### indi-allsky support info ###
#################################

Distribution: Ubuntu
Release: 20.04
Arch: aarch64
Bits: 64

CPUs: 4
Memory: 1767188 kB

Filesystems
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 30638092 5505272 25115720 18% /
devtmpfs 734828 0 734828 0% /dev
tmpfs 883592 0 883592 0% /dev/shm
tmpfs 176720 968 175752 1% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 883592 0 883592 0% /sys/fs/cgroup
/dev/mmcblk0p1 130798 24884 105914 20% /media/boot
tmpfs 176716 0 176716 0% /run/user/1000

system python: Python 3.8.10

indiserver: /usr/bin/indiserver

indi version: 2.0.3

indi packages
ii libindi-data 2.0.3+202308010721~ubuntu20.04.1 all Instrument-Neutral Device Interface library -- shared data
ii libindi-dev 2.0.3+202308010721~ubuntu20.04.1 arm64 Instrument-Neutral Device Interface library -- development files
ii libindi1:arm64 2.0.3+202308010721~ubuntu20.04.1 arm64 Instrument-Neutral Device Interface library -- shared library

libcamera: not detected

libcamera packages

libcamera cameras
libcamera-hello not available

python packages
ii libpython3-dev:arm64 3.8.2-0ubuntu2 arm64 header files and a static library for Python (default)
ii libpython3-stdlib:arm64 3.8.2-0ubuntu2 arm64 interactive high-level object-oriented language (default python3 version)
ii libpython3.8:arm64 3.8.10-0ubuntu1~20.04.8 arm64 Shared Python runtime library (version 3.8)
ii libpython3.8-dev:arm64 3.8.10-0ubuntu1~20.04.8 arm64 Header files and a static library for Python (v3.8)
ii libpython3.8-minimal:arm64 3.8.10-0ubuntu1~20.04.8 arm64 Minimal subset of the Python language (version 3.8)
ii libpython3.8-stdlib:arm64 3.8.10-0ubuntu1~20.04.8 arm64 Interactive high-level object-oriented language (standard library, version 3.8)
ii libpython3.9:arm64 3.9.5-3ubuntu0~20.04.1 arm64 Shared Python runtime library (version 3.9)
ii libpython3.9-dev:arm64 3.9.5-3ubuntu0~20.04.1 arm64 Header files and a static library for Python (v3.9)
ii libpython3.9-minimal:arm64 3.9.5-3ubuntu0~20.04.1 arm64 Minimal subset of the Python language (version 3.9)
ii libpython3.9-stdlib:arm64 3.9.5-3ubuntu0~20.04.1 arm64 Interactive high-level object-oriented language (standard library, version 3.9)
ii python-apt-common 2.0.1ubuntu0.20.04.1 all Python interface to libapt-pkg (locales)
ii python-pip-whl 20.0.2-5ubuntu1.9 all Python package installer
ii python3 3.8.2-0ubuntu2 arm64 interactive high-level object-oriented language (default python3 version)
ii python3-appdirs 1.4.3-2.1 all determining appropriate platform-specific directories (Python 3)
ii python3-apt 2.0.1ubuntu0.20.04.1 arm64 Python 3 interface to libapt-pkg
ii python3-certifi 2019.11.28-1 all root certificates for validating SSL certs and verifying TLS hosts (python3)
ii python3-chardet 3.0.4-4build1 all universal character encoding detector for Python3
ii python3-dbus 1.2.16-1build1 arm64 simple interprocess messaging system (Python 3 interface)
ii python3-dev 3.8.2-0ubuntu2 arm64 header files and a static library for Python (default)
ii python3-distlib 0.3.0-1 all low-level components of python distutils2/packaging
ii python3-distro 1.4.0-1 all Linux OS platform information API
ii python3-distro-info 0.23ubuntu1.1 all information about distributions' releases (Python 3 module)
ii python3-distupgrade 2:18.04.38 all manage release upgrades
ii python3-distutils 3.8.10-0ubuntu1~20.04 all distutils package for Python 3.x
ii python3-filelock 3.0.12-2 all platform independent file locking module
ii python3-gi 3.36.0-1 arm64 Python 3 bindings for gobject-introspection libraries
ii python3-idna 2.8-1 all Python IDNA2008 (RFC 5891) handling (Python 3)
ii python3-importlib-metadata 1.5.0-1 all library to access the metadata for a Python package - Python 3.x
ii python3-lib2to3 3.8.10-0ubuntu1~20.04 all Interactive high-level object-oriented language (lib2to3)
ii python3-minimal 3.8.2-0ubuntu2 arm64 minimal subset of the Python language (default python3 version)
ii python3-more-itertools 4.2.0-1build1 all library with routines for operating on iterables, beyond itertools (Python 3)
ii python3-netifaces 0.10.4-1ubuntu4 arm64 portable network interface information - Python 3.x
ii python3-pip 20.0.2-5ubuntu1.9 all Python package installer
ii python3-pkg-resources 45.2.0-1ubuntu0.1 all Package Discovery and Resource Access using pkg_resources
ii python3-requests 2.22.0-2ubuntu1.1 all elegant and simple HTTP library for Python3, built for human beings
ii python3-requests-unixsocket 0.2.0-2 all Use requests to talk HTTP via a UNIX domain socket - Python 3.x
ii python3-setuptools 45.2.0-1ubuntu0.1 all Python3 Distutils Enhancements
ii python3-six 1.14.0-2 all Python 2 and 3 compatibility library (Python 3 interface)
ii python3-software-properties 0.99.9.12 all manage the repositories that you install software from
ii python3-tk:arm64 3.8.10-0ubuntu1~20.04 arm64 Tkinter - Writing Tk applications with Python 3.x
ii python3-update-manager 1:20.04.10.11 all python 3.x module for update-manager
ii python3-urllib3 1.25.8-2ubuntu0.2 all HTTP library with thread-safe connection pooling for Python3
ii python3-virtualenv 20.0.17-1ubuntu0.4 all Python virtual environment creator
ii python3-wheel 0.34.2-1ubuntu0.1 all built-package format for Python
ii python3-yaml 5.3.1-1ubuntu0.1 arm64 YAML parser and emitter for Python3
ii python3-zipp 1.0.0-1 all pathlib-compatible Zipfile object wrapper - Python 3.x
ii python3.8 3.8.10-0ubuntu1~20.04.8 arm64 Interactive high-level object-oriented language (version 3.8)
ii python3.8-dev 3.8.10-0ubuntu1~20.04.8 arm64 Header files and a static library for Python (v3.8)
ii python3.8-minimal 3.8.10-0ubuntu1~20.04.8 arm64 Minimal subset of the Python language (version 3.8)
ii python3.9 3.9.5-3ubuntu0~20.04.1 arm64 Interactive high-level object-oriented language (version 3.9)
ii python3.9-dev 3.9.5-3ubuntu0~20.04.1 arm64 Header files and a static library for Python (v3.9)
ii python3.9-minimal 3.9.5-3ubuntu0~20.04.1 arm64 Minimal subset of the Python language (version 3.9)
ii python3.9-venv 3.9.5-3ubuntu0~20.04.1 arm64 Interactive high-level object-oriented language (pyvenv binary, version 3.9)

Detected indi-allsky virtualenv
virtualenv python: Python 3.9.5
virtualenv PATH: /home/terryb/indi-allsky/virtualenv/indi-allsky/bin:/usr/local/bin:/usr/bin:/bin
virtualenv python modules
pkg_resources==0.0.0

#################################
### end support info ###
#################################

Cheers Terry....
7 months 4 weeks ago #95317

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

  • Posts: 262
  • Thank you received: 66

Everything appears to be in order. Would you be willing to setup something that would allow me to remote login to this system? Normally, more helpful error messages are shown, but I suspect there might be a deeper problem and it may be faster if I can poke around myself.
7 months 4 weeks ago #95336

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

  • Posts: 74
  • Thank you received: 1
Hi Aaron,
no problems, just let me know what you want to connect with....just pm me....
Terry
7 months 4 weeks ago #95347

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

  • Posts: 74
  • Thank you received: 1
Hi Aaron,
I've had my indi-allsy up and running, and it's great. One small hiccup.....The gain never changes, it's stuck at -1, no matter what max gain I set. I'm using a DMK21. Any help would be great.
Terry
6 months 3 weeks ago #96264

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

  • Posts: 262
  • Thank you received: 66

I am not very familiar with the Imaging Source cameras, but I think it uses the indi_v4l2_ccd server. As far as I know, everything using that server is a fixed gain. The "-1" value is just the dummy value in my code. You could remove the gain information from the image label to remove the artifact.

If you want, you could run "indi_getprop" and paste the output here and I can confirm what settings are available. Just make sure you run it after indi-allsky connects to the camera.
6 months 3 weeks ago #96272

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

  • Posts: 83
  • Thank you received: 4
I tried to install indi-allsky on my RPi Zero 2 W with Raspbian12 bookworm. I get the following problem:
The following packages have unmet dependencies:
 libimath-dev : Conflicts: libilmbase-dev
 libopenexr-dev : Breaks: libilmbase-dev (< 2.5.7-3~)
E: Unable to correct problems, you have held broken packages.
I could not resolve the conflict.

CS, Markus
3 months 5 days ago #98382

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

  • Posts: 262
  • Thank you received: 66

This is a bug in Raspbian/Debian 12 32-bit. The 64-bit release should work fine.
The following user(s) said Thank You: Markus Kempf
3 months 5 days ago #98385

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

  • Posts: 83
  • Thank you received: 4
the 64bit version did the trick. But it was necessary to increase the default swap size of 100M to 512M to compile INDI with your script. The 32bit version compiled INDI with the default config.

CS, Markus
3 months 4 days ago #98428

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

Time to create page: 1.448 seconds