Hi Thabet GHARBI,
On 13/09/2019 23.42, Thabet GHARBI wrote:
> I got the error 'AttributeError: 'module' object has no attribute 'test'. I
> analysed the undefined symbol, and it was due to osmosdr module.
>
> Any suggestion to solve this problem?
Most probably somewhere in your code you are call
Hello,
I'm creating a GNU Radio OOT module in C++ language, in which I instantiate
an osmosdr source. The syntax is : osmosdr::source ::sptr m_source =
osmosdr::source::make();
I also implement other blocks in my design.
In CMakeLists.txt file, I specify all these components:
set(GR_REQUIRED_COMP
You can't actually control it, but you can set a minimum number, yes.
However, for tagging in invervals, you wouldn't even need that, just
look for the thing that initiates your tagging, and add new tags every
so and so many items. You can just keep the count between calls to
work. A function has n
Hmm ok, I feel like perhaps I've misunderstood some fundamental mechanic of
GNURadio.. is it within my power to define the exact number of samples that
should be available on the next call to the work function of e.g. a sync
block?
Den tis 28 maj 2019 kl 16:28 skrev Müller, Marcus (CEL) :
> But y
But you're free to do that in any block you desire, so you can write a
normal sync block and just always consume all input :)
On Tue, 2019-05-28 at 16:26 +0200, Sebastian Sahlin wrote:
> Hi,
>
> I suppose not - I just figured that using a tagged stream block would be
> useful since then I'd be ab
Hi,
I suppose not - I just figured that using a tagged stream block would be
useful since then I'd be able to iterate over the entire packet in one work
function call.
Den tis 28 maj 2019 kl 16:22 skrev Müller, Marcus (CEL) :
> But that block doesn't have to be a Tagged Stream Block itself, righ
But that block doesn't have to be a Tagged Stream Block itself, right?
On Tue, 2019-05-28 at 16:14 +0200, Sebastian Sahlin wrote:
> Hi Marcus,
>
> Aha, that explains it.. bummer! Perhaps you could advise me on an alternative
> solution to my problem. What I am trying to achieve with the tagged st
Hi Marcus,
Aha, that explains it.. bummer! Perhaps you could advise me on an
alternative solution to my problem. What I am trying to achieve with the
tagged stream block is to apply tags at an interval on a packet; the values
are taken from an array that I want to iterate over. However, since the
Hi Sebastian,
I must admit that I don't remember whether the TSB block base was
correctly wrapped for Python (darn it, first I write something, and
then you find a glaring counterexample); in fact, there's not a single
test case for that in the main GNU Radio tree, which probably means
"no".
Best
Hi,
I'm attempting to create a tagged stream block in Python using the
following constructor:
class test_tagged_stream(gr.tagged_stream_block):
def __init__(self, test_param):
gr.tagged_stream_block.__init__(self,
name="test_tagged_stream",
in_sig=[numpy.compl
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
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
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)*
*
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
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
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
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
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
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..
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
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
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
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
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
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:
>
>
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
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
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
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
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
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
Thanks a lot Marcus, that helped a lot.
I mofified the gr_msg_queue.i as you told me in b) and it worked!
Regards,
Nada
Marcus Müller a écrit :
Hi Nada,
that's really hard to tell based on the information you gave.
I'm currently on the run, so I can't really look at the 3.6 branch
and give
Hi Nada,
that's really hard to tell based on the information you gave.
I'm currently on the run, so I can't really look at the 3.6 branch and
give definite advice, but:
a) make sure there is no special c++-to-python gateway class for the
things you're trying to extend
b) look into the swig files
Hi all,
I have gnuradio 3.6.5 on Ubuntu 12.10.
I needed to add some priority to some packets and insert them on the
head of the message queue. I defined a new function "insert_head" in
gr_msg_queue.c and gr_msg_queue.h and build my gnuradio. I got this
error when running:
File
"/usr/
On Sat, Nov 16, 2013 at 9:02 AM, Rikhu Prasad wrote:
> HI,
>
> I had installed GNU Radio recently and tried to execute a simple example as
> shown in the image below. But it throws me the following error. I referred
> various sources and I came to a guessing conclusion that this would be an
> issu
HI,
I had installed GNU Radio recently and tried to execute a simple example as
shown in the image below. But it throws me the following error. I referred
various sources and I came to a guessing conclusion that this would be an
issue with installation. But I am sure, everything went right during
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
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
___
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
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
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
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
>>> One of my OOT blocks is a function that takes in shorts and outputs shorts
>>> (a 1-to-2 interpolator).
>>> I have a simple flowgraph created in GRC: File Source -> My block -> File
>>> sync .
>>> GRC is happy until I run the flowgraph, and I get this:
>>> Executing: "<> /top_block.p
>> One of my OOT blocks is a function that takes in shorts and outputs shorts
>> (a 1-to-2 interpolator).
>> I have a simple flowgraph created in GRC: File Source -> My block -> File
>> sync .
>> GRC is happy until I run the flowgraph, and I get this:
>> Executing: "<> /top_block.py"
>>
> I've stepped up to GR 3.7.0, re-used gr_modtool to freshly re-create my OOT
> module, everything builds, tests, installs OK. GRC has my OOT blocks listed
> and I can put them on my flowgraph.
> One of my OOT blocks is a function that takes in shorts and outputs shorts (a
> 1-to-2 interpolator
I've stepped up to GR 3.7.0, re-used gr_modtool to freshly re-create my OOT
module, everything builds, tests, installs OK. GRC has my OOT blocks listed and
I can put them on my flowgraph.
One of my OOT blocks is a function that takes in shorts and outputs shorts (a
1-to-2 interpolator).
I have
On Thu, Feb 28, 2013 at 2:52 AM, Omer Omer wrote:
> when i run my own block in gnuradio-companion square_ff ,the following
> error i get
>
Omer,
Can you run simple programs in GRC that don't use your square_ff? Just
create a signal source -> throttle -> wxgui sink program and verify that
works
when i run my own block in gnuradio-companion square_ff ,the following error i
get
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py",
line 307, in _handle_action
self.get_flow_graph().update()
File "/usr/local/lib/python2.
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);
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.
>>
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
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
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.
>
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
On 11/07/2011 03:50 PM, Yan Nie wrote:
> Really appreciate your answer, Josh.
>
> I am wondering how to control data streaming from devices to host in
> Python, if the stream command issuing approaching cannot work in
> Python? What I am trying to do is detecting pps pulse then 2ms later
> start
Really appreciate your answer, Josh.
I am wondering how to control data streaming from devices to host in Python, if
the stream command issuing approaching cannot work in Python? What I am trying
to do is detecting pps pulse then 2ms later start receiving data from USRP
N200. The received data
On 11/07/2011 09:16 AM, Yan Nie wrote:
> Dear all,
>
> I am using self.stream_cmd = uhd.stream_cmd() in Python to define how
> the devices send samples to the host, though got an AttributeError:
> 'module' object has no attribute 'stream_cmd'. I checked the
> definition of stream_cmd, which is a
Dear all,
I am using self.stream_cmd = uhd.stream_cmd() in Python to define how the
devices send samples to the host, though got an AttributeError: 'module' object
has no attribute 'stream_cmd'. I checked the definition of stream_cmd, which is
an attribute of uhd and similar as clock_config. I
On Mon, Aug 1, 2011 at 6:37 AM, patiljagdish154
wrote:
>
> hi ,
> i am working on GNURadio . after compiling i am getting the error . will
> some tell me what this error is related to.
> please check attachment for top_block.py file
>
> Traceback (most recent call last):
> File "/home/jagdish/top
hi ,
i am working on GNURadio . after compiling i am getting the error . will
some tell me what this error is related to.
please check attachment for top_block.py file
Traceback (most recent call last):
File "/home/jagdish/top_block.py", line 54, in
tb = top_block()
File "/home/jagdish/t
thanks! the fix will be merged in soon
On 01/23/2010 10:29 AM, Dimitris Symeonidis wrote:
In the latest version of the GNU Radio master tree, there's a small
bug in the GRC GUI that breaks the file selection dialog. The error on
the terminal is this:
Traceback (most recent call last):
File
In the latest version of the GNU Radio master tree, there's a small
bug in the GRC GUI that breaks the file selection dialog. The error on
the terminal is this:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/gnuradio/grc/python/Param.py",
line 68, in _handle_clic
Hello all. I am new to gnuradio. I installed gnuradio on a three computers
(a) an Ubuntu 6.06 P4-mobile laptop, (b) an Ubuntu 8.04 Dell SX270 mini
desktop, and (c) an Ubuntu 8.04 Dell Precision 560 dual Xeon-2.4GHz. On each
machine I compile from source following the install directions for Ubuntu o
Hi All,
I meet a question now. Actually, everything worked well yesterday. And when
I run it again today, it gave me the error like:
AttributeError: 'module' object has no attribute 'PyEventBinder'
Can anyone help me with it? I am using fedora7 and gnuradio3.1.1
Thanks a lot
Ruby
--
View thi
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
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
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'
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
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
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
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
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",
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
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
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
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
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
> 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?!]
_
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
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
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:
>
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
82 matches
Mail list logo