knro wrote: INDI uses Github for a while, so all the code on Sourceforge is outdated. Please try to build from Github as per the instructions .


Thanks. Yes, those are the instructions I was following. I did quote the indi github link in the OP. It's the pyindi-client where I was having trouble, and the official repo for that is still under svn via Sourceforce as far as I can see.

In the two weeks it has taken to move this post out of moderation, I've had help directly from geehalel and worked out that nothing was actually wrong, I'd just got some dependencies all mixed up with different versions of packages. The current build of indi requires libnova-0.14 but Raspbian ships with libnova-0.16 and indi does not work unless you downgrade libnova. At some point I had both versions of libnova installed, and so once I cleared everything out and rebuilt both indi and pyindi-client against the same dependencies, it all worked fine.

I can confirm it all works just fine now on a Pi 3 with the current latest Raspbian.

Thanks for your help!

Read More...

Hello,

I'm attempting to install libindi and pyindi-client on a Raspberry Pi 3 running the latest build of Raspbian.

$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

$ uname -r
4.4.50-v7+

I have built from source the latest version of libindi ( github.com/indilib/indi ) and pyindi-client ( svn.code.sf.net/p/pyindi-client/code/ ) and there were no errors, everything built ok. I believe I have all the necessary dependencies installed. indiserver starts up fine so I believe the server installation is ok.

However, when I try to import PyIndi into Python 3 I get the following error:
$ python3
Python 3.5.3 (default, Jan 19 2017, 14:11:04) 
[GCC 6.3.0 20170124] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyIndi
Traceback (most recent call last):
  File "~/Pyindi/trunk/pip/pyindi-client/PyIndi.py", line 18, in swig_import_helper
    return importlib.import_module(mname)
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 666, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 577, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 914, in create_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
ImportError: /usr/local/lib/python3.5/dist-packages/pyindi_client-0.2.0-py3.5-linux-armv7l.egg/_PyIndi.cpython-35m-arm-linux-gnueabihf.so: undefined symbol: IUFindNumber

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "~/Pyindi/trunk/pip/pyindi-client/PyIndi.py", line 21, in <module>
    _PyIndi = swig_import_helper()
  File "~/Pyindi/trunk/pip/pyindi-client/PyIndi.py", line 20, in swig_import_helper
    return importlib.import_module('_PyIndi')
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /usr/local/lib/python3.5/dist-packages/pyindi_client-0.2.0-py3.5-linux-armv7l.egg/_PyIndi.cpython-35m-arm-linux-gnueabihf.so: undefined symbol: IUFindNumber

Could someone help me please?

Read More...