Re: Import error using an OOT

2022-12-13 Thread Elmore Family
, December 12, 2022 9:44 PM To: discuss-gnuradio@gnu.org Subject: RE: Re: Import error using an OOT This thread seems to have gone for a while with a bit of thrashing. To recap: > I have created an OOT which when I incorporate it in my flowgraph shows the > following error: > Failed to

Re: Import error using an OOT

2022-12-12 Thread Cinaed Simson
e line as you requested. No difference. *From:* Cinaed Simson *Sent:* Monday, December 12, 2022 5:44 PM *To:* Elmore Family *Cc:* discuss-gnuradio@gnu.org *Subject:* Re: Import error using an OOT No I'm not. The ft8_qso.conf.is a data input file - or a yaml file - it is read by the python code.

RE: Re: Import error using an OOT

2022-12-12 Thread Jim Melton
y where you start the python process, or create some path to where your config file(s) live and include it in the argument to config.read(). --- Jim Melton From: On Behalf Of Elmore's Sent: Monday, December 12, 2022 19:14 To: de...@ant.uni-bremen.de Cc: discuss-gnuradio@gnu.org Subject: [EXTE

Re: Import error using an OOT

2022-12-12 Thread Elmore's
I tried omitting the ./ and still get the same error. I thought ./ indicated the current directory. The .conf file is in the same directory as the .py file. I tried using read_file and got a MissingSectionHeaderError. Jim -- This email has been checked for viruses by AVG antivirus software.

Re: Import error using an OOT

2022-12-12 Thread Elmore Family
I changed the line as you requested. No difference. From: Cinaed Simson Sent: Monday, December 12, 2022 5:44 PM To: Elmore Family Cc: discuss-gnuradio@gnu.org Subject: Re: Import error using an OOT No I'm not. The ft8_qso.conf.is a data input file - or a yaml file - it is read by the python

Re: Import error using an OOT

2022-12-12 Thread Cinaed Simson
app. However, this is irrelevant since we are not talking about the same problem. Jim *From:* Cinaed Simson *Sent:* Monday, December 12, 2022 12:57 AM *To:* Elmore Family *Cc:* discuss-gnuradio@gnu.org *Subject:* Re: Import error using an OOT The main method is defined beginning on line 216

Re: Import error using an OOT

2022-12-12 Thread Cinaed Simson
*To:* Elmore Family *Cc:* discuss-gnuradio@gnu.org *Subject:* Re: Import error using an OOT 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

Re: Import error using an OOT

2022-12-12 Thread Johannes Demel
me problem. Jim *From:* Cinaed Simson *Sent:* Monday, December 12, 2022 12:57 AM *To:* Elmore Family *Cc:* discuss-gnuradio@gnu.org *Subject:* Re: Import error using an OOT The main method is defined beginning on line 216 and called 4 times on lines 36-39. And it appears the co

Re: Import error using an OOT

2022-12-12 Thread Elmore Family
in this same app. However, this is irrelevant since we are not talking about the same problem. Jim From: Cinaed Simson Sent: Monday, December 12, 2022 12:57 AM To: Elmore Family Cc: discuss-gnuradio@gnu.org Subject: Re: Import error using an OOT The main method is defined beginning on line 216

Re: Import error using an OOT

2022-12-11 Thread Cinaed Simson
’ is a section in the ft8_qso.conf file. Why can’t it find ‘main’? Jim *From:* Cinaed Simson *Sent:* Sunday, December 11, 2022 8:52 PM *To:* Elmore Family *Cc:* discuss-gnuradio@gnu.org *Subject:* Re: Import error using an OOT The problem appears to be in the python code   response.py - there is no 'main

Re: Import error using an OOT

2022-12-11 Thread Elmore Family
can’t it find ‘main’? Jim From: Cinaed Simson Sent: Sunday, December 11, 2022 8:52 PM To: Elmore Family Cc: discuss-gnuradio@gnu.org Subject: Re: Import error using an OOT The problem appears to be in the python code response.py - there is no 'main()' method. -- Cinaed On 12/11/22 09:48

Re: Import error using an OOT

2022-12-11 Thread Cinaed Simson
t;, line 1149, in _unify_values raise NoSectionError(section) from None configparser.NoSectionError: No section: 'main' Jim *From:* Cinaed Simson *Sent:* Sunday, December 11, 2022 12:15 AM *To:* discuss-gnuradio@gnu.org *Subject:* Re: Import error using an OOT Type    python3 then enter   im

Re: Import error using an OOT

2022-12-11 Thread Elmore Family
Jim From: Cinaed Simson Sent: Sunday, December 11, 2022 12:15 AM To: discuss-gnuradio@gnu.org Subject: Re: Import error using an OOT Type python3 then enter import ft8 and see if it works. -- Cinaed On 12/9/22 18:33, Elmore's wrote: I have created an OOT which when I incorporate

Re: Import error using an OOT

2022-12-10 Thread Cinaed Simson
Type    python3 then enter   import ft8 and see if it works. -- Cinaed On 12/9/22 18:33, Elmore's wrote: I have created an OOT which when I incorporate it in my flowgraph shows the following error: Failed to evaluate import expression ‘import ft8’ The yaml file is: id: ft8_run_response

Re: Import error using an OOT

2022-12-10 Thread Cinaed Simson
Type    python3 in a terminal window, then enter   import ft8 and see what happens. -- Cinaed On 12/9/22 18:33, Elmore's wrote: I have created an OOT which when I incorporate it in my flowgraph shows the following error: Failed to evaluate import expression ‘import ft8’ The yaml file is:

Re: Import error using an OOT

2022-12-10 Thread Elmore Family
The version is 2.2.1-1. The OS is Bullseye. What next? Jim From: Cinaed Simson Sent: Saturday, December 10, 2022 12:24 AM To: discuss-gnuradio@gnu.org Subject: Re: Import error using an OOT Hi Elmore - type apt list | grep python3-pygccxml and see if it's version 1.x. If it's

Re: Import error using an OOT

2022-12-09 Thread Cinaed Simson
Hi Elmore - type   apt list | grep python3-pygccxml and see if it's version 1.x. If it's not installed, then   apt install python3-pygccxml will install it. Version 1.x only works with python code - it may be all you need. If you need version 2, then it's easy to upgrade the system from

Import error using an OOT

2022-12-09 Thread Elmore's
I have created an OOT which when I incorporate it in my flowgraph shows the following error: Failed to evaluate import expression ‘import ft8’ The yaml file is: id: ft8_run_response label: ft8 category: '[ft8]' templates: imports: import ft8 make: ft8.run_response(${ft8_button})