Greetings GnuRadio community
For a week now i am trying to install gnuradio on Ubuntu 14.04. I use
the command to fetch the script
wget http://www.sbrac.org/files/build-gnuradio && chmod a+x
./build-gnuradio & ./build-gnuradioand after 5 (!!!) hours it
finishes succesfully. After that i set the PYTHONPATH as it is directed
after the completion of the installation
export PYTHONPATH=/usr/local/lib/python2.7/dist-packages
Then i execute gnuradio-companion and i get a segmentation fault. I
traced the fault using gdb and the following commands
gdb --args python $(which gnuradio-companion)(gdb) run
(gbd) bt
As a result i get the detailed trace that is attached. Below i pasted
the lines of the trace that shows the error. It seems that it cannot
import gnuradio because the because the PYTHONPATH is not correct. This
drives me crazy because i am sure that the PYTHONPATH is correct.
#94 0x080a9728 in PyRun_FileExFlags (fp=fp@entry=0x837bc38,
filename=filename@entry=0xbffff267 “/usr/local/bin/gnuradio-companion”,
start=start@entry=257,
globals=globals@entry={‘GPollableInputStream’: <type at remote
0xb7a723dc>, ‘main’: <function at remote 0xb6788994>,
‘get_source_tree_root’: <function at remote 0xb678895c>,
‘show_gtk_error_dialog’: <function at remote 0xb7c8ab1c>,
‘builtins’: <module at remote 0xb7d4311c>, ‘check_gnuradio_import’:
<function at remote 0xb678864c>, ‘file’:
‘/usr/local/bin/gnuradio-companion’, ‘gtk’: <module at remote
0xb7a4e56c>, ‘pygtk’: <module at remote 0xb7c8d9a4>, ‘package’:
None, ‘sys’: <module at remote 0xb7d432e4>, ‘optparse’: <module at
remote 0xb7c8df2c>, ‘GR_IMPORT_ERROR_MESSAGE’: ‘Cannot import
gnuradio.\n\nIs the python path environment variable set correctly?\n
All OS: PYTHONPATH\n\nIs the library path environment variable set
correctly?\n Linux: LD_LIBRARY_PATH\n Windows: PATH\n
MacOSX:—Type to continue, or q to quit—
DYLD_LIBRARY_PATH\n’, ‘VERSION_AND_DISCLAIMER_TEMPLATE’: ‘GNU Radio
Companion %s\n\nThis program is part of GNU Radio\nGRC comes with
ABSOLUTELY NO WARRANTY.\nThis is free software, and you are welcome to
redistribute it.\n’, '…(truncated),
locals=locals@entry={‘GPollableInputStream’: <type at remote
0xb7a723dc>, ‘main’: <function at remote 0xb6788994>,
‘get_source_tree_root’: <function at remote 0xb678895c>,
‘show_gtk_error_dialog’: <function at remote 0xb7c8ab1c>,
‘builtins’: <module at remote 0xb7d4311c>, ‘check_gnuradio_import’:
<function at remote 0xb678864c>, ‘file’:
‘/usr/local/bin/gnuradio-companion’, ‘gtk’: <module at remote
0xb7a4e56c>, ‘pygtk’: <module at remote 0xb7c8d9a4>, ‘package’:
None, ‘sys’: <module at remote 0xb7d432e4>, ‘optparse’: <module at
remote 0xb7c8df2c>, ‘GR_IMPORT_ERROR_MESSAGE’: ‘Cannot import
gnuradio.\n\nIs the python path environment variable set correctly?\n
All OS: PYTHONPATH\n\nIs the library path environment variable set
correctly?\n Linux: LD_LIBRARY_PATH\n Windows: PATH\n MacOSX:
DYLD_LIBRARY_PATH\n’, ‘VERSION_AND_DISCLAIMER_TEMPLATE’: ‘GNU Radio
Companion %s\n\nThis program is part of GNU Radio\nGRC comes with
ABSOLUTELY NO WARRANTY.\nThis is free software, and you are welcome to
redistribute it.\n’, '…(truncated), closeit=closeit@entry=1,
flags=flags@entry=0xbfffef2c) at …/Python/pythonrun.c:1356
#95 0x080aa008 in PyRun_SimpleFileExFlags (fp=0x837bc38,
filename=, closeit=1, flags=0xbfffef2c)
at …/Python/pythonrun.c:948
#96 0x080aa0fb in PyRun_AnyFileExFlags (fp=fp@entry=0x837bc38,
filename=,
filename@entry=0xbffff267 “/usr/local/bin/gnuradio-companion”,
closeit=closeit@entry=1, flags=flags@entry=0xbfffef2c)
at …/Python/pythonrun.c:752
#97 0x080aad65 in Py_Main (argc=argc@entry=2,
argv=argv@entry=0xbffff064) at …/Modules/main.c:640
#98 0x080aae44 in main (argc=2, argv=0xbffff064) at
…/Modules/python.c:23
Can anyone help with this? I tried everything i could and i am
desperate!!
Minas