, 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
wrote:
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
So, either make sure that your
config file is in the directory 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:
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.
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
p
ll 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
: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 configparser is throwing the NoSectionError.
Try commenting out line 36 to see if line 37 throw
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 and called 4 times on
lines 36-39.
And i
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
;)).
But ‘main’ 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
8_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()' method.
/python3.9/configparser.py", 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 a
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
import ft8
and see if it works.
-- Cinaed
On 12/9/22 18:33, Elmore's wrote:
I have crea
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
la
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:
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&
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
bu
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})
callback
18 matches
Mail list logo