×

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

Bi-monthly release with minor bug fixes and improvements

pyindi-client won't build/install

  • Posts: 4
  • Thank you received: 0

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

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

Welcome to INDI forum! Can you please also open an issue at Github here? github.com/indilib/pyindi-client
The following user(s) said Thank You: Willy
1 year 2 months ago #93619

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

  • Posts: 4
  • Thank you received: 0
Sure ! Thanks :)
1 year 2 months ago #93620

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

  • Posts: 278
  • Thank you received: 70
That version of indi is quite old. You would have to find the correct git commit to compile against that version.

You would be much better off to uninstall the indi from the debian repos and compile the latest version of indi (2.0.2) from scratch. Once indi is updated, you can install pyindi-client from git. pyindi-client was never really tagged properly in pypi so you can install from the latest commit:

pip3 install git+https://github.com/indilib/pyindi-client.git
The following user(s) said Thank You: Willy
1 year 2 months ago #93621

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

  • Posts: 4
  • Thank you received: 0
Oh I didn't think this would be feasible, because of dependencies - I do hope this is gonna be ok

This means I would have to compile all the drivers I use as well ?

Thanks for the help : )
1 year 2 months ago #93624

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

  • Posts: 278
  • Thank you received: 70
The compile instructions are not too bad. A full compile of indi on a Pi Zero is probably going to take 2-3 hours. It could compile faster if you only compile the libraries and drivers you need.

I have a one shot script in the indi-allsky repository that will take care of everything automatically.

github.com/aaronwmorris/indi-allsky/blob...n/misc/build_indi.sh
The following user(s) said Thank You: Willy
1 year 2 months ago #93646

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

  • Posts: 4
  • Thank you received: 0
Thank you so much Aaron for your input - I eventually successfully compiled the whole thing last night (even drivers I don't need right now, just in case). I can now load PyIndi in my scripts, so far so good it works as expected :)

Unfortunately I noticed your reply regarding your script at a later time :/ Thank you for this, this may come in handy If I have to do again from scratch

Again, thank you for your help
1 year 2 months ago #93652

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

  • Posts: 278
  • Thank you received: 70
I compile indi a lot, which is why I have the script.

I am glad you got things compiled. There were some changes to some of the indi APIs as of 2.0.0 which are detailed in the pyindi-client github page. This is why it is probably better to use this version rather than 1.8.8.
1 year 2 months ago #93661

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

Time to create page: 0.507 seconds