GithubHelp home page GithubHelp logo

Comments (11)

daniestevez avatar daniestevez commented on May 29, 2024

Your build log looks fine, so I'm not sure what is the cause of the problem.

Did you run ldconfig (as root) after make install?

Try the following.

 $ python2
Python 2.7.14 (default, Dec 26 2017, 18:02:08) 
[GCC 6.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import satellites
>>> satellites.encode_rs
<function make at 0x7fb407e6b320>
>>> 

from gr-satellites.

damaswangsa avatar damaswangsa commented on May 29, 2024

i tried your suggest and got this

damaswangsa@damaswangsa-Lenovo-ideapad-500S-14ISK:~$ python2
Python 2.7.12 (default, Nov 20 2017, 18:23:56) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import satellites
Segmentation fault (core dumped)

from gr-satellites.

daniestevez avatar daniestevez commented on May 29, 2024

This looks like a serious problem with your system and nothing to do with gr-satellites.

Try to install another OOT module such as gr-tutorial and do the same test (import tutorial within the python2 interpreter).

You could also try gdbto try to see what causes the segmentation fault. Building gr-satellites with cmake .. -DCMAKE_BUILD_TYPE=Debug might help.

from gr-satellites.

damaswangsa avatar damaswangsa commented on May 29, 2024

i try to install gr-tutorial like you suggested, and come with this

damaswangsa@damaswangsa-Lenovo-ideapad-500S-14ISK:~/Downloads$ git clone https://github.com/gnuradio/gr-tutorial.git
Cloning into 'gr-tutorial'...
remote: Counting objects: 638, done.
remote: Total 638 (delta 0), reused 0 (delta 0), pack-reused 637
Receiving objects: 100% (638/638), 34.21 MiB | 99.00 KiB/s, done.
Resolving deltas: 100% (318/318), done.
Checking connectivity... done.
damaswangsa@damaswangsa-Lenovo-ideapad-500S-14ISK:~/Downloads$ cd gr-tutorial/
damaswangsa@damaswangsa-Lenovo-ideapad-500S-14ISK:~/Downloads/gr-tutorial$ mkdir build
damaswangsa@damaswangsa-Lenovo-ideapad-500S-14ISK:~/Downloads/gr-tutorial$ cd build/
damaswangsa@damaswangsa-Lenovo-ideapad-500S-14ISK:~/Downloads/gr-tutorial/build$ cmake ..
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'cppunit'
--   Found cppunit, version 1.13.2
-- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl  
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11") 
Checking for GNU Radio Module: RUNTIME
-- Checking for module 'gnuradio-runtime'
--   Found gnuradio-runtime, version 3.7.11.1
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_RUNTIME: /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so  
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: ANALOG
-- Checking for module 'gnuradio-analog'
--   Found gnuradio-analog, version 3.7.11.1
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-analog.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/local/lib/libvolk.so
-- Found GNURADIO_ANALOG: /usr/local/lib/libgnuradio-analog.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so;/usr/local/lib/libvolk.so  
GNURADIO_ANALOG_FOUND = TRUE
Checking for GNU Radio Module: BLOCKS
-- Checking for module 'gnuradio-blocks'
--   Found gnuradio-blocks, version 3.7.11.1
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_BLOCKS: /usr/local/lib/libgnuradio-blocks.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so  
GNURADIO_BLOCKS_FOUND = TRUE
Checking for GNU Radio Module: DIGITAL
-- Checking for module 'gnuradio-digital'
--   Found gnuradio-digital, version 3.7.11.1
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-digital.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_DIGITAL: /usr/local/lib/libgnuradio-digital.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so  
GNURADIO_DIGITAL_FOUND = TRUE
Checking for GNU Radio Module: FILTER
-- Checking for module 'gnuradio-filter'
--   Found gnuradio-filter, version 3.7.11.1
 * INCLUDES=/usr/local/include
 * LIBS=/usr/local/lib/libgnuradio-filter.so;/usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
-- Found GNURADIO_FILTER: /usr/local/lib/libgnuradio-filter.so;/usr/local/lib/libgnuradio-fft.so;/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so  
GNURADIO_FILTER_FOUND = TRUE
CMake Warning (dev) at /usr/local/lib/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "test-tutorial".  Use
  the target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Call Stack (most recent call first):
  lib/CMakeLists.txt:80 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- 
-- Checking for module SWIG
-- Found SWIG version 3.0.8.
-- Found SWIG: /usr/bin/swig3.0  
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.12", minimum required is "2") 
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.12", minimum required is "2") 
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success
CMake Warning (dev) at /usr/local/lib/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "gnuradio-tutorial".
  Use the target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Call Stack (most recent call first):
  python/CMakeLists.txt:46 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/lib/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "/usr/bin/python2".
Call Stack (most recent call first):
  python/CMakeLists.txt:46 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/lib/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/home/damaswangsa/Downloads/gr-tutorial/python/qa_chat_sanitizer.py".
Call Stack (most recent call first):
  python/CMakeLists.txt:46 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/lib/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "gnuradio-tutorial".
  Use the target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Call Stack (most recent call first):
  python/CMakeLists.txt:47 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/lib/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "/usr/bin/python2".
Call Stack (most recent call first):
  python/CMakeLists.txt:47 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/lib/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/home/damaswangsa/Downloads/gr-tutorial/python/qa_qpsk_demod.py".
Call Stack (most recent call first):
  python/CMakeLists.txt:47 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/lib/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "gnuradio-tutorial".
  Use the target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Call Stack (most recent call first):
  python/CMakeLists.txt:48 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/lib/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "/usr/bin/python2".
Call Stack (most recent call first):
  python/CMakeLists.txt:48 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/lib/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/home/damaswangsa/Downloads/gr-tutorial/python/qa_multiply_py_ff.py".
Call Stack (most recent call first):
  python/CMakeLists.txt:48 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/lib/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "gnuradio-tutorial".
  Use the target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Call Stack (most recent call first):
  python/CMakeLists.txt:49 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/lib/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "/usr/bin/python2".
Call Stack (most recent call first):
  python/CMakeLists.txt:49 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/local/lib/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target
  "/home/damaswangsa/Downloads/gr-tutorial/python/qa_qpsk_demod_py_cb.py".
Call Stack (most recent call first):
  python/CMakeLists.txt:49 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/damaswangsa/Downloads/gr-tutorial/build
damaswangsa@damaswangsa-Lenovo-ideapad-500S-14ISK:~/Downloads/gr-tutorial/build$ make
Scanning dependencies of target gnuradio-tutorial
[  4%] Building CXX object lib/CMakeFiles/gnuradio-tutorial.dir/my_qpsk_demod_cb_impl.cc.o
[  8%] Building CXX object lib/CMakeFiles/gnuradio-tutorial.dir/my_qpsk_demod_tags_cb_impl.cc.o
[ 12%] Linking CXX shared library libgnuradio-tutorial.so
[ 12%] Built target gnuradio-tutorial
Scanning dependencies of target test-tutorial
[ 16%] Building CXX object lib/CMakeFiles/test-tutorial.dir/test_tutorial.cc.o
[ 20%] Building CXX object lib/CMakeFiles/test-tutorial.dir/qa_tutorial.cc.o
[ 24%] Linking CXX executable test-tutorial
[ 24%] Built target test-tutorial
Scanning dependencies of target _tutorial_swig_doc_tag
[ 28%] Building CXX object swig/CMakeFiles/_tutorial_swig_doc_tag.dir/_tutorial_swig_doc_tag.cpp.o
[ 32%] Linking CXX executable _tutorial_swig_doc_tag
[ 32%] Built target _tutorial_swig_doc_tag
Scanning dependencies of target tutorial_swig_swig_doc
[ 36%] Generating doxygen xml for tutorial_swig_doc docs
warning: Tag `XML_SCHEMA' at line 1478 of file `/home/damaswangsa/Downloads/gr-tutorial/build/swig/tutorial_swig_doc_swig_docs/Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `XML_DTD' at line 1484 of file `/home/damaswangsa/Downloads/gr-tutorial/build/swig/tutorial_swig_doc_swig_docs/Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
[ 40%] Generating python docstrings for tutorial_swig_doc
[ 40%] Built target tutorial_swig_swig_doc
Scanning dependencies of target _tutorial_swig_swig_tag
[ 44%] Building CXX object swig/CMakeFiles/_tutorial_swig_swig_tag.dir/_tutorial_swig_swig_tag.cpp.o
[ 48%] Linking CXX executable _tutorial_swig_swig_tag
[ 48%] Built target _tutorial_swig_swig_tag
[ 52%] Generating tutorial_swig.tag
Scanning dependencies of target tutorial_swig_swig_2d0df
[ 56%] Building CXX object swig/CMakeFiles/tutorial_swig_swig_2d0df.dir/tutorial_swig_swig_2d0df.cpp.o
[ 60%] Linking CXX executable tutorial_swig_swig_2d0df
Swig source
[ 60%] Built target tutorial_swig_swig_2d0df
Scanning dependencies of target _tutorial_swig
[ 64%] Building CXX object swig/CMakeFiles/_tutorial_swig.dir/tutorial_swigPYTHON_wrap.cxx.o
[ 68%] Linking CXX shared module _tutorial_swig.so
[ 76%] Built target _tutorial_swig
Scanning dependencies of target pygen_swig_c1d70
[ 80%] Generating tutorial_swig.pyc
[ 84%] Generating tutorial_swig.pyo
[ 88%] Built target pygen_swig_c1d70
Scanning dependencies of target pygen_python_775c7
[ 92%] Generating __init__.pyc, chat_blocks.pyc, multiply_py_ff.pyc, qpsk_demod_py_cb.pyc
[ 96%] Generating __init__.pyo, chat_blocks.pyo, multiply_py_ff.pyo, qpsk_demod_py_cb.pyo
[ 96%] Built target pygen_python_775c7
Scanning dependencies of target pygen_apps_9a6dd
[ 96%] Built target pygen_apps_9a6dd
Scanning dependencies of target doxygen_target
[100%] Generating documentation with doxygen
warning: Tag `XML_SCHEMA' at line 1510 of file `/home/damaswangsa/Downloads/gr-tutorial/build/docs/doxygen/Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `XML_DTD' at line 1516 of file `/home/damaswangsa/Downloads/gr-tutorial/build/docs/doxygen/Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
[100%] Built target doxygen_target
damaswangsa@damaswangsa-Lenovo-ideapad-500S-14ISK:~/Downloads/gr-tutorial/build$ sudo make install
[sudo] password for damaswangsa: 
[ 12%] Built target gnuradio-tutorial
[ 24%] Built target test-tutorial
[ 32%] Built target _tutorial_swig_doc_tag
[ 40%] Built target tutorial_swig_swig_doc
[ 48%] Built target _tutorial_swig_swig_tag
[ 60%] Built target tutorial_swig_swig_2d0df
[ 76%] Built target _tutorial_swig
[ 88%] Built target pygen_swig_c1d70
[ 96%] Built target pygen_python_775c7
[ 96%] Built target pygen_apps_9a6dd
[100%] Built target doxygen_target
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/cmake/tutorial/tutorialConfig.cmake
-- Installing: /usr/local/include/tutorial/api.h
-- Installing: /usr/local/include/tutorial/my_qpsk_demod_cb.h
-- Installing: /usr/local/include/tutorial/my_qpsk_demod_tags_cb.h
-- Installing: /usr/local/lib/libgnuradio-tutorial.so
-- Set runtime path of "/usr/local/lib/libgnuradio-tutorial.so" to ""
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/_tutorial_swig.so
-- Set runtime path of "/usr/local/lib/python2.7/dist-packages/tutorial/_tutorial_swig.so" to ""
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/tutorial_swig.py
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/tutorial_swig.pyc
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/tutorial_swig.pyo
-- Installing: /usr/local/include/tutorial/tutorial/swig/tutorial_swig.i
-- Installing: /usr/local/include/tutorial/tutorial/swig/tutorial_swig_doc.i
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/__init__.py
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/chat_blocks.py
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/multiply_py_ff.py
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/qpsk_demod_py_cb.py
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/__init__.pyc
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/chat_blocks.pyc
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/multiply_py_ff.pyc
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/qpsk_demod_py_cb.pyc
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/__init__.pyo
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/chat_blocks.pyo
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/multiply_py_ff.pyo
-- Installing: /usr/local/lib/python2.7/dist-packages/tutorial/qpsk_demod_py_cb.pyo
-- Installing: /usr/local/share/gnuradio/grc/blocks/tutorial_my_qpsk_demod_cb.xml
-- Installing: /usr/local/share/gnuradio/grc/blocks/tutorial_my_qpsk_demod_tags_cb.xml
-- Installing: /usr/local/share/gnuradio/grc/blocks/tutorial_chat_receiver.xml
-- Installing: /usr/local/share/gnuradio/grc/blocks/tutorial_qpsk_demod_py_cb.xml
-- Installing: /usr/local/share/gnuradio/grc/blocks/tutorial_multiply_py_ff.xml
-- Installing: /usr/local/share/gnuradio/grc/blocks/tutorial_chat_sanitizer.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/classgr_1_1tutorial_1_1my__qpsk__demod__cb__impl.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/dir_d44c64559bbebec7f509842c48db8b23.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/index.xsd
-- Installing: /usr/local/share/doc/gr-tutorial/xml/group__block.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/main__page_8dox.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/namespacegr.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/my__qpsk__demod__cb_8h.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/dir_97aefd0d527b934f1d99a682da8fe6a9.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/compound.xsd
-- Installing: /usr/local/share/doc/gr-tutorial/xml/my__qpsk__demod__tags__cb__impl_8h.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/namespacestd.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/combine.xslt
-- Installing: /usr/local/share/doc/gr-tutorial/xml/my__qpsk__demod__cb__impl_8h.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/indexpage.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/group__defs_8dox.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/classgr_1_1tutorial_1_1my__qpsk__demod__cb.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/index.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/classgr_1_1tutorial_1_1my__qpsk__demod__tags__cb__impl.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/api_8h.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/classgr_1_1tutorial_1_1my__qpsk__demod__tags__cb.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/dir_bebffc0fe021578eb5c034119e3e6a53.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/my__qpsk__demod__tags__cb_8h.xml
-- Installing: /usr/local/share/doc/gr-tutorial/xml/namespacegr_1_1tutorial.xml
-- Installing: /usr/local/share/doc/gr-tutorial/html
-- Installing: /usr/local/share/doc/gr-tutorial/html/functions.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__cb__impl.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/sync_off.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/jquery.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/doxygen.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/dir_d44c64559bbebec7f509842c48db8b23.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/open.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/arrowright.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/navtree.css
-- Installing: /usr/local/share/doc/gr-tutorial/html/api_8h.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/tab_h.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/folderopen.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/tab_a.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/namespacegr.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/splitbar.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__tags__cb__impl.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/resize.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__cb.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/main__page_8dox.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/nav_g.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/tab_s.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/dir_97aefd0d527b934f1d99a682da8fe6a9.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__cb__impl-members.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/namespacegr_1_1tutorial.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__tags__cb__impl-members.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/hierarchy.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/navtreeindex0.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/my__qpsk__demod__tags__cb__impl_8h.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__cb.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__tags__cb__impl.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/dynsections.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/my__qpsk__demod__tags__cb_8h.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/modules.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/files.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/dir_bebffc0fe021578eb5c034119e3e6a53.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/api_8h_source.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/modules.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/my__qpsk__demod__cb_8h_source.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/tab_b.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/my__qpsk__demod__tags__cb_8h_source.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/doxygen.css
-- Installing: /usr/local/share/doc/gr-tutorial/html/index.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/files.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/arrowdown.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/namespacegr.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/classes.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/hierarchy.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__tags__cb-members.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/functions_type.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/annotated.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/my__qpsk__demod__cb__impl_8h_source.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/functions_func.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__cb.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/doc.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/nav_h.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/nav_f.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/folderclosed.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/sync_on.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/tabs.css
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__tags__cb__impl.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/globals_defs.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/group__block.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/closed.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/namespacegr_1_1tutorial.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__tags__cb.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/annotated_dup.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/navtree.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__tags__cb.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__cb__impl.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/my__qpsk__demod__cb__impl_8h.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/group__defs_8dox.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__cb-members.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/my__qpsk__demod__cb_8h.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/my__qpsk__demod__tags__cb__impl_8h_source.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/navtreedata.js
-- Installing: /usr/local/share/doc/gr-tutorial/html/api_8h.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/globals.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__tags__cb.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/classgr_1_1tutorial_1_1my__qpsk__demod__cb__impl.html
-- Installing: /usr/local/share/doc/gr-tutorial/html/bc_s.png
-- Installing: /usr/local/share/doc/gr-tutorial/html/bdwn.png
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/README
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial4/my_qpsk_demod.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial5/tags_ramp_delay.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial5/demod_with_tags.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial5/tags_simple_example.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial5/tags_decim.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial5/chat_app.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial5/tags_interp.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial6/gr-tutorial-qpsk-tx.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial6/gr-tutorial-simple-spec-an.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial6/gr-tutorial-broadcast-fm-rx.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial6/gr-tutorial-qpsk-tx-uhd.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial7/mpsk_stage3.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial7/symbol_sampling_diff.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial7/mpsk_stage5.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial7/mpsk_stage6.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial7/mpsk_stage1.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial7/symbol_sampling.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial7/symbol_differential_filter_phases.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial7/multipath_sim.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial7/mpsk_rrc_rolloff.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial7/mpsk_stage2.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial7/symbol_differential_filter.grc
-- Installing: /usr/local/share/gr-tutorial/examples/tutorials/tutorial7/mpsk_stage4.grc

and after that i run python2 and got this

damaswangsa@damaswangsa-Lenovo-ideapad-500S-14ISK:~/Downloads/gr-tutorial/build$ python2
Python 2.7.12 (default, Nov 20 2017, 18:23:56) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tutorial
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/tutorial/__init__.py", line 45, in <module>
    from tutorial_swig import *
  File "/usr/local/lib/python2.7/dist-packages/tutorial/tutorial_swig.py", line 28, in <module>
    _tutorial_swig = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/tutorial/tutorial_swig.py", line 24, in swig_import_helper
    _mod = imp.load_module('_tutorial_swig', fp, pathname, description)
ImportError: libgnuradio-tutorial.so: cannot open shared object file: No such file or directory
>>> 

i'm agree with you sir, i think this promblems come from my system not from OOT module. i'll try to look it then

from gr-satellites.

daniestevez avatar daniestevez commented on May 29, 2024

Did you run ldconfig (as root) after running the make install of gr-tutorial?

from gr-satellites.

damaswangsa avatar damaswangsa commented on May 29, 2024

i forgot sir, but after i try again, that error didnt come.

damaswangsa@damaswangsa-Lenovo-ideapad-500S-14ISK:~/Downloads/gr-tutorial/build$ python2
Python 2.7.12 (default, Nov 20 2017, 18:23:56) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tutorial
>>> 

from gr-satellites.

daniestevez avatar daniestevez commented on May 29, 2024

Interesting. gr-tutorial worked as expected.

So it seems the problem is related to something wrong within your system, but in some way specific to gr-satellites, as it doesn't affect all OOT modules. Could you try to run with gdb the import satellites within python2?

from gr-satellites.

damaswangsa avatar damaswangsa commented on May 29, 2024

i don't get what you mean sir, perhaps like this?

damaswangsa@damaswangsa-Lenovo-ideapad-500S-14ISK:~/Downloads/gr-satellites/tests$ gdb python2
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python2...(no debugging symbols found)...done.
(gdb) import satellites
Undefined command: "import".  Try "help".
(gdb) quit

from gr-satellites.

daniestevez avatar daniestevez commented on May 29, 2024

No. Something like this:

$ gdb python2
GNU gdb (Gentoo 7.12.1 vanilla) 7.12.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python2...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/python2 
process 18694 is executing new program: /usr/bin/python2.7
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Python 2.7.14 (default, Dec 26 2017, 18:02:08) 
[GCC 6.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import satellites

from gr-satellites.

damaswangsa avatar damaswangsa commented on May 29, 2024

sry late reply sir, this is what i got when i typed it

damaswangsa@damaswangsa-Lenovo-ideapad-500S-14ISK:~$ gdb python2
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python2...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/python2 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Python 2.7.12 (default, Nov 20 2017, 18:23:56) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import satellites
warning: Corrupted shared library list: 0xa0c510 != 0xa65370

Program received signal SIGSEGV, Segmentation fault.
0x0000000000050130 in ?? ()
(gdb) 

from gr-satellites.

daniestevez avatar daniestevez commented on May 29, 2024

This doesn't provide much useful information about the cause of the SIGSEGV. Probably it would be necessary to compile things with debugging symbols and then do some investigation with gdb.

I'm going to close this, as by now it seems that this is mainly a problem with your system and there is not enough information to try to debug it properly.

from gr-satellites.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.