|
From: | Sonny Rajagopalan |
Subject: | Re: [Discuss-gnuradio] RunTime error in runtime_swig.py |
Date: | Tue, 31 Jan 2017 13:35:56 -0500 |
Hi Sonny,
that's why I explicitly asked you to confirm you didn't have multiple versions installed before we went down the detailed backtrace route...
Ah well, I'm happy it's sorted out now :)
Cheers,
Marcus
On 31.01.2017 17:59, Sonny Rajagopalan wrote:
Thanks, Kevin!
I think that was the issue. I had, in my early days of learning about SDR, installed another version of gnuradio. Also, I was not calling the pybombs-installed gnuradio correctly. Instead of
$ pybombs run gnuradio-companion
I was calling it like so:
$ gnuradio-companion
That is another error.
I have everything working as expected now (i.e., got the OP flowgraph (and more)) working.
I uninstalled all gnuradio-* components (sudo apt-get remove --purge libgnuradio*, and maybe more; try apt list --installed | grep gnuradio) installed by Ubuntu's apt-get and then, using pybombs (see https://github.com/gnuradio/pybombs ), rebuilt gnuradio and added the necessary recipes.
So, here's what I did:
$ apt list --installed | grep gnuradio$ sudo apt-get remove --purge libgnuradio* # again, do the above and this line for everything else you may have installed using apt-get, e.g., rtl-sdr, osmosdr etc.$ pybombs -vv rebuild gnuradio$ pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git # may not be needed, but redid anyway.$ pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git # may not be needed, but redid anyway.$ pybombs install gr-osmosdr
Marcus, thanks for your on the matter! I hope this helps someone.
On Mon, Jan 30, 2017 at 7:50 PM, Kevin Reid <address@hidden> wrote:
On Mon, Jan 30, 2017 at 11:12 AM, Sonny Rajagopalan <address@hidden> wrote:
RuntimeError: list contains invalid format!FWIW, I've seen this error before, and if I remember correctly it's a symptom of multiple versions installed (such that the GR Python code is not the same version as the GR native code).
_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/ listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |