[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Problem in the update
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] Problem in the update |
Date: |
Tue, 10 Apr 2012 15:54:58 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
pgpcRQyjBTD6y.pgp
Description: PGP signature
- [Discuss-gnuradio] Problem in the update, frankist, 2012/04/10
- Re: [Discuss-gnuradio] Problem in the update,
Martin Braun <=
- Re: [Discuss-gnuradio] Problem in the update, frankist, 2012/04/10
- Re: [Discuss-gnuradio] Problem in the update, Martin Braun, 2012/04/10
- Re: [Discuss-gnuradio] Problem in the update, Martin Braun, 2012/04/10
- Re: [Discuss-gnuradio] Problem in the update, frankist, 2012/04/10
- Re: [Discuss-gnuradio] Problem in the update, mleech, 2012/04/10
- Re: [Discuss-gnuradio] Problem in the update, frankist, 2012/04/10
- Re: [Discuss-gnuradio] Problem in the update, Adam Nielsen, 2012/04/10
- Re: [Discuss-gnuradio] Problem in the update, frankist, 2012/04/11
- Re: [Discuss-gnuradio] Problem in the update, frankist, 2012/04/11