discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Can't drag and drop my example block from gnuradio-co


From: M. Ranganathan
Subject: [Discuss-gnuradio] Can't drag and drop my example block from gnuradio-companion
Date: Fri, 2 Oct 2015 17:21:58 -0400

Hello,

I installed gnuradio using pybombs. I am trying to work my way through the tutorial on how to write a block. I did cmake with the flag

cmake -DCMAKE_INSTALL_PREFIX=/home/mranga/gnuradio ../

The location specified is where I had installed gnuradio with pybombs.

After that, I ran gnuradio-companion. It came up fine and I can drag/drop the standard blocks. However, when I go to drag / drop my custom block, I get the following error.

File "/home/mranga/gnuradio/lib/python2.7/dist-packages/gnuradio/grc/gui/Block.py", line 255, in draw
    window.draw_drawable(gc, self.horizontal_label, 0, 0, x+BLOCK_LABEL_PADDING, y+(self.H-self.label_height)/2, -1, -1)
AttributeError: 'Block' object has no attribute 'horizontal_label'


My PYTHONPATH and LD_LIBRARY path were set by sourcing the setenv.sh generated when I installed using pybombs.

There appears to be some path or setting that is not right. I've been fighting this a while and I can't figure it out. Any help appreciated.

Thank you in advance.




--
M. Ranganathan

reply via email to

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