×

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: 250
  • Thank you received: 3
there must have been a bug in my publication because it was put several times
Sorry about that
Last edit: 2 years 3 weeks ago by Porchet.
2 years 3 weeks ago #82003

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

  • Posts: 250
  • Thank you received: 3
#82001
Hello
I wanted to install indi-allsky on my tinkerboard to see how it works.
The problem is that I have an error about python, so since I'm not too comfortable with linux and I don't want to do anything stupid, I'm asking you what I should do to fix it.
I would like to know what command line I should use to install just what I need.

Thank you very much for your help
Christophe
WARNING: Skipping opencv-python as it is not installed.
Collecting pyindi-client
  Cloning https://github.com/indilib/pyindi-client.git (to revision d5dbe80) to /tmp/pip-install-jxynu3tc/pyindi-client_643f44629e134a41a1f859fc46d85fc3
  Running command git clone --filter=blob:none --quiet https://github.com/indilib/pyindi-client.git /tmp/pip-install-jxynu3tc/pyindi-client_643f44629e134a41a1f859fc46d85fc3
  WARNING: Did not find branch or tag 'd5dbe80', assuming revision or ref.
  Running command git checkout -q d5dbe80
  Resolved https://github.com/indilib/pyindi-client.git to commit d5dbe80
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
 
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      Unable to find libindiclient.a in ['/usr/lib/arm-linux-gnueabihf', '/usr/lib', '/usr/lib64', '/lib', '/lib64', '/usr/local/lib/arm-linux-gnueabihf', '/usr/local/lib']
      Please specify a path where to find libindiclient.a in the setup.py script
      Exiting
      [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.



Hello
no one can tell me what to do without me doing something stupid.
thank you for looking to help me
best regards
Last edit: 2 years 2 weeks ago by Porchet.
2 years 2 weeks ago #82024

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

  • Posts: 261
  • Thank you received: 66
I do not have any experience with the tinkerboard. My guess is you need to compile indi if it is not available in binary form for your platform.

You can run my indi build script
./misc/build_indi.sh
. It normally takes about an hour to build indi.
2 years 2 weeks ago #82084

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

  • Posts: 250
  • Thank you received: 3
hello
what do you mean by "compile indi if it is not available in binary form for your platform"?
I did this command
git clone https://github.com/indilib/indi-3rdparty
in the Projects file, isn't that enough?

because your command
./misc/build_indi.sh
does not work for me, or I don't do it right!

What are the right command lines to install this program?
So that I don't do anything, since I'm not very good with linux
2 years 2 weeks ago #82105

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

  • Posts: 302
  • Thank you received: 46
Hi there,

I have not tried the all-sky-cam yet so I'm not sure this helps but can be for some help anyway.
Seeing the message "WARNING: Skipping opencv-python as it is not installed." tells me that there could be a problem with "opencv-python", in Ubuntu the lib is called "python3-opencv" ??, the other problem is here "Unable to find libindiclient.a".. so maybe you have to compile indilib too and here is how to do that.

// indilib dependencies, the command is everything in one line!!
sudo apt-get install -y libnova-dev libcfitsio-dev libusb-1.0-0-dev zlib1g-dev libgsl-dev build-essential cmake git libjpeg-dev libcurl4-gnutls-dev libtiff-dev libfftw3-dev

git clone --depth 1 github.com/indilib/indi.git
mkdir indi-build
cd indi-build
cmake -DCMAKE_INSTALL_PREFIX=/usr . ../indi
make
sudo make install


// Compile and install 3rdparty drivers..
// indi-3rdparty dependicies, the command is everything in one line!!
sudo apt-get -y install libnova-dev libcfitsio-dev libusb-1.0-0-dev zlib1g-dev libgsl-dev build-essential cmake git libjpeg-dev libcurl4-gnutls-dev libtiff-dev libfftw3-dev libftdi-dev libgps-dev libraw-dev libdc1394-22-dev libgphoto2-dev libboost-dev libboost-regex-dev librtlsdr-dev liblimesuite-dev libftdi1-dev libavcodec-dev libavdevice-dev libraw-dev libftdi1-dev libgps-dev

git clone --depth 1 github.com/indilib/indi-3rdparty
mkdir indi-3rdparty-build
cd indi-3rdparty-build
cmake -DCMAKE_INSTALL_PREFIX=/usr ../indi-3rdparty
make -i
sudo make -i install


I hope I didn't miss anything and you get it going.
Br, Markku
2 years 2 weeks ago #82113

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

  • Posts: 261
  • Thank you received: 66
Did you modify the setup.sh script in any way? The script is supposed to exit if it runs into any unrecoverable error conditions. Indi is supposed to be installed prior to building the pyindi-client python module. The script should not be able to get to the point of installing the python module before Indi is installed.
2 years 2 weeks ago #82124

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

  • Posts: 250
  • Thank you received: 3
Hello
I can't install always an error
chris@tinkerboard:~$ sudo apt-get install -y libnova-dev libcfitsio-dev libusb-1.0-0-dev zlib1g-dev libgsl-dev build-essential cmake git libjpeg-dev libcurl4-gnutls-dev libtiff-dev libfftw3-dev
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
cmake est déjà la version la plus récente (3.16.3-1ubuntu1).
libfftw3-dev est déjà la version la plus récente (3.3.8-2ubuntu1).
libjpeg-dev est déjà la version la plus récente (8c-2ubuntu8).
libusb-1.0-0-dev est déjà la version la plus récente (2:1.0.23-2build1).
libcfitsio-dev est déjà la version la plus récente (3.470-3).
libgsl-dev est déjà la version la plus récente (2.5+dfsg-6build1).
libnova-dev est déjà la version la plus récente (0.16-4).
git est déjà la version la plus récente (1:2.25.1-1ubuntu3.2).
libcurl4-gnutls-dev est déjà la version la plus récente (7.68.0-1ubuntu2.7).
libtiff-dev est déjà la version la plus récente (4.1.0+git191117-2ubuntu0.20.04.2).
zlib1g-dev est déjà la version la plus récente (1:1.2.11.dfsg-2ubuntu1.3).
build-essential est déjà la version la plus récente (12.8ubuntu1.1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 115 non mis à jour.
chris@tinkerboard:~$ git clone --depth 1 github.com/indilib/indi.git
fatal: le dépôt 'github.com/indilib/indi.git' n'existe pas

Regards
Christophe
2 years 2 weeks ago #82125

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

  • Posts: 250
  • Thank you received: 3

no I don't think so, not how I would know if I did it by mistake
2 years 2 weeks ago #82126

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

  • Posts: 261
  • Thank you received: 66
Try using this:
git clone --depth 1 https://github.com/indilib/indi.git
2 years 2 weeks ago #82131

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

  • Posts: 250
  • Thank you received: 3
Ok,now I have this message
chris@tinkerboard:~/indi-3rdparty-build$ cmake -DCMAKE_INSTALL_PREFIX=/usr ../indi-3rdparty
CMake Error: The source directory "/home/chris/indi-3rdparty" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
chris@tinkerboard:~/indi-3rdparty-build$ 
2 years 2 weeks ago #82140

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

  • Posts: 83
  • Thank you received: 4
Congrats for this really nice allsky system!!!

I tried it with my RPI4 astroberry using the RPIcam driver for my RPiHQ camera and it worked brilliantly. For a permanent 24/7 setup, I would like to use a Pi Zero W as indiserver for the camera. I tried this with EKOS and it also works. The server for the allsky system would be my home server (NAS) running Debian 11 x64. Unfortunately the indi-allsky setup srcipt is a bit unfriendly to other web services on the machine. I have other services running under various port numbers that still must work. Therefore I would like to have an additional config option like the astroberry detection to switch to port 444 and be benign to the other web servers...

Second problem, got this error:
**** Enabling services ****
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)

Third problem. all pictures have a greenish tint even with the white balance option to auto on. Is there another way to set the WB with a RPIcam?
Fourth problem: you mentioned the command line option to use a remote indi device. Can you make an example?

CS, Markus
2 years 2 weeks ago #82157

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

  • Posts: 250
  • Thank you received: 3
Hello Markus
Can you explain how you did it, because I can't install it on my tinkerboard and armbian.
How did you do it?
Thank you because I'm struggling.

Regards
Chris
2 years 2 weeks ago #82159

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

Time to create page: 1.781 seconds