[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'blo
From: |
Simone Ciccia S210664 |
Subject: |
[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'block_name' |
Date: |
Wed, 03 Sep 2014 15:17:17 +0200 |
User-agent: |
RoundCube Webmail/0.2.1 |
Hi,
I created a C++ block with gr_modtool,
following the commands:
$ gr_modtool newmod PWagc
$ gr_modtool add -t general power_control
I written and compiled my block with commands:
$cmake ../ && make && sudo make install && sudo ldconfig
Until this point all seems ok, but when I open gnuradio and try to simulate
my block...
the following error appears:
Traceback (most recent call last):
File "/home/simone/Scrivania/top_block.py", line 261, in <module>
tb = top_block(address=options.address)
File "/home/simone/Scrivania/top_block.py", line 153, in __init__
self.PWagc_power_control_0 = PWagc.power_control(0.001, 0.25)
AttributeError: 'module' object has no attribute 'power_control'
I'm not able to understand from which this error derive...
If needed, I can attach the _impl.cc etc... files.
My gnuradio version is the 3.7.4 and
PYTHONPATH=/usr/local/lib/python2.7/dist-packages,
in this last folder I can see the installed gr-PWagc directory.
Someone can help me please?
If additional information are needed, please ask me... I'm blocked here!
Thanks,
Simone Ciccia
- [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'block_name',
Simone Ciccia S210664 <=