GRC: 'Utils' not defined

G’day,

Its been a while since I last used GRC and a lot has changed since then.
I’ve
built and installed GNU-Radio after merging GRC. I can run the sample
and
also create new circuits, but when load older GRC files I’m getting the
following error:

Loading: “/home/wulf/dsp/ssb.grc.xml”
Parser Error: global name ‘Utils’ is not defined

Failue

I can’t find any reference to ‘Utils’ in any of these files and failed
to find
any reference to a possible solution using Google. Can someone push me
in the
right direction?

Many thanks in advance,

cheerio Berndt

On Sun, Sep 14, 2008 at 8:26 AM, Berndt Josef W. [email protected]
wrote:

I can’t find any reference to ‘Utils’ in any of these files and failed to find
any reference to a possible solution using Google. Can someone push me in the
right direction?

It’s not my area of expertise, but the Utils class is defined in
init.py here:

http://gnuradio.org/trac/browser/gnuradio/trunk/grc/src/utils

There is also a convert.py utility which supposedly converts old GRC
flowgraphs to the new format. I remember Josh saying something about
needing a conversion, but that conversion was possible.

As I said, I am no expert in GRC and Josh is obviously the authority -
but good luck with your older GRC files.

Brian

There is a conversion script that is supposed to automatically convert
older grc.xml files. Anyway, when I was reorganizing grc I forgot to
update an import statement in the converter.

Its fixed now.

-Josh

G’day Josh,

thanks, this fixed the problem. I can now load and convert the old
applications.

cheerio Berndt