Re: where has gr.feval_dd gone?

2024-04-04 Thread Vasil Velichkov
Hi Balthasar, On 04/04/2024 14.12, Balthasar Indermuehle wrote: > I'm trying to run some ~4 year old python code based on the even older > usrp_spectrum_sense.py example. > > This line > > class tune(gr.feval_dd): > > triggers AttributeError: module 'gnuradio.gr' has no attribute 'feval_dd' >

Re: Error undefined Symbol

2024-03-18 Thread Vasil Velichkov
Hi Daniel, On 18/03/2024 11.00, Daniel González Martínez wrote: > find_package(Gnuradio "3.10" REQUIRED COMPONENTS fft digital) > The following imported targets are referenced, but are missing: > gnuradio::gnuradio-filter gnuradio::gnuradio-blocks > gnuradio::gnuradio-analog > > It is a

Re: Error undefined Symbol

2024-03-16 Thread Vasil Velichkov
Hi Daniel, On 15/03/2024 12.20, Daniel González Martínez wrote: > I am trying to do a block similar to AsyncCRC32, but with some changes. User, > When I make a copy of the code into a personal block, I encounter the > following problem that I am unable to resolve. The error is: > ImportError:

Re: Synchronization help

2023-10-18 Thread Vasil Velichkov
Hi Felipe, Do you have any specific question or is there any specific problem you need help with? Try to be more specific to increase your chances to receive help. Regards, Vasil On 18/10/2023 05.07, Andres Felipe wrote: > Hi to everyone, I would like to ask for help with this scheme that I

Re: Index Error: output_index < noutputs

2023-09-30 Thread Vasil Velichkov
al. >> >>> If this is the case, how do I create the proper instance? >> >> I'm not sure how to pass a reference to this first instance of FT8_Recive to >> freq.py. >> >> I'm usually using message ports when available in order to avoid tight >>

Re: Index Error: output_index < noutputs

2023-09-29 Thread Vasil Velichkov
that you can use to change the input port, see https://wiki.gnuradio.org/index.php/Selector#Messages Regards, Vasil > -Original Message----- From: Vasil Velichkov > Sent: Thursday, September 28, 2023 5:00 AM > To: Elmore Family > Cc: discuss-gnuradio@gnu.org > Subject: Re

Re: Index Error: output_index < noutputs

2023-09-28 Thread Vasil Velichkov
reciation for the detail of investigation you're > doing there. Thanks! > > Marcus > > On 27.09.23 19:55, Vasil Velichkov wrote: >> Hi Elmore, >> >> On 27/09/2023 03.17, Elmore Family wrote: >>> I am using a gnu radio flowgraph to attempt to select the approp

Re: Index Error: output_index < noutputs

2023-09-28 Thread Vasil Velichkov
Hi Elmore, On 28/09/2023 04.58, Elmore Family wrote: > I moved the Selector code (i.e. set_wave_select(wave_select)) into the > portion of my code which runs after the flowgraph is running. I still get the > same error. Where did you moved it? Can you provide the modified source code? Are

Re: Index Error: output_index < noutputs

2023-09-27 Thread Vasil Velichkov
Hi Elmore, On 27/09/2023 03.17, Elmore Family wrote: > I am using a gnu radio flowgraph to attempt to select the appropriate > Selector Block output as explained below. The following error occurs when I > run the flowgraph: Index Error: output_index must be < noutputs. > I forgot to include

Re: Getting undefined symbol

2023-09-14 Thread Vasil Velichkov
Hi Dave, On 13/09/2023 23.31, Dave Helm wrote: >> symbol: _ZTVN2gr7sidekiq14telemetry_implE >> >> I understand that there is some undefined symbol called, but I can't tell > what it is from the name. Is there a way to find out? You can use c++filt command to get the human version of this

Re: Regarding details of MPI functions

2023-05-25 Thread Vasil Velichkov
Hi Kanak Lohiya, On 25/05/2023 08.26, Kanak Lohiya wrote: > Dear all, > I have been trying to find the detailed code for the functions > messgae_port_register_in, message_port_register_out, message_port_pub etc. > but not able to find it. You can find the source code in basic_block.cc

Re: double free or corruption error when two instances of an OOT block using fftw is called in GRC

2023-04-19 Thread Vasil Velichkov
Hi Grace, On 19/04/2023 21.18, Grace Yeung wrote: > Any advice would be much appreciated. Try running your flowgraph through valgrind[1] or rebuild and reinstall your OOT module with libasan (AddressSanitizer) support. [1] https://valgrind.org/docs/manual/quick-start.html [2]

Re: How to enable local OOT modules

2023-04-05 Thread Vasil Velichkov
Hi Ivan, On 04/04/2023 17.17, kron...@tiscali.it wrote: > It seems gnome shell does not consider the variables I > defined in .bashrc. No, gnome shell does not consider this file. Add the export lines to your ~/.profile instead. Some more information is available at

Re: AW: Segmentation fault when adding a variable...

2023-03-31 Thread Vasil Velichkov
Hi Niklas, On 31/03/2023 17.18, Beckmann, Niklas wrote: > Here is the link to github, where I uploaded the code (since the link was > not working): https://github.com/niklas-aac/phyheader I can't find the line you referenced previously in

Re: Segmentation fault when adding a variable...

2023-03-31 Thread Vasil Velichkov
Hi Niklas, On 31/03/2023 14.42, Beckmann, Niklas wrote: > I am currently facing a problem, where gunradio segfaults, when I add a > certain variable into the flowchart. For reference a link to our previous discussion is https://lists.gnu.org/archive/html/discuss-gnuradio/2023-03/msg00062.html

Re: AW: AW: AW: AW: AW: AW: Import Error "undefined symbol"

2023-03-29 Thread Vasil Velichkov
Hi Niklas, On 29/03/2023 01.35, Beckmann, Niklas wrote: > this is what I get now when I do backtrace. > Thread 1 "python" received signal SIGSEGV, Segmentation fault. > 0x7fffdaa52c6b in pybind11::detail::same_type (rhs=..., lhs=...) > at /usr/include/pybind11/detail/internals.h:55 > 55

Re: AW: AW: AW: AW: AW: Import Error "undefined symbol"

2023-03-28 Thread Vasil Velichkov
Hi Niklas, On 28/03/2023 19.20, Beckmann, Niklas wrote: >> Why 3.10.4.0 and not the latest 3.10 (currently is 3.10.5.1)? > > I am porting modules from 3.7 to 3.10 and when I started porting, 3.10.4.0 > was the newest version. OK. >> How did you install gnuradio previously and how did you

Re: OOT import module error

2023-03-22 Thread Vasil Velichkov
Hi Jorge, On 22/03/2023 16.18, JORGE GONZALEZ ORELLANA via GNU Radio, the Free & Open-Source Toolkit for Software Radio wrote: > Hello everyone > > I have been trying to create OOT modules following this guide > https://wiki.gnuradio.org/index.php?title=Creating_Python_OOT_with_gr-modtool > >

Re: AW: AW: AW: AW: Import Error "undefined symbol"

2023-03-22 Thread Vasil Velichkov
Hi Niklas, On 22/03/2023 01.03, Beckmann, Niklas wrote: > I just un- and reinstalled gnuradio from source (basically following the > steps at the wiki)... that did not solve the problem. How did you install gnuradio previously and how did you uninstall it? Make sure you don't have two gnuradio

Re: AW: AW: AW: Import Error "undefined symbol"

2023-03-21 Thread Vasil Velichkov
Hi Niklas, On 21/03/2023 18.02, Beckmann, Niklas wrote: > I have two blocks in the module, where I use "digital". Which source code do > you need exactly, the .h file in the include folder, the _impl.cc file from > the lib folder, > or the _impl.h file from the lib folder (or all of them?) ?

Re: AW: AW: Import Error "undefined symbol"

2023-03-21 Thread Vasil Velichkov
Hi Niklas, On 20/03/2023 20.49, Beckmann, Niklas wrote: > Hello Vasil, > I hope this is what you meant: Yes, this is what I wanted. > (gdb) backtrace > #0 0x7fffc9d1340b in () > at > /usr/lib/python3/dist-packages/gnuradio/digital/digital_python.cpython-38-x86_64-linux-gnu.so > #1

Re: AW: Import Error "undefined symbol"

2023-03-20 Thread Vasil Velichkov
Hi Niklas On 20/03/2023 19.19, Beckmann, Niklas wrote: > but... I am not able to open gnuradio anymore: > > > <<< Welcome to GNU Radio Companion 3.10.5.0 >>> > > Block paths: > /home/niklas/.grc_gnuradio > /usr/share/gnuradio/grc/blocks > /usr/local/share/gnuradio/grc/blocks > > Loading:

Re: Running flowfraph dies with segfault with GR 3.10.4 (gr-fosphor)

2022-11-05 Thread Vasil Velichkov
Hi Ville, On 04/11/2022 17.35, Ville Eerola wrote: > Thread 1 "python3" received signal SIGSEGV, Segmentation fault. > 0x7fff458b5fe5 in ?? () from > /lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.10.4 > (gdb) bt > #0  0x7fff458b5fe5 in  () at >

Re: Running flowfraph dies with segfault with GR 3.10.4 (gr-fosphor)

2022-11-01 Thread Vasil Velichkov
Hi Ville, Try running your reduced testcase under gdb and take a backtrace. First open your flowgraph in gnuradio companion, generate (F5) python script and then in the terminal execute. gdb -ex=run --args python3 testcase.py when it stops in execute the "bt" command and provide the full

Re: Problems with compiling oot module from gnuradio-companion on Ubuntu 20.04 (gnuradio 3.8.1.0)

2022-10-10 Thread Vasil Velichkov
Hi Karlee, On 10/10/2022 22.18, Karlee Brannam wrote: > ImportError: /usr/local/lib/x86_64-linux-gnu/libgnuradio-voxi.so.1.0.0git: > undefined symbol: _ZN10MainWindowC1EP7QWidget You do have one undefined symbol. You can use c++filt command to demangle this symbol. $ c++filt

Re: Problems with compiling oot module from gnuradio-companion on Ubuntu 20.04 (gnuradio 3.8.1.0)

2022-10-10 Thread Vasil Velichkov
Hi Karlee, On 08/10/2022 00.21, Karlee Brannam wrote: > I am new to gnuradio and have completed the tutorials for creating custom oot > modules. Welcome to GNU Radio! How did you install gnuradio and which version? Which OS are you using? > I am trying to implement an instrumentation, such as

Re: Problems with gr-modtool on Ubuntu 20.04 (gnuradio 3.10.4)

2022-10-04 Thread Vasil Velichkov
t items we produced. > return noutput_items; > } > > Thank you for your help, > > Michael Matthews > Graduate Software Engineer > Mobile: +1 847 714 4809 > > > Micro-X <https://micro-x.com> > > 855 South 192nd St, Suite 600 > SeaTac, WA, 98148, United

Re: Problems with gr-modtool on Ubuntu 20.04 (gnuradio 3.10.4)

2022-10-03 Thread Vasil Velichkov
Hi Michael, On 03/10/2022 08.21, Michael Matthews wrote: > Hello, > > I am new to gnuradio and have been going through the tutorials. I have been > specifically interested in Creating C++ OOT with > gr-modtool >

Re: AW: AW: Struggling with 3.10 OOT Module Porting: AttributeError: module has no attribute

2022-09-15 Thread Vasil Velichkov
Hi Luca, Please when replying always keep the malling list address (Reply All) On 15/09/2022 09.21, Bachmaier, Luca wrote: > Hi Vasil, > >> Yes, sounds like a bug. How did you install GNU Radio 3.10.3.0 on Debina 11 >> (bullseye)? Can you provide a minimal, reproducible example? > I installed

Re: AW: Struggling with 3.10 OOT Module Porting: AttributeError: module has no attribute

2022-09-14 Thread Vasil Velichkov
Hi Luca, On 12/09/2022 17.15, Bachmaier, Luca wrote: > Re-installing my module gave me this cmake error: > > > > CMake Error at lib/CMakeLists.txt … Target > “gnuradio-myModule” links to: gnuradio::gnuradio-fec but the target was not > found. > > > > I was able to solve

Re: Struggling with 3.10 OOT Module Porting: AttributeError: module has no attribute

2022-09-09 Thread Vasil Velichkov
Hi Luca, On 09/09/2022 10.58, Bachmaier, Luca wrote: > Dear all, > > I'm currently porting some of my modules from GNU Radio 3.8 to 3.10 and > experiencing issues with (probably) pybind. My system setup is: Debian 11, > GNU Radio 3.10.3.0. > > My flow graphs that include the 3.8 modules are

Re: GRU module removed, what can I do please ?

2022-07-22 Thread Vasil Velichkov
Hi Jean-Philippe, On 22/07/2022 15.47, Vasil Velichkov wrote: > Hi Jean-Philippe, > > On 22/07/2022 15.32, Jean-Philippe Buchet wrote: >> When I run the python script, removing the gru import, it stops and : > > Can you share this script? > >> taps=filter.firdies

Re: GRU module removed, what can I do please ?

2022-07-22 Thread Vasil Velichkov
Hi Jean-Philippe, On 22/07/2022 15.32, Jean-Philippe Buchet wrote: > When I run the python script, removing the gru import, it stops and : Can you share this script? > taps=filter.firdies.low_pass(1.0, sample_rate, bw, bw*options, > transition_width, filter.firdies.WIN_HANN) > > the error

Re: GRU module removed, what can I do please ?

2022-07-22 Thread Vasil Velichkov
Hi Jean-Philippe, On 22/07/2022 04.25, Jean-Philippe Buchet wrote: > As I can see, after spent hours and hours, this gru module is removed from > gnuradio. > (for the moment I don't understand gnuradio / modules and their goals) Yes, the gru module was removed in gnuradio 3.9 and 3.10. For some

Re: GNU radio collapse

2022-06-14 Thread Vasil Velichkov
the Ubuntu's repository have been built for a different gnuradio version. > > ANDRÉS FELIPE RODRÍGUEZ RENDÓN > >> On 13/06/2022, at 11:07, Vasil Velichkov wrote: >> >> Hi anferore, >> >>> On 13/06/2022 18.24, anfer...@gmail.com wrote: >

Re: GNU radio collapse

2022-06-13 Thread Vasil Velichkov
Hi anferore, On 13/06/2022 18.24, anfer...@gmail.com wrote: > When trying to add the Osmocom block, GNU radio crash and the program closes > by itself. How did you install gnuradio and gr-osmosdr and which versions? > > I am using Linux in a dell Inspiron 1525 PC. Which Linux distribution do

Re: Options - QT GUI window size and placement

2022-04-14 Thread Vasil Velichkov
Hi Gavin, On 14/04/2022 20.45, Gavin Jacobs wrote: > I looked in the Python code generated by grc, and the call to saveGeometry is > there in closeEvent() ! > But, it is not working in my flowgraph because the flowgraph exits with: Done (return code -11) Return code -11 means SIGSEGV

Re: How to get information on number of input data samples in C++ OOT

2022-04-14 Thread Vasil Velichkov
Hi George, On 14/04/2022 01.19, George Edwards wrote: > I am writing a Gnuradio C++ OOT block and need to get the number of complex > input data samples fed into my block by the scheduler on each iteration of > data delivery. > In Python, it is easy, I can find the value by doing: numInputs = >

Re: QA python code uses installed python and c++ library

2022-03-01 Thread Vasil Velichkov
Hi Milkos, Your problem seems related to [1]. Make sure your gnuradio version does include the fix from [2] and your OOT CMakeLists.txt contains [3] [1] https://github.com/gnuradio/gnuradio/issues/4825 [2] https://github.com/gnuradio/gnuradio/pull/5279 [3]

Re: RHEL repository for latest GNURadio?

2022-02-27 Thread Vasil Velichkov
Hi Mike, You can install gnuradio 3.8.0.0 from the EPEL repository. https://docs.fedoraproject.org/en-US/epel/#_el8 Regards, Vasil On Sun, Feb 27, 2022, 07:05 Mike wrote: > Hello, > > I'm moving an existing application that relies on GNURadio from Ubuntu > to Red Hat Enterprise Linux 8.5. >

Re: Are there firls and kaiser filter methods for C++ OOT?

2022-02-22 Thread Vasil Velichkov
On 22/02/2022 15.39, Marcin Puchlik wrote: > So while running: *g++ -gnuradio-filter main.cpp* I get: You are missing an l between - and gnuradio > */bin/ld: /tmp/ccChkcfC.o: in function `main':main.cpp:(.text+0x8d): > undefined reference to `gr::filter::firdes::low_pass(double, double, >

Re: Are there firls and kaiser filter methods for C++ OOT?

2022-02-22 Thread Vasil Velichkov
On 22/02/2022 15.31, Marcin Puchlik wrote: > You are right, it helped thank you. You are welcome. > One more question, do you know why the command: *g++ main.cpp > -lgnuradio-filter *works correctly but in different order: *g++ > -lgnuradio-filter main.cpp* crashes? No idea. Give me the full

Re: Are there firls and kaiser filter methods for C++ OOT?

2022-02-22 Thread Vasil Velichkov
status* > > > > wt., 22 lut 2022 o 13:22 Vasil Velichkov napisał(a): > >> Hi Marcin, >> >> On 22/02/2022 13.09, Marcin Puchlik via GNU Radio, the Free & Open-Source >> Toolkit for Software Radio wrote: >>> I also tried to use *low_pass() *f

Re: Are there firls and kaiser filter methods for C++ OOT?

2022-02-22 Thread Vasil Velichkov
Hi Marcin, On 22/02/2022 13.09, Marcin Puchlik via GNU Radio, the Free & Open-Source Toolkit for Software Radio wrote: > I also tried to use *low_pass() *function in my C++ program but with no > luck. My linker shouts that there is undefined reference to this function > but headers where

Re: Are there firls and kaiser filter methods for C++ OOT?

2022-02-22 Thread Vasil Velichkov
Hi George, On 21/02/2022 18.31, George Edwards wrote: > lpfilter = gr::filter::firdes::low_pass(gain, sampling_freq, cutoff_freq, > transition_bandwidth, > fft::window::win_type > window > =

Re: Can't load module linked against shared libprotobuf.so, GNU Radio 3.8.1.0

2022-02-17 Thread Vasil Velichkov
Hi Jameson, On 16/02/2022 21.49, Jameson Collins wrote: > I have an OOT module that uses Protobuf. Normally I link this against > libprotobuf.so, however when I do this and attempt to import my module in > python, I get errors about undefined symbols. Normally this should not happen. What

Re: QAM module

2022-01-18 Thread Vasil Velichkov
Hi Mario, On 17/01/2022 22.56, Mario Moran wrote: > I have a question on using the QAM module. > When I run this, I get AttributeError: module gnuradio.digital.qam has no > attribute 'qam_mod'. I am not sure why I am getting this error message. > What can I do to fix this? The QAM/PSK Mod/Demod

Re: Error No module named 'TheNameOfMyModule' in GRC

2022-01-18 Thread Vasil Velichkov
Hi Michelle, On 18/01/2022 14.01, Michelle wrote: > hello, > > I created an OOT module, added a block and made the block available in GRC. > Then I installed the module and called ldconfig (as I'm in ubuntu). > My block appears in GRC but when I insert the block in a graph and execute > that

Re: When i want to run some RFNOC blocks in Gnuradio i faced with errors module 'ettus' has no attribute 'device3'

2022-01-10 Thread Vasil Velichkov
On 10/01/2022 13.25, sp h wrote: > Thanks, I checked it out.  my ldd output is...in gr-ettus/build/lib I had > below files, my Gnuradio is 3.8.1, but in gr-ettus i saw 3.8.0 > any offer??? > I rebuilt and install but the same eros... >   > *List files:* > ibgnuradio-ettus.so.3.8.0.0 >

Re: When i want to run some RFNOC blocks in Gnuradio i faced with errors module 'ettus' has no attribute 'device3'

2022-01-10 Thread Vasil Velichkov
Hi sp h, On 10/01/2022 10.28, sp h wrote: > When I removed device 3 block I had these errors > > File "/home/sp/Downloads/default474.py", line 192, in main > tb = top_block_cls() > File "/home/sp/Downloads/default474.py", line 143, in __init__ > self.ettus_rfnoc_digital_gain_0 =

Re: Adaptation of Federico La Roccas ISDB-T blocks for DVB-T

2021-12-10 Thread Vasil Velichkov
lised > value(s)". I will see if I can find out which variable is uninitialized > and how I can get rid of this problem. > > Kind regards, > > Ralf > > Am 10.12.2021 um 12:35 schrieb Vasil Velichkov: >> Hi Ralf, >> >> On 10/12/2021 11.52, Ralf Gorhol

Re: Adaptation of Federico La Roccas ISDB-T blocks for DVB-T

2021-12-10 Thread Vasil Velichkov
Hi Ralf, On 10/12/2021 11.52, Ralf Gorholt wrote: > Unfortunately, when I deactivate the original flowgraph, it does no > longer work and I get a -11 return code. The "-11" value means that you got a segmentation fault and the process was kill with signal 11 (SIGSEGV)

Re: Problems about executing the flow graph and pythonpath

2021-12-06 Thread Vasil Velichkov
Hi idrey, Welcome to GNU Radio! On 07/12/2021 08.52, idrey wrote: > So I added 'export > PYTHONPATH=/usr/local/lib/python3/dist-packages:$PATHONPATH' to > .bashrc. Luckily, I can import OOT module and execute the flow graph in > terminal using 'python3 flow_graph.py' but in GRC it still not

Re: qa_qtgui (Failed)-Segmentation fault (core dumped)

2021-11-30 Thread Vasil Velichkov
Hi Isaac, On 30/11/2021 16.15, isaac mario tupac davila wrote: > Thanks for the respond. This is what I see. I had a GR 3.7.13 before. I > desintaled with make uninstall but I didn't erase its workarea file. This > could be the problem?...I'm installing this new GNR 3.8.1 in a new worarea > file

Re: qa_qtgui (Failed)-Segmentation fault (core dumped)

2021-11-29 Thread Vasil Velichkov
Hi Isaac, On 30/11/2021 07.50, isaac mario tupac davila wrote: > So I've run valgrind -v ctest -V -R qa_qtgui This way you are running the ctest under valgrind and not the test.You need to open the qa_qtgui_test.sh file and on the last line add valgrind before python. As this test is a python

Re: 回复: How to configure the TensorFlow environment so that it can be used on gnuradio?

2021-11-24 Thread Vasil Velichkov
Hi linge93, On 24/11/2021 15.24, 能书能言 wrote: > I copied the "util_model.py" file directly to the /python directory > I now know that I can’t just put it under the gr_oot/python folder Open gr_oot/python/CMakeLists.txt and add util_model.py in the GR_PYTHON_INSTALL files, something similar to

Re: gr-fosphor (pybombs): CMake Error: The following variables are used in this project, but they are set to NOTFOUND

2021-11-23 Thread Vasil Velichkov
On 23/11/2021 13.27, Marcin Puchlik wrote: > So do you usually build and install from source manually? Yes, this is what I do.

Re: gr-fosphor (pybombs): CMake Error: The following variables are used in this project, but they are set to NOTFOUND

2021-11-23 Thread Vasil Velichkov
Hi Marcin, On 23/11/2021 13.16, Marcin Puchlik wrote: > It seems like I cannot use pybombs recipes to install the OOTs. Not all receipes are well/regularly tested on all platforms so you are going to face some problems but generally you can install OOTs with pybombs. P.S. I'm not very familiar

Re: OOT module and wrong symbolic link

2021-11-23 Thread Vasil Velichkov
Hi Federico, On 22/11/2021 22.13, Federico 'Larroca' La Rocca wrote: > Hi everyone, > > I'm currently porting an OOT module to 3.8 and stumbled into a weird > situation regarding the .so files that are installed on > /usr/local/lib/x86_64-linux-gnu/. If I understood correctly, there are > three

Re: gr-fosphor (pybombs): CMake Error: The following variables are used in this project, but they are set to NOTFOUND

2021-11-22 Thread Vasil Velichkov
Hi Marcin, On 21/11/2021 20.48, Marcin Puchlik via GNU Radio, the Free & Open-Source Toolkit for Software Radio wrote: > Please set them or make sure they are set and tested correctly in the CMake > files: > /home/ubuntu/prefixes/gnuradio39/src/gr-fosphor/lib/Boost_INCLUDE_DIR >    used as

Re: Message debug block

2021-11-19 Thread Vasil Velichkov
Hi Marcin, On 18/11/2021 15.23, Marcin Puchlik wrote: > *pmt.cons(pmt.intern(""), pmt.make_u8vector(16, 0xFF)) - *where Debug > block cannot extract the PDU - gr::log :WARN: message_debug0 - Non PDU type > message received. Dropping. Not every message is a PDU [1]. Have a look at is_pdu() in

Re: Undefined symbol _ZN2gr12msg_accepter4postEN5boost13intrusive_ptrIN3pmt8pmt_baseEEES5_

2021-11-09 Thread Vasil Velichkov
Hi John, On 09/11/2021 22.58, John Coppens wrote: > As you can see from the 'find', there is only one libgnuradio-runtime > installed. >> objdump -T /usr/lib64/libgnuradio-runtime.so | grep >> _ZN2gr12msg_accepter4postEN5boost13intrusive_ptrIN3pmt8pmt_baseEEES5_ > > (Does not return

Re: Undefined symbol _ZN2gr12msg_accepter4postEN5boost13intrusive_ptrIN3pmt8pmt_baseEEES5_

2021-11-08 Thread Vasil Velichkov
Hi John, Welcome to GNU Radio! On 04/11/2021 21.35, John Coppens wrote: > I've been suffering trying to install gnuradio. I tried different versions, > and different > combinations with gr-osmosdr, as I don't see a list of which versions go > together. For gnuradio 3.8 you need to use gr3.8

Re: gnuradio3.7 OOT module :‘module’ object has no attribute

2021-11-05 Thread Vasil Velichkov
Hi yangxin, Welcome to GNU Radio! On 05/11/2021 13.01, yangxin wrote: > I successfully compiled the OOC I wrote, but this error occurred when running > the flow diagram of the module I wrote in gnuradio-companion. I don’t know > what happened. One possible reason is undefined symbol/reference

Re: ImportError

2021-11-03 Thread Vasil Velichkov
Hi Mario, On 02/11/2021 21.17, Mario Moran wrote: > It is not working but it is a different error now. > Here it is: > Traceback (most recent call last): > File "/home/mariom/gr-tutorial/build/top_block.py", line 191, in > main() > File "/home/mariom/gr-tutorial/build/top_block.py", line

Re: ImportError

2021-11-02 Thread Vasil Velichkov
Hi Mario, On 01/11/2021 21.57, Mario Moran wrote: > For the command, 'dpkg -l | grep gnuradio' here is the output: > > rc gnuradio 3.8.3.1-0~gnuradio~focal-4 > amd64GNU Radio Software Radio Toolkit The `rc` here means - removed, config files

Re: ImportError

2021-11-01 Thread Vasil Velichkov
Hi Mario, On 01/11/2021 19.50, Mario Moran wrote: > I see, when I downloaded gnuradio from pybombs I must have not realized > that I had gnuradio so I installed it again with a different command. I > have tried to removed with sudo apt-get remove gnuradio So what was the result? Did the `sudo

Re: ImportError

2021-11-01 Thread Vasil Velichkov
Hi Mario, On 01/11/2021 03.46, Mario Moran wrote: > Since I installed it with pybombs, I used the command "$ cmake > -DCMAKE_INSTALL_PREFIX=~/prefix-3.8 ../ # should be the configured PyBOMBS > target" and I used it in the build directory. On 01/11/2021 03.01, Mario Moran wrote: > The Gnuradio

Re: gr-tutorial error

2021-10-29 Thread Vasil Velichkov
Hi Wojciech, On 29/10/2021 15.48, Wojciech Kazubski via GNU Radio, the Free & Open-Source Toolkit for Software Radio wrote: > Gr-tutorial is GR-3.7 only and will not build with version 3.8 or 3.9. It has been updated for 3.8 and 3.9 and it has separate sections where needed - like for XML vs

Re: gr-tutorial error

2021-10-29 Thread Vasil Velichkov
Hi Mario, Welcome to GNU Radio! On 29/10/2021 01.08, Mario Moran wrote: > AttributeError: module 'tutorial' has no attribute 'my_qpsk_demod_cb' Usually this error indicates undefined symbol/reference in the OOT's shared object (.so) file. To find our the exact problem go to your OOT's build

Re: grcc and configparser

2021-10-25 Thread Vasil Velichkov
Hi Ryan, On 25/10/2021 19.07, Ryan Volz wrote: > It's possible that I backported a patch to the conda package, but I don't see > anything with a quick glance, so *shrug*. Most probably it is this PR. https://github.com/gnuradio/gnuradio/pull/3429

Re: UnicodeDecodeError while creating OOT GRC 3.9.1.0

2021-10-20 Thread Vasil Velichkov
Hi Marcin, On 20/10/2021 14.20, Marcin Puchlik via GNU Radio, the Free & Open-Source Toolkit for Software Radio wrote: > "/home/ubuntu/anaconda3/envs/hornet2/lib/python3.9/codecs.py", line 322, in > decode(result, consumed) = self._buffer_decode(data, self.errors, >

Re: Problems using multiple C files in OOT Block

2021-10-20 Thread Vasil Velichkov
Hi George, On 19/10/2021 16.55, George Edwards wrote: > Below is a description of what I did: > What you did is correct and should be enough. > When I compiled and run, it failed because it could not see the function > my_add. What is the exact error message? How did you run it? Can you

Re: Unit tests for OOT crashes after adding new block

2021-10-13 Thread Vasil Velichkov
Hi Marcin, On 13/10/2021 13.18, Marcin Puchlik wrote: > /1: ImportError: /home/ubuntu/gr-howto/build/swig/_howto_swig.so: undefined > symbol: _ZN2gr5howto10square2_ff4makeEv/ You can convert/demangle the symbol using the c++filt command c++filt _ZN2gr5howto10square2_ff4makeEv

Re: Cmake cannot find GNU Radio package

2021-10-12 Thread Vasil Velichkov
Hi Marcin, On 11/10/2021 23.23, Marcin Puchlik wrote: > Is there a simpler explanation for a beginner like me? Sorry, I don't have a simpler explanation. To me this looks like a bug in the build scripts but I can't say where the bug is or how difficult it would be to fix it. Regards, Vasil

Re: Cmake cannot find GNU Radio package

2021-10-11 Thread Vasil Velichkov
Hi Marcin, On 11/10/2021 16.13, Marcin Puchlik wrote: > /CMake Error in lib/CMakeLists.txt: >   Imported target "gnuradio::gnuradio-runtime" includes non-existent path > >     "/include" > >   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include: > >   * The path was deleted,

Re: Cmake cannot find GNU Radio package

2021-10-11 Thread Vasil Velichkov
Hi Marcin, On 11/10/2021 15.49, Marcin Puchlik wrote: > Additionally I removed GNU Radio: > > *sudo apt-get purge --auto-remove gnuradio* > > And then install newer version using: > > *sudo apt-get install gnuradio=3.9.2.0-0\~gnuradio\~focal-3 > gnuradio-dev=3.9.2.0-0\~gnuradio\~focal-3 -y*

Re: Cmake cannot find GNU Radio package

2021-10-11 Thread Vasil Velichkov
Hi Marcin, On 11/10/2021 15.34, Marcin Puchlik wrote: > *sudo apt-get purge --auto-remove gnuradio* This is not enough > libgnuradio-runtime3.8.1:amd64 3.8.1.0-0~gnuradio~focal-6 > amd64gnuradio core runtimeii > libgnuradio-runtime3.8.2:amd64

Re: Cmake cannot find GNU Radio package

2021-10-11 Thread Vasil Velichkov
On 11/10/2021 14.26, Marcin Puchlik wrote: > *So first command gives:* *dpkg - l | grep gnuradio* > *ii gnuradio 3.8.1.0~rc1-2build2 > amd64GNU Radio Software Radio Toolkitii > gnuradio-dev:amd64 3.8.1.0~rc1-2build2

Re: Cmake cannot find GNU Radio package

2021-10-11 Thread Vasil Velichkov
Hi Marcin, On 11/10/2021 12.49, Marcin Puchlik wrote: > and I am doing an example project from > GNU Radio tutorials. > Yes, I get the same error when building other open source OOT modules (I > tried module from CGRAN called gr-dsd and I got identical messages). I just successfully built gr-dsd

Re: Cmake cannot find GNU Radio package

2021-10-11 Thread Vasil Velichkov
Hi Marcin, On 11/10/2021 11.29, Marcin Puchlik wrote: > CMake Error in lib/CMakeLists.txt: >   Imported target "gnuradio::gnuradio-runtime" includes non-existent path > >     "/include" > >   in its INTERFACE_INCLUDE_DIRECTORIES./ Is your OOT module open source project and can you share its

Re:

2021-10-11 Thread Vasil Velichkov
Hi Rachida SAROUI, Welcome to GNU Radio! On 11/10/2021 11.19, Rachida SAROUI wrote: > Hi everyone, > > I'm using Gnuradio 3.8 and when I try to add some modules, with cmake, make > install ... Everything is fine and I see them in my block list on gnuradio. > But when I use them in my flowgraph

Re: Cmake cannot find GNU Radio package

2021-10-11 Thread Vasil Velichkov
Hi Marcin, On 11/10/2021 10.15, Marcin Puchlik wrote: > then install it again by typing: > *sudo apt install gnuradio=3.8.1.0\~rc1-2build2* > Installation process was successful and I can run GNU Radio companion GUI > but I do not know why during compilation process, cmake cannot find the GNU >

Re: Generate flowgraphs from command line

2021-09-20 Thread Vasil Velichkov
Hi Jameson, On 20/09/2021 16.09, Jameson Collins wrote: > Excellent, thanks Vasil. > > Do you know if there is a way to get this tool to output a hierarchical > block to the local folder? It seems they always get generated to > ${HOME}/.grc_gnuradio/ Have you tried specifing `--output` and/or

Re: Generate flowgraphs from command line

2021-09-20 Thread Vasil Velichkov
Hi Jameson, On 20/09/2021 15.23, Jameson Collins wrote: > Is there a command line method of converting .grc files to .py files? You can use `grcc` to compile/convert flowgraphs fom the command line. $ grcc --help usage: grcc [-h] [-o DIR] [-u] [-r] GRC_FILE [GRC_FILE ...] Compile a GRC file

Re: [Solved] Re: Unit testing of message passing blocks

2021-09-09 Thread Vasil Velichkov
Hi Malte, On 08/09/2021 23.48, Malte Lenhart wrote: > thanks so much for your instant and helpful answer! That is exactly what > I looked for! I'm glad I was able to help. > I thought a test in > the gr-blocks will improve the visibility of your testing approach. Plus > another block has a unit

Re: Unit testing of message passing blocks

2021-09-08 Thread Vasil Velichkov
Hi Malte, Welcome to GNU Radio! On 07/09/2021 23.42, Malte Lenhart wrote: > This pattern does not seem to be uncommon, but I did not find a single > instance with existing unit tests unfortunately.. Have a look at gr-zeromq's unit tests - [1], [2]. > Problem: when executing the python unit

Re: Regarding an error in the gr-packetizer

2021-08-30 Thread Vasil Velichkov
Hi Yash Agrawal, Welcome to GNU Radio! On 28/08/2021 21.25, Yash Agrawal 18410 via GNU Radio, the Free & Open-Source Toolkit for Software Radio wrote: > I am currently working on the project "'Implementation of a packet > encoder/decoder pair in the GNU radio framework'".I am getting some an >

Re: OOT tests failing in GNU Radio 3.9.2.0, Ubuntu 20.04.2 LTS

2021-07-07 Thread Vasil Velichkov
Hi Anton, On 30/06/2021 14.58, Anton Ottosson wrote: >> First you need to import square2_ff from howto similar to line 13 and then >> you can use square2_ff directly without howto infront. > > > It shouldn't matter whether I use `howto.square2_ff()` or import and then use > `square2_ff()`.

Re: OOT tests failing in GNU Radio 3.9.2.0, Ubuntu 20.04.2 LTS

2021-06-29 Thread Vasil Velichkov
Hi Anton, On Tue, Jun 29, 2021, 21:04 Anton Ottosson wrote: 1: Traceback (most recent call last): > 1: File "/home/antonott/gr-howto/python/qa_square_ff.py", line 50, in > test_002_square2_ff > 1: sqr = howto.square2_ff() > 1: NameError: name 'howto' is not defined > First you need to

Re: OOT tests failing in GNU Radio 3.9.2.0, Ubuntu 20.04.2 LTS

2021-06-29 Thread Vasil Velichkov
Hi Anton, On 29/06/2021 19.07, Anton Ottosson wrote: > Thank you for so generously taking time out of your day to look at this. I > agree with your analysis and have now submitted an issue > (https://github.com/gnuradio/gnuradio/issues/4825) about this to the GNU > Radio GitHub repository.

Re: The error happened when a OOT modulus was 'sudo make install'.

2021-06-29 Thread Vasil Velichkov
Hi fan, Welcome to GNU Radio! On 29/06/2021 11.44, fan wrote: > I have installed gnuradio 3.8.1.0 in Ubuntu 20.04, and I am using gr_ modtool > to write the OOT module. However, when I execute the sudo make install > command in the build directory of the module, the system reports an error as

Re: OOT tests failing in GNU Radio 3.9.2.0, Ubuntu 20.04.2 LTS

2021-06-29 Thread Vasil Velichkov
Hi Anton, On 28/06/2021 22.12, Anton Ottosson wrote: > It indeed seems like the tests only work if I first install the module. I > have set up a GitHub with the full source at > https://github.com/antonott/oot_tests_failing. The README outlines the > procedure used to build, test (and fail),

Re: OOT tests failing in GNU Radio 3.9.2.0, Ubuntu 20.04.2 LTS

2021-06-28 Thread Vasil Velichkov
Hi Anton, On 28/06/2021 18.29, Anton Ottosson wrote: > Though unfortunately, due to not being able to open mailto links with with > the Outlook web app, I responded to him with a different email address, and > therefore our discussion has not been included in the mailing list correctly. >

Re: OOT tests failing in GNU Radio 3.9.2.0, Ubuntu 20.04.2 LTS

2021-06-28 Thread Vasil Velichkov
Hi Anton, Welcome to GNU Radio! On 28/06/2021 04.32, Anton Ottosson wrote: > I was working my way through the OOT module tutorial > (https://wiki.gnuradio.org/index.php/OutOfTreeModules) when I ran in to an > issue in the part about testing. Trying to run tests i get an error, and > ctest -V

Re: gr_3.9 OOT generates strange .so files

2021-06-15 Thread Vasil Velichkov
Hi Tom, On 14/06/2021 20.23, Tom McDermott wrote: > But it is also generating: > libgnuradio.grhpsdr.so.1.0.0git > libgnuradio.grhpsdr.so.e487bf33 > Is the way my OOT's .so files (and no soft links) being generated a > problem? This should not be a problem for packages. One small problem when

Re: Getting OOT's to run in GRC

2021-06-14 Thread Vasil Velichkov
Hi John, On 13/06/2021 14.34, John Murphy wrote: > The blocks pull in > gr-fft and (for the lfsr stuff) gr-digital. There is a source block, a > general block, and a couple noblock utility classes in the custom OOT > module. > But when I attempt to run a flowgraph containing these OOT blocks in

Re: Block not found in module although it is there

2021-05-05 Thread Vasil Velichkov
Hi Ralf, On 05/05/2021 17.38, Ralf Gorholt wrote: > AttributeError: module 'dl5eu' has no attribute 'dvbt_ofdm_synchronization' > Can anybody give me a hint what is happening here? You most probably need to link the gnuradio's fft component to your OOT block. In your CMakeLists.txt find the

Re: GNU Radio 3.9 OOT derived class

2021-04-23 Thread Vasil Velichkov
Hi Alvaro, On 23/04/2021 02.43, Alvaro Pendas Recondo wrote: > The source code is available here https://github.com/apruhd/gr-TFMv3 You have two find_package(Gnuradio "3.9" ...) in your CMakeLists.txt - lines 77 and 177 https://github.com/apruhd/gr-TFMv3/blob/master/CMakeLists.txt#L77

Re: GNU Radio 3.9 OOT derived class

2021-04-22 Thread Vasil Velichkov
Hi Alvaro, On 22/04/2021 19.02, Alvaro Pendas Recondo wrote: > Thank you for your answer. Should not be Gnuradio "3.9" instead of "3.9"?. Yes, use the version you are developing for. > Anyway, I tried with both options and I got the same error: > > Target "TFMv3_python" links to target

  1   2   >