Output 0 is not connected internally

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
=)

The error shown when executed

Executing: “/usr/share/grc/examples/audio/phone_tones.grc.xml”

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)

[root@Fedora14Laptop ~]# rpm -qa |egrep -i “gnuradio|grc|python”|sort
abrt-addon-python-1.1.14-1.fc14.i686
at-spi-python-1.32.0-2.fc14.i686
audit-libs-python-2.0.4-4.fc14.i686
cracklib-python-2.8.16-4.fc14.i686
dbus-python-0.83.0-7.fc14.i686
farsight2-python-0.0.21-2.fc14.i686
gnome-python2-2.28.1-3.fc14.i686
gnome-python2-applet-2.32.0-1.fc14.i686
gnome-python2-bonobo-2.28.1-3.fc14.i686
gnome-python2-canvas-2.28.1-3.fc14.i686
gnome-python2-desktop-2.32.0-1.fc14.i686
gnome-python2-extras-2.25.3-25.fc14.1.i686
gnome-python2-gconf-2.28.1-3.fc14.i686
gnome-python2-gnome-2.28.1-3.fc14.i686
gnome-python2-gnomekeyring-2.32.0-1.fc14.i686
gnome-python2-gnomevfs-2.28.1-3.fc14.i686
gnome-python2-gtkhtml2-2.25.3-25.fc14.1.i686
gnome-python2-libegg-2.25.3-25.fc14.1.i686
gnome-python2-libwnck-2.32.0-1.fc14.i686
gnuradio-3.2.2-7.fc14.i686
grc-0.70-6.fc12.noarch
gstreamer-python-0.10.19-1.fc14.i686
libproxy-python-0.4.4-7.fc14.noarch
libselinux-python-2.0.96-6.fc14.1.i686
libsemanage-python-2.0.45-5.fc14.i686
libuser-python-0.56.18-2.fc14.i686
libxml2-python-2.7.7-2.fc14.i686
newt-python-0.52.12-1.fc14.i686
notify-python-0.1.1-15.fc14.i686
policycoreutils-python-2.0.83-33.2.fc14.i686
python-2.7-8.fc14.1.i686
python-beaker-1.5.3-5.fc14.noarch
python-BeautifulSoup-3.0.8.1-2.fc14.noarch
python-boto-1.9b-3.fc14.noarch
python-bugzilla-0.6.1-3.fc14.noarch
python-crypto-2.3-2.fc14.1.i686
python-cryptsetup-0.0.10-3.fc14.i686
python-decorator-3.2.0-3.fc14.noarch
python-deltarpm-3.6-0.2.20100708git.fc14.i686
python-devel-2.7-8.fc14.1.i686
python-ethtool-0.5-1.fc14.i686
python-feedparser-4.1-12.fc14.noarch
python-GnuPGInterface-0.3.2-7.fc14.noarch
python-httplib2-0.6.0-3.fc14.noarch
python-iniparse-0.4-2.fc14.noarch
python-iwlib-0.1-3.fc14.i686
python-libs-2.7-8.fc14.1.i686
python-mako-0.3.4-2.fc14.noarch
python-markupsafe-0.9.2-4.fc14.i686
python-meh-0.10-2.fc14.noarch
python-nose-0.11.3-5.fc14.noarch
python-nss-0.9-9.fc14.i686
python-paste-1.7.4-7.fc14.noarch
python-pyblock-0.52-1.fc14.i686
python-pycurl-7.19.0-7.fc14.i686
python-setuptools-0.6.14-3.fc14.noarch
python-simplejson-2.1.1-4.fc14.i686
python-slip-0.2.13-1.fc14.noarch
python-slip-dbus-0.2.13-1.fc14.noarch
python-telepathy-0.15.18-1.fc14.noarch
python-tempita-0.4-5.fc14.noarch
python-urlgrabber-3.9.1-7.fc14.noarch
python-virtkey-0.50-8.fc14.i686
python-xlib-0.15-0.3.rc1.fc14.noarch
rpm-python-4.8.1-5.fc14.i686
setools-libs-python-3.3.7-8.fc14.i686
wxPython-2.8.11.0-4.fc14.i686

On Wed, Dec 29, 2010 at 10:57 PM, Brad H. [email protected] wrote:

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).

Tom

On Thu, Dec 30, 2010 at 10:26 AM, Tom R.
[email protected]wrote:

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.

BH

On Thu, Dec 30, 2010 at 11:12 AM, Brad H. [email protected] wrote:

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.

On 12/30/2010 12:16 PM, Brad H. wrote:

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.

    Tom

grc is now called gnuradio-companion

For me it’s at- /usr/local/bin/gnuradio-companion

I spent a week trying to figure it out…

HTH,
George

On Thu, Dec 30, 2010 at 11:12 AM, Brad H. [email protected] wrote:

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.

Thanks,
Tom

On 12/30/2010 12:39 PM, George S. Williams wrote:

Fedora14 who would like to join forces?

I’ve been running Gnu Radio on F14 for quite some time.

Following the instructions in the build guide, make sure you have the
pre-reqs, and you should be good to go.

http://gnuradio.org/redmine/wiki/gnuradio/BuildGuide

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-.

Tom

On 12/30/2010 01:51 PM, Brad H. wrote:

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”.

BH

Do it from the GIT source. It’s almost always stable enough to use.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium

On Thu, Dec 30, 2010 at 1:26 PM, Tom R. [email protected]
wrote:

the compile eventually went through… But make install didn’t seem to
pre-reqs, and you should be good to go.

http://gnuradio.org/redmine/wiki/gnuradio/BuildGuide

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”.

BH

On 12/30/2010 04:09 PM, Brad H. wrote:

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…

On Thu, Dec 30, 2010 at 4:44 PM, Josh B. [email protected] wrote:

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…

Aha - you’re right!

$ echo $PYTHONPATH
/usr/lib/python2.7/site-packages/mpich2

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).