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:

[email protected]:~/Desktop/gnuradio/grc/scripts$ ./grc
Traceback (most recent call last):
File “./grc”, line 45, in
“”"%gr.version()
AttributeError: ‘module’ object has no attribute ‘version’
[email protected]:~/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?

[email protected]:~/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’
[email protected]:~/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 http://gnuradio.org/git/gnuradio.git 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs