Re: [Discuss-gnuradio] ImportError: No module named _osmosdr_swig

2017-05-19 Thread Michael Dickens
Great summary, Fernando. You're welcome for the assistance & thank you for persevering! - MLD On Fri, May 19, 2017, at 04:55 AM, Fernando wrote: > After a lot of research guided by Michel Dickens, we found out the solution ___ Discuss-gnuradio mailing

Re: [Discuss-gnuradio] ImportError: No module named _osmosdr_swig

2017-05-19 Thread Fernando
After a lot of research guided by Michel Dickens, we found out the solution The symptom: GRC crashes when placing osmosdr source and osmosdr sink in a diagram on Opensuse Leap 42.2. Both gnuradio and gr_osmosdr installed from hamradio repository, but I had tried other repositories also with same

Re: [Discuss-gnuradio] ImportError: No module named _osmosdr_swig

2017-05-11 Thread Bastian Bloessl
Maybe it’s a problem with loading the shared library, similar to this issue: https://github.com/bastibl/gr-ieee802-11/issues/74 Best, Bastian > On 10. May 2017, at 23:19, Fernando wrote: > > On 10/05/17 22:43, Cinaed Simson wrote: >> The odd thing is

Re: [Discuss-gnuradio] ImportError: No module named _osmosdr_swig

2017-05-10 Thread Fernando
On 10/05/17 22:43, Cinaed Simson wrote: > The odd thing is gnuradio-companion should have complained if the > PYTHONPATH wasn't being set. > > So it's being set somewhere else. > > How do you know you only have one installation of gnuradio installed? Opensuse has a packet manager similar to

Re: [Discuss-gnuradio] ImportError: No module named _osmosdr_swig

2017-05-10 Thread Cinaed Simson
On 05/10/2017 06:56 AM, Fernando wrote: > fernando@andromeda:~> python2.7 -c "import os; > print(os.environ.get('PYTHONPATH', ''))" > > fernando@andromeda:~> python --version > Python 2.7.12 > fernando@andromeda:~> > > > fernando@andromeda:~> export

Re: [Discuss-gnuradio] ImportError: No module named _osmosdr_swig

2017-05-10 Thread Fernando
fernando@andromeda:~> python2.7 -c "import os; print(os.environ.get('PYTHONPATH', ''))" fernando@andromeda:~> python --version Python 2.7.12 fernando@andromeda:~> fernando@andromeda:~> export PYTHONPATH="/usr/lib64/python2.7/site-packages" fernando@andromeda:~> python2.7 -c "import os;

Re: [Discuss-gnuradio] ImportError: No module named _osmosdr_swig

2017-05-09 Thread Cinaed Simson
On 05/09/2017 12:23 AM, Fernando wrote: > > > > On 09/05/17 07:02, Cinaed Simson wrote: >> On 05/08/2017 03:44 PM, Fernando wrote: >>> My GRC crashes when I place a osmocom source and osmocon sink. >>> >>> Doing some research I have found that is a python problem with _osmosdr_swig >>> >>>

Re: [Discuss-gnuradio] ImportError: No module named _osmosdr_swig

2017-05-09 Thread Michael Dickens
Hi Fernando - I've seen this issue on some older Mac OS X installs (e.g., 10.7 or 10.8 from 2011/2012). I have yet to figure out what's going on, and it works for MacOS X 10.9 and newer 100% as far as I can tell so I'm not concentrating efforts on the older no-longer- supported OSs. Your Opensuse

Re: [Discuss-gnuradio] ImportError: No module named _osmosdr_swig

2017-05-09 Thread Fernando
On 09/05/17 07:02, Cinaed Simson wrote: > On 05/08/2017 03:44 PM, Fernando wrote: >> My GRC crashes when I place a osmocom source and osmocon sink. >> >> Doing some research I have found that is a python problem with _osmosdr_swig >> >> fernando@andromeda:~> python -c 'import osmosdr' Traceback

Re: [Discuss-gnuradio] ImportError: No module named _osmosdr_swig

2017-05-08 Thread Cinaed Simson
On 05/08/2017 03:44 PM, Fernando wrote: > My GRC crashes when I place a osmocom source and osmocon sink. > > Doing some research I have found that is a python problem with _osmosdr_swig > > fernando@andromeda:~> python -c 'import osmosdr' Traceback (most recent > call last): File "", line 1,

[Discuss-gnuradio] ImportError: No module named _osmosdr_swig

2017-05-08 Thread Fernando
My GRC crashes when I place a osmocom source and osmocon sink. Doing some research I have found that is a python problem with _osmosdr_swig fernando@andromeda:~> python -c 'import osmosdr' Traceback (most recent call last): File "", line 1, inFile