Pyindi-client wrappers problem

  • Posts: 15
  • Thank you received: 0
Ok as soon as possible I will try this. This passage has to be done before anything else or there's no problem of temporal succession?
Is it possible to use Ekos virtual machine to do the steps?
8 years 1 month ago #7698

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

  • Posts: 314
  • Thank you received: 95

Replied by Oleg on topic Pyindi-client wrappers problem

Hmm... I don't use Ekos virtual machine :(
You can try install last CFITSIO in any case.
You can try my open project Astronomy Linux
8 years 1 month ago #7699

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

  • Posts: 15
  • Thank you received: 0
CFTSIO will be good for Ubuntu 15.10? I'm currently using a virtual machine. anyway, even in Ekos returns an analogue problem at the same step. :unsure: I'll reply as soon I'll try to install CFTSIO :)

Thanks for all!
8 years 1 month ago #7700

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

  • Posts: 314
  • Thank you received: 95

Replied by Oleg on topic Pyindi-client wrappers problem


My current OS is Ubuntu 15.10 (64 bit).

P.S. Check these packages on your Ekos virtual machine:
You can try my open project Astronomy Linux
Last edit: 8 years 1 month ago by Oleg.
8 years 1 month ago #7701
Attachments:

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

  • Posts: 314
  • Thank you received: 95

Replied by Oleg on topic Pyindi-client wrappers problem


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.

  • Posts: 15
  • Thank you received: 0
With your last suggestion it worked! :) thank you so much! just a thing... the following step is not very clear for me (sorry, I'm new to this kind of things :S )

6. install ws4py:
sudo mkdir /opt/ws4py
sudo chown user:user /opt/ws4py # !!! you must change user on your system login!

at the end of the 5. step, I'm currently in the libindipython dir. Shall I have to change the dir or follow the step as I read them? and I don't understand # !!! you must change user on your system login! ... Sorry again :dry:
8 years 1 month ago #7704

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

  • Posts: 15
  • Thank you received: 0
I just realised your comment :woohoo: sorry, just a lapsus :silly:
8 years 1 month ago #7705

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

Pyindi-client wrappers problem - INDI Forum - Results from #12
  • Posts: 314
  • Thank you received: 95

Replied by Oleg on topic Pyindi-client wrappers problem


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.

  • Posts: 15
  • Thank you received: 0
Ok thanks, I finally managed to follow and complete all the steps :) problem solved :) :cheer:
8 years 1 month ago #7707

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

  • Posts: 69
  • Thank you received: 12

Replied by anat on topic Pyindi-client wrappers problem

I got these errors when compiling in RPi3. How to enable c99 in cmake?

root@iAstroHub:/home/pi/INDI/libindipython# make
[ 25%] Swig source
Language subdirectory: python
Search paths:
./
/usr/include/python2.7/
/usr/include/libindi/
/usr/include/
/home/pi/INDI/swig-indi-python/
./swig_lib/python/
/usr/share/swig2.0/python/
./swig_lib/
/usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
/usr/include/libindi/baseclient.h:32: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
/usr/include/libindi/basedevice.h:33: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
Processing types...
C++ analysis...
/usr/include/libindi/baseclient.h:55: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated,
/usr/include/libindi/indibase.h:79: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented.
Generating wrappers...
[ 50%] Building CXX object CMakeFiles/_PyIndi.dir/indiclientpythonPYTHON_wrap.cxx.o
Linking CXX shared module _PyIndi.so
[ 50%] Built target _PyIndi
[ 75%] Swig source
Language subdirectory: python
Search paths:
./
/usr/include/python2.7/
/usr/include/libindi/
/usr/include/
/home/pi/INDI/swig-indi-python/
./swig_lib/python/
/usr/share/swig2.0/python/
./swig_lib/
/usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
/usr/include/libindiserver.h:47: Warning 451: Setting a const char * variable may leak memory.
/usr/include/libindiserver.h:64: Warning 454: Setting a pointer/reference variable may leak memory.
[100%] Building C object CMakeFiles/_PyIndiServer.dir/indiserverpythonPYTHON_wrap.c.o
/home/pi/INDI/libindipython/indiserverpythonPYTHON_wrap.c: In function ‘Swig_var_clinfo_get’:
/home/pi/INDI/libindipython/indiserverpythonPYTHON_wrap.c:4933:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for(size_t i = 0; i < nclinfo; ++i)
^
/home/pi/INDI/libindipython/indiserverpythonPYTHON_wrap.c:4933:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
/home/pi/INDI/libindipython/indiserverpythonPYTHON_wrap.c: In function ‘Swig_var_dvrinfo_set’:
/home/pi/INDI/libindipython/indiserverpythonPYTHON_wrap.c:6136:7: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < size; ++i) {
^
/home/pi/INDI/libindipython/indiserverpythonPYTHON_wrap.c: In function ‘Swig_var_dvrinfo_get’:
/home/pi/INDI/libindipython/indiserverpythonPYTHON_wrap.c:6161:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for(size_t i = 0; i < ndvrinfo; ++i)
^
CMakeFiles/_PyIndiServer.dir/build.make:62: recipe for target 'CMakeFiles/_PyIndiServer.dir/indiserverpythonPYTHON_wrap.c.o' failed
make[2]: *** [CMakeFiles/_PyIndiServer.dir/indiserverpythonPYTHON_wrap.c.o] Error 1
CMakeFiles/Makefile2:95: recipe for target 'CMakeFiles/_PyIndiServer.dir/all' failed
make[1]: *** [CMakeFiles/_PyIndiServer.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
8 years 1 week ago #8249

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


×

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

Bi-monthly release with minor bug fixes and improvements

  • Posts: 69
  • Thank you received: 12

Replied by anat on topic Pyindi-client wrappers problem


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.

  • Posts: 226
  • Thank you received: 88

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.

Time to create page: 1.461 seconds