discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Problem in the update


From: frankist
Subject: Re: [Discuss-gnuradio] Problem in the update
Date: Tue, 10 Apr 2012 08:13:56 -0700 (PDT)

Ok. But shouldn't gmsk.py and other scripts that come with gnuradio be
updated when there is an update? Does this mean that some other scripts .py
that comes with the installation of gnuradio are also outdated and don't
work if I don't change them?


Martin Braun-4 wrote:
> 
> On Tue, Apr 10, 2012 at 05:45:45AM -0700, frankist wrote:
>> I made an update of gnuradio in my university lab computers. They were
>> using
>> the 3.4.1 version, and I changed it to 3.5.3 version. However, some of
>> the
>> programs made for the old versions stopped working. When I run the script
>> made by another student for the old version, I get this error:
>> 
>> traceback(most recent call last):
>> (...)
>> File "/usr/local/lib/python2.6/dist-packages/gnuradio/blks2impl/gmsk.py",
>> line 223, in __init__
>>      self.clock_recovery = gr.clock_recovery_mm_ff(self._omega,
>> self._gain_omega,
>> AttributeError: 'module' object has no attribute 'clock_recovery_mm_ff'
>> 
>> Which is basically saying that a script installed by the gnuradio
>> installation itself
>> (/usr/local/lib/python2.6/dist-packages/gnuradio/blks2impl/gmsk.py) is
>> still
>> working with the old methods since 'clock_recovery_mm_ff' doesn't exist
>> anymore.
>> 
>> Does this mean that the installation wasn't well made?
> 
> No, there was an API change (this was announced, though). clock_recovery,
> among other things, was moved to gr-digital.
> 
> Try self.clock_recovery = digital.clock_recovery_mm_ff(...)
> 
> (of course, you have to 'from gnuradio import digital').
> 
> Good luck
> MB
> 
> -- 
> Karlsruhe Institute of Technology (KIT)
> Communications Engineering Lab (CEL)
> 
> Dipl.-Ing. Martin Braun
> Research Associate
> 
> Kaiserstraße 12
> Building 05.01
> 76131 Karlsruhe
> 
> Phone: +49 721 608-43790
> Fax: +49 721 608-46071
> www.cel.kit.edu
> 
> KIT -- University of the State of Baden-Württemberg and
> National Laboratory of the Helmholtz Association
> 
>  
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Problem-in-the-update-tp33661146p33662146.html
Sent from the GnuRadio mailing list archive at Nabble.com.




reply via email to

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