Removing OOT modules from upgraded gnuradio

2022-12-11 Thread Yotam Rabin
Hi all! I upgraded to Ubuntu 22.04, and with it upgraded gnuradio to version 3.10. Because of that I need to remove all OOT modules, which didn't succeed when using "make uninstall" as it gives out a swig error due to swig not being used anymore. I also tried using apt-purge without success. Is th

Fwd: how to make stream demux block in python

2022-12-11 Thread Jeff Long
There is a built-in Stream Demux block you could use. Do you specifically need it to be in Python? On Sun, Dec 11, 2022 at 1:33 AM Sumit Agrawal (P19EE207) < agrawal...@iitj.ac.in> wrote: > Hi everyone, > Can anyone tell me how to make a stream demuxing block to demultiplex one > stream into N ou

Re: how to make stream demux block in python

2022-12-11 Thread Jeff Long
Right, it's not in 3.8. Here's the implementation in C++ for more recent versions. You could translate this to Python if you want. Note that it's a block (not a sync block) so you implement general_work() rather than work(). https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/stream_demux

Re: Import error using an OOT

2022-12-11 Thread Elmore Family
Here is the result: pi@raspberrypi:~ $ python3 Python 3.9.2 (default, Mar 12 2021, 04:06:34) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import ft8 Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3

Re: Import error using an OOT

2022-12-11 Thread Cinaed Simson
The problem appears to be in the python code   response.py - there is no 'main()' method. -- Cinaed On 12/11/22 09:48, Elmore Family wrote: Here is the result: pi@raspberrypi:~ $ python3 Python 3.9.2 (default, Mar 12 2021, 04:06:34) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "c

Re: Import error using an OOT

2022-12-11 Thread Elmore Family
I have attached the 2 files in question. Look at the beginning of run_response.py. It uses ConfigParser to access the ft8_qso.conf configuration file. This line seems to be the problem: my_call = str(parser.get('main', 'my_call_sign')). But ‘main’ is a section in the ft8_qso.conf file. Why can

Re: Import error using an OOT

2022-12-11 Thread Cinaed Simson
The main method is defined beginning on line 216 and called 4 times on lines 36-39. And it appears the configparser is throwing the NoSectionError. Try commenting out line 36 to see if line 37 throws the same exception. When you said is has run before, did it run under python3.9? -- Cinaed