Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square_ff'

2017-10-04 Thread Marcus Müller
Hi Seref, You'll have to explain what exactly you did. Where's the "square_ff" coming from? On 10/04/2017 05:00 PM, seref ay wrote: Hi everyone, I am using gr-iee802-11 transceiver by Bastian Bloessl. The flow graph is working fine, but when I try to add a new block with gr_modtool ( a si

[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square_ff'

2017-10-04 Thread seref ay
Hi everyone, I am using gr-iee802-11 transceiver by Bastian Bloessl. The flow graph is working fine, but when I try to add a new block with gr_modtool ( a simplle block that squares a floating constant ) then it throws this error: "AttributeError: 'module' object has no attribute 'square_ff'" . Wh

[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'ofdm_chanest_MMSE_vcvc'

2015-09-15 Thread monika bansal
Hii I have added a new block and it is available in the block list of gnuradio. I am using it in the flow graph. When i run it, it shows the error : *self.Channel_Estimation_ofdm_chanest_MMSE_vcvc_0 = Channel_Estimation.ofdm_chanest_MMSE_vcvc((sync_word1), (sync_word2), 8, 0, -1, False, 0.1)* *

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'block_name'

2015-03-19 Thread Mike Heese
here the web page sent me. > > I have forwarded my original email below and hope it shows up as you > expected. > > Any info you can provide on this problem would be greatly appreciated. > > Thanks! > Mike Heese > > > > > > Forwarded conversation > Subject: R

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'hamming'

2015-02-17 Thread Tom Rondeau
On Tue, Feb 17, 2015 at 11:04 AM, Abhinav Jadon wrote: > Hi , > Sorry for not providing all the info . I dont know what happened to the > link though . > I used gr_modtool to create the OOT module ; > I wrote the module in C++ and i am using GNU Radio 3.7.6 > I have created a git repository : > h

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'hamming'

2015-02-17 Thread Abhinav Jadon
Hi , Sorry for not providing all the info . I dont know what happened to the link though . I used gr_modtool to create the OOT module ; I wrote the module in C++ and i am using GNU Radio 3.7.6 I have created a git repository : https://github.com/Jadoobaba/gr-wsi/tree/master/Documents/gr-wsi ldd on

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'hamming'

2015-02-17 Thread Tom Rondeau
On Sat, Feb 14, 2015 at 6:41 PM, Richard Bell wrote: > I ran into this myself with a custom Python block. I was unable to resolve > it. I gave up. Interested to learn a fix as well. > I don't think this is a Python block since he's linking against ITPP, but it's not specified in his original que

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'hamming'

2015-02-17 Thread Tom Rondeau
On Sat, Feb 14, 2015 at 2:17 AM, Abhinav Jadon wrote: > Hi , > I wrote a Out of Tree module for hamming code using ITPP library . It > compiled when i ran the cmake.. , make and make install commands without > error . I used the block in a flowgraph and the python script thus > generated throws a

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'hamming'

2015-02-14 Thread Richard Bell
I ran into this myself with a custom Python block. I was unable to resolve it. I gave up. Interested to learn a fix as well. > On Feb 13, 2015, at 11:17 PM, Abhinav Jadon wrote: > > Hi , > I wrote a Out of Tree module for hamming code using ITPP library . It > compiled when i ran the cmake..

[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'hamming'

2015-02-13 Thread Abhinav Jadon
Hi , I wrote a Out of Tree module for hamming code using ITPP library . It compiled when i ran the cmake.. , make and make install commands without error . I used the block in a flowgraph and the python script thus generated throws an error while executing it which looks like this . Traceback (mos

[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'block_name'

2014-11-12 Thread Mostafa Alizadeh
Hello all, I've just created a block called "sliding_fft". The _impl.h file looks like: #include namespace gr { namespace lte_dl_rx { class sliding_fft_impl : public sliding_fft { private: fft::fft_complex *d_fft; uint d_fft_size; uint count; public

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'block_name'

2014-09-10 Thread Simone Ciccia S210664
Hi, I have individuated the error and we are near the solution, thanks to all. I just remember the error that appear when I try to run a simulation of my new block "power": Traceback (most recent call last): File "/home/simone/Scrivania/top_block.py", line 228, in tb = top_block() File

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'block_name'

2014-09-08 Thread Tom Rondeau
On Wed, Sep 3, 2014 at 9:57 AM, Simone Ciccia S210664 < simone.cic...@studenti.polito.it> wrote: > Very thanks for the immediate answer, > > Sorry, I forgot that I passed two arguments when the block was created: > > $insert valid arguments: float reference, float alpha > > while "unsigned

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'block_name'

2014-09-03 Thread Simone Ciccia S210664
Very thanks for the immediate answer, Sorry, I forgot that I passed two arguments when the block was created: $insert valid arguments: float reference, float alpha while "unsigned int d_counter" is a normal variable initialized in the constructor. now, in the file power_control_impl.h

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'block_name'

2014-09-03 Thread Tom Rondeau
On Wed, Sep 3, 2014 at 9:17 AM, Simone Ciccia S210664 < simone.cic...@studenti.polito.it> wrote: > 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: > >

[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'block_name'

2014-09-03 Thread Simone Ciccia S210664
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

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute "BLOCK NAME"

2014-08-02 Thread Tom Rondeau
On Thu, Jul 31, 2014 at 4:54 AM, Simone Ciccia S210664 < simone.cic...@studenti.polito.it> wrote: > Hi at all, > I have some problem in running simulation of a block on gnuradio. > I have developed a simple block, .cc, .h, .i and .xml file attouched here. > All code is compile with success cmake/m

[Discuss-gnuradio] AttributeError: 'module' object has no attribute "BLOCK NAME"

2014-07-31 Thread Simone Ciccia S210664
Hi at all, I have some problem in running simulation of a block on gnuradio. I have developed a simple block, .cc, .h, .i and .xml file attouched here. All code is compile with success cmake/make/make install/ldconfig but when I place the block in gnuradio, running the simulation I get Traceback

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute

2014-07-28 Thread Martin Braun
On 07/27/2014 06:17 PM, Mike wrote: > I followed the tutorial to generate a module and all was well. My square > module worked. I then created a new module invert_bb. This also worked. > So far so good. Now a few days later on I get AttributeError: 'module' > object has no attribute 'invert_bb' and

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute

2014-07-27 Thread Marcus Müller
Hi Mike, my first guess if making from scratch didn't help: maybe your module's name is conflicting with an existing module, or there are remnants of a former installation lying around for some reasons. You could try uninstalling your module via "make uninstall", and then running a python trying to

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute

2014-07-27 Thread Mike
I followed the tutorial to generate a module and all was well. My square module worked. I then created a new module invert_bb. This also worked. So far so good. Now a few days later on I get AttributeError: 'module' object has no attribute 'invert_bb' and I have no clue as to why. The previous

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute

2013-11-03 Thread Martin Braun (CEL)
On Sun, Nov 03, 2013 at 07:44:37PM +0200, Aydin Tarik Zengin wrote: > Now my question is about how to write python blocks for gnuradio. > Is there a tutorial for that? It's the same you've been quoting before. > What I want to know is how to pass the block parameters to python work method. You c

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute

2013-11-03 Thread Aydin Tarik Zengin
Thanks Martin I'm a newbie for both gnuradio and python. That's why I bother you with simple questions. Now my question is about how to write python blocks for gnuradio. Is there a tutorial for that? What I want to know is how to pass the block parameters to python work method. Thanks Tarik ___

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square3_ff'

2013-11-03 Thread Martin Braun (CEL)
On Sun, Nov 03, 2013 at 03:58:47PM +0200, Aydin Tarik Zengin wrote: > Now I'm able to add running blocks. Good :) > However, if I want to add a block written only in Python - there are no C++ > files -,  I add it with gr_modtool, > > gr_modtool add -t sync -l python square3_ff > > Then it gives

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square3_ff'

2013-11-03 Thread Aydin Tarik Zengin
Thanks Martin, Now I'm able to add running blocks. However, if I want to add a block written only in Python - there are no C++ files -, I add it with gr_modtool, gr_modtool add -t sync -l python square3_ff Then it gives the following error, You have called ADD_LIBRARY for library gnuradio-howt

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square3_ff'

2013-10-29 Thread Martin Braun (CEL)
Hi Tarik, On Tue, Oct 29, 2013 at 04:43:53PM +0200, Aydin Tarik Zengin wrote: > I'm getting an error while adding a new block to grc version > 3.7.2git-110-gb8b9bff2. > I followed the tutorial at http://gnuradio.org/redmine/projects/gnuradio/wiki/ > OutOfTreeModules > > Also had to modify at some

[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square3_ff'

2013-10-29 Thread Aydin Tarik Zengin
Hello Everyone, I'm getting an error while adding a new block to grc version 3.7.2git-110-gb8b9bff2. I followed the tutorial at http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules Also had to modify at some points as below. - in the test code it worked when I changed ; *from gnur

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square_ff'.

2013-02-26 Thread Nemanja Savic
It might be that you have some version mismatch, or i don't know how to call that. Check inside of your _swig.i and see whether this MAGIC thig is above include statement. That was problem in my case. Gr_modtool generated something like this: %include "test_pkdt.h" GR_SWIG_BLOCK_MAGIC(test,pkdt);

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square_ff'.

2013-02-25 Thread Nathan West
On Mon, Feb 25, 2013 at 2:05 PM, wrote: > > Nathan West wrote: >> Someone can correct me if I'm wrong, but I think this is the error that >> happens if you haven't run `ldconfig` (on Ubuntu). >> >> Try `sudo ldconfig` There's a gnuradio wiki page that explains what it does >> somewhere. >>

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square_ff'.

2013-02-25 Thread Nathan West
Someone can correct me if I'm wrong, but I think this is the error that happens if you haven't run `ldconfig` (on Ubuntu). Try `sudo ldconfig` There's a gnuradio wiki page that explains what it does somewhere. On Sun, Feb 24, 2013 at 11:42 PM, Omer Omer wrote: > hi everyone,i have made my own

[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square_ff'.

2013-02-24 Thread Omer Omer
hi everyone,i have made  my own block in gnuradio name square_ff from out of tree module.i hsvr successfully interfaced it with gnuradio.but problem is when i want to use that block in gnuradio then the following error i get in terminal. AttributeError: 'module' object has no attribute 'square_f

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square_ff'.

2013-02-22 Thread Tom Rondeau
On Fri, Feb 22, 2013 at 9:02 AM, Omer Omer wrote: > hi everyone,i have made my own block in gnuradio name square_ff from out > of tree module.i hsvr successfully interfaced it with gnuradio.but problem > is when i want to use that block in gnuradio then the following error i get > in terminal. >

[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'square_ff'.

2013-02-22 Thread Omer Omer
hi everyone,i have made  my own block in gnuradio name square_ff from out of tree module.i hsvr successfully interfaced it with gnuradio.but problem is when i want to use that block in gnuradio then the following error i get in terminal. AttributeError: 'module' object has no attribute 'square_ff

Re: [opensdr] Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-03-02 Thread Eric Blossom
On Wed, Mar 02, 2005 at 03:47:15PM -0800, Rajaprabhu T.L. wrote: > Hi Eric, > > Thank you. You're welcome! > I went to the installed folders and manually deleted > all the wxpython files and then reinstalled wxpython. Never underestimate the power of rm -fr > Raja Eric

Re: [opensdr] Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-03-02 Thread Rajaprabhu T.L.
Hi Eric, Thank you. I went to the installed folders and manually deleted all the wxpython files and then reinstalled wxpython. Now it is working. Raja --- Eric Blossom <[EMAIL PROTECTED]> wrote: > On Wed, Mar 02, 2005 at 11:28:28AM -0800, Rajaprabhu > T.L. wrote: > > Hi, > > > > I tried doi

Re: [opensdr] Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-03-02 Thread Eric Blossom
On Wed, Mar 02, 2005 at 11:28:28AM -0800, Rajaprabhu T.L. wrote: > Hi, > > I tried doing what you said. > > >>> print wx.__version__ > 2.4.2.4 > >>> wx.pyEventBinder > Traceback (most recent call last): > File "", line 1, in ? > AttributeError: 'module' object has no attribute > 'pyEventBinder'

Re: [opensdr] Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-03-02 Thread Krzysztof Kamieniecki
I think the package name was different for wxPython 2.4. It could be libwxgtk2.4-python, I'll check when I get home. Quoting "Rajaprabhu T.L." <[EMAIL PROTECTED]>: > Hi, > > I tried doing what you said. > > >>> print wx.__version__ > 2.4.2.4 > >>> wx.pyEventBinder > Traceback (most recent call l

Re: [opensdr] Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-03-02 Thread Rajaprabhu T.L.
Hi, I tried doing what you said. >>> print wx.__version__ 2.4.2.4 >>> wx.pyEventBinder Traceback (most recent call last): File "", line 1, in ? AttributeError: 'module' object has no attribute 'pyEventBinder' However the DEbian Package manager shows only Wxpython version 2.5.3. That is the o

Re: [opensdr] Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-28 Thread Eric Blossom
On Mon, Feb 28, 2005 at 11:10:45AM -0800, Rajaprabhu T.L. wrote: > Hi Eric, > > I installed wxpython only couple of weeks before. It > was 2.5 version. There is no other version of wxpython > in the system. > > Raja OK. Can you try this experiment for me? $ python Python 2.3.4 (#2, Aug 19 200

Re: [opensdr] Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-28 Thread Rajaprabhu T.L.
Hi Eric, I installed wxpython only couple of weeks before. It was 2.5 version. There is no other version of wxpython in the system. Raja --- Eric Blossom <[EMAIL PROTECTED]> wrote: > On Mon, Feb 28, 2005 at 09:08:01AM -0800, Rajaprabhu > T.L. wrote: > > Hi, > > > > I'm using the latest versio

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-28 Thread Eric Blossom
On Mon, Feb 28, 2005 at 09:08:01AM -0800, Rajaprabhu T.L. wrote: > Hi, > > I'm using the latest version of wxpython. I have tried > removing python completely and reinstall again. > > But still i'm having same error: > > File > "/usr/local/lib/python2.3/site-packages/gnuradio/wxgui/fftsink.py",

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-28 Thread Rajaprabhu T.L.
Hi, I'm using the latest version of wxpython. I have tried removing python completely and reinstall again. But still i'm having same error: File "/usr/local/lib/python2.3/site-packages/gnuradio/wxgui/fftsink.py", line 89, in ? EVT_DATA_EVENT = wx.PyEventBinder (myDATA_EVENT, 0) AttributeErro

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-15 Thread Eric Blossom
On Tue, Feb 15, 2005 at 01:44:18PM -0800, mj wrote: > > hey, i had that error after i installed > wxpython-2.5.3.1 over the other version. > > try removing wxpython and wxGTK and then installing > them again. then re-emerge numeric and numarray. FYI, we don't require numarray if you've got Numer

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-15 Thread mj
hey, i had that error after i installed wxpython-2.5.3.1 over the other version. try removing wxpython and wxGTK and then installing them again. then re-emerge numeric and numarray. mj --- Rahul Dhar <[EMAIL PROTECTED]> wrote: > On Tue, Feb 15, 2005 at 04:09:44AM -0800, mj wrote: > > > > > Ar

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-15 Thread Eric Blossom
On Tue, Feb 15, 2005 at 03:30:49PM -0500, Rahul Dhar wrote: > On Tue, Feb 15, 2005 at 04:09:44AM -0800, mj wrote: > > > > > Are you using wxPython 2.5.2.7 or later? > > > > yup i am now. i upgraded from wxpython-2.4 to > > wxpython-2.5.3.1 > > I'm using wxPython 2.5.3.1 on top of wxGTK 2.5.3 (d

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-15 Thread Rahul Dhar
On Tue, Feb 15, 2005 at 04:09:44AM -0800, mj wrote: > > > Are you using wxPython 2.5.2.7 or later? > > yup i am now. i upgraded from wxpython-2.4 to > wxpython-2.5.3.1 I'm using wxPython 2.5.3.1 on top of wxGTK 2.5.3 (dependency in Gentoo, apparntly) and Python 2.3.4. When I run "python fftsin

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-15 Thread mj
> Are you using wxPython 2.5.2.7 or later? yup i am now. i upgraded from wxpython-2.4 to wxpython-2.5.3.1 ...and after accidentally removing python altogether all is working great. cheers, = mj - m0mik hotstudent.com [are you hot enough?!] _

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-14 Thread Eric Blossom
On Mon, Feb 14, 2005 at 06:26:54AM -0800, mj wrote: > hi guys, > > the non wxpython scripts run fine, but running > usrp_oscope.py and usrp_fft.py gives these errors: > > usrp: found usrp rev2 > Traceback (most recent call last): > File "./usrp_oscope.py", line 26, in ? > from gnuradio.wxgu

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-14 Thread mj
hey, thanks. i had wxPython 2.4 installed and i'm currently upgrading to 2.5 with my fingers crossed :) cheers, mj --- Krzysztof Kamieniecki <[EMAIL PROTECTED]> wrote: > Your wxPython is out of date, you need 2.5 . I had > the same problem, I am > running debian and I fixed this by getting th

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-14 Thread Krzysztof Kamieniecki
Your wxPython is out of date, you need 2.5 . I had the same problem, I am running debian and I fixed this by getting the unstable wxPython package. Quoting mj <[EMAIL PROTECTED]>: > hi guys, > > the non wxpython scripts run fine, but running > usrp_oscope.py and usrp_fft.py gives these errors: >

[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'PyEventBinder'

2005-02-14 Thread mj
hi guys, the non wxpython scripts run fine, but running usrp_oscope.py and usrp_fft.py gives these errors: usrp: found usrp rev2 Traceback (most recent call last): File "./usrp_oscope.py", line 26, in ? from gnuradio.wxgui import stdgui, fftsink, scopesink File "/usr/local/lib/python2.3/s