[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] error in fm_tx4(fm transmitter) example

From: Tushar Patel
Subject: Re: [Discuss-gnuradio] error in fm_tx4(fm transmitter) example
Date: Tue, 28 Apr 2009 16:35:40 -0700

I made the uninstall from its source directory, from where I configure the gnuradio 3.1.3.a
But after that I do not able to fine the fm_tx4.py example in /usr/local/share/gnuradio/examples/usrp directory.

So I do the ./bootstrap, configure and make && make check && make install from the gnuradio 3.2 source.
eventhough i do not get any example in /usr/local/share/gnuradio/examples/usrp,
so I did "make install" from gnuradio 3.2/gnuradio-examples directory. then all usrp example build in
/usr/local/share/gnuradio/examples/usrp directory.
 But after that I run the same command for fm_tx4.py

address@hidden usrp]# python fm_tx4.py -T A -f 100M

But i got the same error.
I did two times but same I do not able to figure out what is the problem.
please guide me.
paste the o/p of fm_tx example

Using TX d'board A: Basic Tx
Traceback (most recent call last):
  File "fm_tx4.py", line 197, in <module>
    main ()
  File "fm_tx4.py", line 193, in main
    app = stdgui2.stdapp(fm_tx_block, "Multichannel FM Tx", nstatus=1)
  File "/usr/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line 36, in __init__
    wx.App.__init__ (self, redirect=False)
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7935, in __init__
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7509, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line 39, in OnInit
    frame = stdframe (self.top_block_maker, self.title, self._nstatus)
  File "/usr/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line 60, in __init__
    self.panel = stdpanel (self, self, top_block_maker)
  File "/usr/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line 81, in __init__
    self.top_block = top_block_maker (frame, self, vbox, sys.argv)
  File "fm_tx4.py", line 127, in __init__
    if not self.set_freq(options.freq):
  File "fm_tx4.py", line 180, in set_freq
    r = self.u.tune(self.subdev.which(), self.subdev, target_freq)
AttributeError: 'db_basic_tx' object has no attribute 'which'

On Mon, Apr 27, 2009 at 7:42 AM, Johnathan Corgan <address@hidden> wrote:
On Sun, Apr 26, 2009 at 11:33 PM, Tushar Patel <address@hidden> wrote:

> No, I did not make any uninstallation,
> I was under impression that new version  will install on previous one.
> If it is not so, then please guide me how to make uninstallation of previous
> version,
> as I build GNURadio 3.2 , it build on same directory like
> /usr/local/share/gnuradio
> so how can i uninstall it?
> please guide me

The way to uninstall GNU Radio is to run 'make uninstall' from the
source code directory you built and installed it from.  However, you
may not have that lying around.  You could rebuild the 3.1.3 source
tree (bootstrap, ./configure steps only), then run 'make uninstall'.

Otherwise, you will need to search through /usr/local/ to file the
relevant GNU Radio files and manually delete them.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]