On Tuesday, February 1, 2022 7:18:23 AM EST Steffen Möller wrote:
> Hi Gene,
> 
> I just ran into the problem below which I expect to be at the root of
> what then kills it further down. I'll investigate this a bit more and
> then create a github issue or a pull request ... or both :)
> 
> Steffen

Sounds good, but don't confuse me with a python expert. That would be 
dangerous.
 
> "~/Github/linuxcnc$ linuxcnc
> LINUXCNC - 2.9.0~pre0
> Machine configuration directory is
> '/home/moeller/linuxcnc/configs/sim.axis'
> Machine configuration file is 'axis_mm.ini'
> Starting LinuxCNC...
> Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal
> Note: Using POSIX non-realtime
> Found file(lib): /usr/share/linuxcnc/hallib/sim_spindle_encoder.hal
> Found file(lib): /usr/share/linuxcnc/hallib/axis_manualtoolchange.hal
> Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal
> PYTHON: exception during 'this' export:
> TypeError: 'Boost.Python.class' object is not iterable
> 
> 
> The above exception was the direct cause of the following exception:
> 
> 
> Traceback (most recent call last):
> 
>   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
> 
>   File "<frozen importlib._bootstrap>", line 986, in
> _find_and_load_unlocked
> 
>   File "<frozen importlib._bootstrap>", line 666, in _load_unlocked
> 
>   File "<frozen importlib._bootstrap>", line 565, in module_from_spec
> 
>   File "<frozen importlib._bootstrap>", line 763, in create_module
> 
> SystemError: _PyEval_EvalFrameDefault returned a result with an error
> set "

As I previously posted a couple times, "boost::python", is the 
showstopper at building it here, and while I'm as far from a python 
programmer as you can get, the python 3.7 in buster Just Works, the 
python 3.9.2 in bullseye makes the compiler bail out.  And the compiler 
outputs a huge boatload of warnings about changed syntax long before it 
gives up. Dozens of warnings, but only a few unique call names.

>From the repeating pattern of reported warnings, I get the impression it 
might be possible to "filter" the src thru awk or sed, updating the name 
of the call in just one or two headers, and fix 99% of it. But that's 
just my impression. Salt it heavily. :o)

Cheers, Steffen, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>





_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to