Grc from svn on Jaunty yields AttributeError: 'module' object has no attribute 'version'

Hi,

I’m not a python person, but it appears that there are some problems
after I updated my copy of gnuradio from svn. Make and make check work
fine, but when I start grc, I get the following grumbles:

frohro@frohro-d610:~/Desktop/gnuradio/grc/scripts$ ./grc
Traceback (most recent call last):
File “./grc”, line 45, in
“”"%gr.version()
AttributeError: ‘module’ object has no attribute ‘version’
frohro@frohro-d610:~/Desktop/gnuradio/grc/scripts$

Any tips?

Thanks,

Rob

I’m not a python person, but it appears that there are some problems
after I updated my copy of gnuradio from svn. Make and make check work
fine, but when I start grc, I get the following grumbles:

It looks like your installed gnuradio is not up-to-date with your svn
checkout. Did you do a make install?

frohro@frohro-d610:~/Desktop/gnuradio/grc/scripts$ ./grc

Also, when you do a make install, the grc script will be installed in
your PATH.

Traceback (most recent call last):
File “./grc”, line 45, in
“”"%gr.version()
AttributeError: ‘module’ object has no attribute ‘version’
frohro@frohro-d610:~/Desktop/gnuradio/grc/scripts$

-Josh

Hi Josh,

Yes, I did a sudo make install. I was just playing with the grc script
to see if I could fix the errors in the local directory, but was
unsuccessful with that, so posted my question.

I did build 3.2.2 and install it and it works just fine, just not the
latest from svn as of tonight.

Thanks,

Rob

If not that, then try cleaning out all the gnuradio stuff on your system
in /usr and /usr/local before doing a make install. Then run ldconfig
for good luck.

Also, were on git now. You can get the latest by
git clone gnuradio.git - GNU Radio gnuradio

-Josh

Thanks Josh,

I did a sudo make uninstall from the latest installation, and the I used
git to get the latest code as you specified, and ./bootstrap;
.configure; make; sudo ldconfig; sudo make install and now it works just
fine!

Thanks!

Rob