[Top][All Lists]

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

[Discuss-gnuradio] GRC questions

From: Tom Rondeau
Subject: [Discuss-gnuradio] GRC questions
Date: Thu, 21 Apr 2011 12:19:02 -0400


Two issues in GNU Radio companion.

I'm working on a hier_block in GRC and want it to have multiple outputs. When I generate the block, though, I get a few problems. First, only one output pad is exposed. Looking at the generated XML file, I see that only one source block is being created (I have four pad sinks). When I look at the Python file, the io signature for the output is correct, but any calls to the output are all (self,0), so there seems to be no distinction of what pad sink is being used.

When I hand-edited the files to what they should be, the block works fine in GRC.

Is this a bug or am I doing something wrong?

Also, when I double-click on a QtGui sink, I get this message in my console:

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/grc/gui/Param.py", line 56, in _update_gui
    Utils.parse_template(TIP_MARKUP_TMPL, param=self.param).strip(),
  File "/usr/local/lib/python2.6/dist-packages/gnuradio/grc/gui/Utils.py", line 89, in parse_template
    return str(Template(tmpl_str, kwargs))
  File "/usr/lib/pymodules/python2.6/Cheetah/Template.py", line 981, in __str__
    def __str__(self): return getattr(self, mainMethName)()
  File "cheetah_DynamicallyCompiledCheetahTemplate_1303402270_04_59718.py", line 131, in respond
  File "cheetah_DynamicallyCompiledCheetahTemplate_1303402270_04_59718.py", line 88, in truncate
TypeError: <lambda>() takes exactly 1 argument (0 given)


reply via email to

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