I’m endeavouring to get gnuradio+grc working in Fedora 14 on my i386
computers. I’ve tried two now, and I’m plagued with the same problems -
they
just won’t execute.
I suspect there’s a problem which went undetected, maybe a python file
version mismatch or some other inconsistency. I’m trying hard to isolate
the
source of the problem.
I also wrote a very basic grc which consisted of a sound source and
attached
it to different sinks (audio sync / waterfall sink / scope sink) - each
producing the same error shown below, when executed.
I’m trying different things, but any input would be greatly appreciated
=)
Verbose:
Traceback (most recent call last):
File “/usr/share/grc/src/ExecFlowGraphGUI.py”, line 231, in OnInit
self.SetTopWindow(FlowGraphFrame(self.flow_graph_file_path))#first
argument is the flow graph
File “/usr/share/grc/src/ExecFlowGraphGUI.py”, line 165, in init
self._start() #start the flow graph
File “/usr/share/grc/src/ExecFlowGraph.py”, line 54, in _start
self.start()
File “/usr/lib/python2.7/site-packages/gnuradio/gr/top_block.py”, line
97,
in start
self._tb.start()
File
“/usr/lib/python2.7/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py”,
line 1455, in start
return _gnuradio_swig_py_runtime.gr_top_block_sptr_start(self)
RuntimeError: In hierarchical block scope throttle, output 0 is not
connected internally
Done
RPM Package list on Fedora14 notebook PC (basically identical to the
other
F14 PC)
it to different sinks (audio sync / waterfall sink / scope sink) - each
producing the same error shown below, when executed.
I’m trying different things, but any input would be greatly appreciated =)
Looking at your version information below, you’re running a very old
version of the GNU Radio Companion (grc 0.70). You’ll need to update
it, which I think will solve your problem. I actually don’t know if we
have a newer package of GRC out there, so you might have to
compile/install it yourself (Josh, let me know if I’m wrong about
this).
source of the problem.
version of the GNU Radio Companion (grc 0.70). You’ll need to update
it, which I think will solve your problem. I actually don’t know if we
have a newer package of GRC out there, so you might have to
compile/install it yourself (Josh, let me know if I’m wrong about
this).
Thank you for pointing that out! I went ahead and obtained gnuradio
3.3.0
(sourcecode) and I’m setting up my “faster” Fedora PC to compile it.
If this works, I suppose I should share the procedure with Fedora so
they
can make the necessary changes to the F14 repo so that others can have a
working configuration without the need for compiling.
I suspect there’s a problem which went undetected, maybe a python file
=)
Thank you for pointing that out! I went ahead and obtained gnuradio 3.3.0
(sourcecode) and I’m setting up my “faster” Fedora PC to compile it.
If this works, I suppose I should share the procedure with Fedora so they
can make the necessary changes to the F14 repo so that others can have a
working configuration without the need for compiling.
Unfortunately the compile failed - I ran into compile errors with things
in
the usrp2 and gr-usrp2 directories, so I removed them from the Makefile
and
the compile eventually went through… But make install didn’t seem to
install any new grc binaries. I made sure to run configure with
–with-grc,
so I don’t think it’s being skipped.
Is anybody else out there working on getting gnuradio working in
Fedora14
who would like to join forces?
My next step is to install Ubuntu (not to use, but as a reference),
which is
what I saw a user in a youtube video using to demonstrate a touch tones
app.
I’ll try and transplant grc to Fedora, or at least compare the two
configurations to hopefully expose a difference in the python files so I
can
get it working.
My next step is to install Ubuntu (not to use, but as a reference),
which is what I saw a user in a youtube video using to demonstrate a
touch tones app. I’ll try and transplant grc to Fedora, or at least
compare the two configurations to hopefully expose a difference in the
python files so I can get it working.
I’m trying different things, but any input would be greatly appreciated
Thank you for pointing that out! I went ahead and obtained gnuradio 3.3.0
(sourcecode) and I’m setting up my “faster” Fedora PC to compile it.
If this works, I suppose I should share the procedure with Fedora so they
can make the necessary changes to the F14 repo so that others can have a
working configuration without the need for compiling.
BH
There has been work on an RPM for Fedora 14, but the spec file doesn’t
include GRC.
In general, though, we need to be better about keeping these guys up to
date.
If you go the UHD route (which I recommend), you’ll need to set
PKG_CONFIG_PATH to point at /usr/local/lib/pkgconfig before doing the
configure and make steps for gnu radio.
On Thu, Dec 30, 2010 at 12:48 PM, Marcus D. Leech [email protected]
wrote:
Is anybody else out there working on getting gnuradio working in Fedora14
PKG_CONFIG_PATH to point at /usr/local/lib/pkgconfig before doing the
configure and make steps for gnu radio.
–
Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org
Brad,
Follow what Marcus said. I just wanted to chime in and say that you
shouldn’t ever need to do anything with the Makefiles. If a component
fails in configure, make will not try to build it. If you need to, you
can explicitly remove a component with ./configure
–disable-.
If you go the UHD route (which I recommend), you’ll need to set
PKG_CONFIG_PATH to point at /usr/local/lib/pkgconfig before doing the
configure and make steps for gnu radio.
Thank you both for your suggestions,
I’ll go ahead and carefully follow the instructions on the gnuradio wiki
page “FedoraInstall” under “gnuradio from tarball”.
ran gnuradio-companion, and it’s now producing the error shown below,
File “/usr/local/bin/gnuradio-companion”, line 45, in
“”"%gr.version()
AttributeError: ‘module’ object has no attribute ‘version’
That’s almost certainly because your PYTHONPATH is either not set, or
set to the wrong thing.
Under F14, on a 32-bit machine, it should be:
PYTHONPATH=/usr/local/lib/python2.7/site-packages
Also make sure that /usr/local/lib is in your ld.so cache
On Thu, Dec 30, 2010 at 2:05 PM, Marcus D. Leech [email protected]
wrote:
Do it from the GIT source. It’s almost always stable enough to use.
Compilation from GIT source was successful. I ran make install, and ran
gnuradio-companion, and it’s now producing the error shown below, which
I am
investigating…
Marcus - Any chance you could send me the output from an “rpm -qa” on
your
box, so I can compare packages? I’m wondering what could be different
between your Fedora14 (which as you say, works) , and mine, which has so
many problems…
[root@gto ~]# gnuradio-companion
Traceback (most recent call last):
File “/usr/local/bin/gnuradio-companion”, line 45, in
“”"%gr.version()
AttributeError: ‘module’ object has no attribute ‘version’
[root@gto ~]# gnuradio-companion
Traceback (most recent call last):
File “/usr/local/bin/gnuradio-companion”, line 45, in
“”"%gr.version()
AttributeError: ‘module’ object has no attribute ‘version’
it looks like its importing from an older install of gnuradio that didnt
have the gr_constants* stuff. Make sure to clean out old gnuradio
installs tarballs, rpms, etc…
it looks like its importing from an older install of gnuradio that didnt
have the gr_constants* stuff. Make sure to clean out old gnuradio
installs tarballs, rpms, etc…
So after I set the PYTHONPATH to the one in /usr/local/lib… specified
by
Marcus, ***gnuradio-companion started up for the first time! ***
And you are correct - I did in fact have an old gnuradio RPM hanging
around
out there (it was a dependency of some other AX.25 stuff I was using so
I
thought I could get away with “overwriting it” with the compiled version
of
gnuradio, but I was wrong.).
Here’s what I’ve learned from this experience
#1 - It is possible to run gnuradio + grc on Fedora 14 #2 - Install all development packages required to make the build process
successful (if unsuccesful then it’s due to missing dependency package) #3 - Install gnuradio + grc from git source (as specified on gnuradio
wiki
page “BuildGuide”. #4 - Make sure that PYTHONPATH=/usr/local/lib/
python2.7/site-packages. If not, then there is another instance of
something
(gnuradio?) conflicting with the newly built one. #5 - The gnuradio and grc which currently ship with Fedora 14 are
outdated,
and seem to be broken/misconfigured (they don’t work out of hte box).
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.