[Top][All Lists]

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

Re: [Discuss-gnuradio] GL sinks freeze

From: Josh Blum
Subject: Re: [Discuss-gnuradio] GL sinks freeze
Date: Tue, 29 Dec 2009 21:30:46 -0500

I put the fix on a branch "fix/waterfall" at http://gnuradio.org/git/jblum.git

I also wonder why it did not throw an error: one of the calling methods must have a try/except block, but I couldn't find it.

I put my own try/except in to print out the error. Its seems that the more recent implementation of numpy.choose only handles lookups into tables that are between size 2 and 32.


On Tue, Dec 29, 2009 at 4:16 PM, Nick Foster <address@hidden> wrote:
Thanks Josh -- ended up finding the same thing right around the same time. =) Wonder why Python wouldn't print the error message to stderr. The diff fixes the problem for me as well. I'll take a look at switching back to using numpy.choose, although the for loop seems to work fine for now.


> Date: Sat, 26 Dec 2009 22:52:04 -0500

> From: address@hidden
> To: address@hidden
> CC: address@hidden
> Subject: Re: [Discuss-gnuradio] GL sinks freeze
> I fixed it on my computer, it seems numpy.choose changed implementation
> since the upgrade to 9.10 (or maybe i was misusing it). I replaced the
> numpy.choose call with a python for loop. Its probably slower than a
> numpy table look up. But lets just see if this also fixes the problem
> for you.
> It seems the gnuradio.org server is on vacation again. Attached is the
> diff, try it out.
> -Josh

Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up now.

reply via email to

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