[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Is gr-gpio broken?
From: |
Johnathan Corgan |
Subject: |
Re: [Discuss-gnuradio] Is gr-gpio broken? |
Date: |
Mon, 22 Mar 2010 15:49:15 -0700 |
On Mon, Mar 22, 2010 at 15:42, Drew Read <address@hidden> wrote:
> Excellent! Thanks for your help that's working now.
> Although another error occurs now saying:
> $ sudo gpio_usrp_fft.py -F -d 128 --digital
> if u.db[0][0].dbid() >= 0: # dbid is < 0 if there's no d'board or
> a problem
> TypeError: 'instancemethod' object is unsubscriptable
>
> Changing line 42 in gpio_usrp_fft.py from "if u.db[0][0].dbid() >= 0:" to
> "if u.db()[0][0].dbid() >= 0:" seems to fix that though.
This is pretty old code that was overlooked when updating to the 3.2
daughterboard API--thanks for the catch. I'm not sure the above is
the correct fix, though--I think it should be "u.db(0, 0).dbid()". I
can't check at the moment.
Johnathan