It's not broken. Remove the line import gpio_swig from the gpio.py file. I think I sent a patch for this, but the line probably gets added automatically...
juha On Wed, Mar 17, 2010 at 23:41, Drew Read <andrew.r...@tait.co.nz> wrote: > Hi all, > > Am I doing something stupid or should I raise this as an issue? > > I've checked out gnuradio version '3.3git-656-g18ecca1b' from git. > Configured and built it. > And when I try to run gpio_usrp_fft.py I get this error: > > Traceback (most recent call last): > File "/usr/local/bin/gpio_usrp_fft.py", line 33, in <module> > from gnuradio import gpio > File "/usr/local/lib/python2.5/site-packages/gnuradio/gpio/__init__.py", > line 34, in <module> > exec "from %s import *" % (_f,) > File "<string>", line 1, in <module> > File "/usr/local/lib/python2.5/site-packages/gnuradio/gpio/gpio.py", line > 1, in <module> > from gpio_swig import * > ImportError: No module named gpio_swig > > > I know that gr-gpio was working ages ago in gnuradio-3.1.3 which has a > gr-gpio/src/lib folder while the latest version of gnuradio doesn't. > That folder used to have gpio_swig in it and I've tried just copy-pasting > the old folder in but haven't had much success... > > Cheers, > Drew > > My configure output was this... > ********************************************************************* > The following components were skipped either because you asked not > to build them or they didn't pass configuration checks: > > usrp2-firmware > > These components will not be built. > > > ********************************************************************* > The following GNU Radio components have been successfully configured: > > config > gruel > omnithread > gnuradio-core > mblock > usrp > usrp2 > vrt > gr-usrp > gr-usrp2 > gr-msdd6000 > gr-audio-alsa > gr-audio-oss > gr-atsc > gr-cvsd-vocoder > gr-gpio > gr-gsm-fr-vocoder > gr-noaa > gr-pager > gr-radar-mono > gr-radio-astronomy > gr-trellis > gr-video-sdl > gr-wxgui > gr-qtgui > gr-sounder > gr-utils > gnuradio-examples > grc > docs > > You my now run the make command to build these components. > > ********************************************************************* > The following components were skipped either because you asked not > to build them or they didn't pass configuration checks: > > gcell > gr-gcell > gr-audio-jack > gr-audio-osx > gr-audio-portaudio > gr-audio-windows > gr-comedi > > These components will not be built. > > Configured GNU Radio release 3.3git-656-g18ecca1b for build. > > ________________________________ > This email, including any attachments, is only for the intended addressee. > It is subject to copyright, confidential and may be the subject of legal or > other privilege, none of which is waived or lost by reason of this > transmission. If the receiver is not the intended addressee, please accept > our apologies, notify us by return, delete all copies and perform no other > act on the email. Unfortunately, we cannot warrant that the email has not > been altered or corrupted during transmission. > ________________________________ > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio