Monday, February 20, 2012

Re: [Discuss-gnuradio] [Patch-gnuradio] Bug in GRC, bugs in grc-examples and unit tests [Was: GRC: Just compile XML, no GUI]

On Sun, Feb 19, 2012 at 04:07:37PM -0500, A. Maitland Bottoms wrote:
> > 724a3ff8798d
> ...
> > It also has a workaround for a bug
> > (http://gnuradio.org/redmine/issues/485) in GRC. Probably should have
> > been two commits.
>
> The horrible, ugly fix for gnuradio-companion is prone to throwing KeyError
> on the
> if os.environ['GR_DONT_LOAD_PREFS']:
> line.
>
> I had better luck changing that one to
> if os.environ.get('GR_DONT_LOAD_PREFS'):

Good point. Well, I did mention it's ugly :) But I should have seen that
myself, thanks for mentioning. I pushed that just in case someone has a
look at my branch.

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

No comments:

Post a Comment