Re: terminate called after throwing an instance of 'boost::python::error_already_set

2022-05-27 Thread dn
On 28/05/2022 11.11, Larry Martell wrote:
> 
> 
> On Fri, May 27, 2022 at 5:51 PM dn  > wrote:
> 
> On 28/05/2022 08.14, Larry Martell wrote:
> > I have a script that has literally been running for 10 years.
> > Suddenly, for some runs it crashes with the error:
> >
> > terminate called after throwing an instance of
> 'boost::python::error_already_set
> >
> > No stack trace. Anyone have any thoughts on what could cause this
> > and/or how I can track it down?
> 
> 1 a change to Python interpreter being used
> 
> 2 a change to the boost library being used
> 
> 3 a change to lower levels in 'the s/w stack' or h/w
> 
> 4 a change to the data being passed-across
> 
> 
> Definitely not 1. 4 is always the case - every run is with different
> data. 2 and 3 I don’t know. What is boost and how does Python use it?
> None of my code is importing it. How can get a stack trace when it
> crashes with just that message?  


A possibly/hopefully helpful explanation appears at:
https://misspent.wordpress.com/2009/10/11/boost-python-and-handling-python-exceptions/

-- 
Regards,
=dn
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: terminate called after throwing an instance of 'boost::python::error_already_set

2022-05-27 Thread Larry Martell
On Fri, May 27, 2022 at 5:51 PM dn  wrote:

> On 28/05/2022 08.14, Larry Martell wrote:
> > I have a script that has literally been running for 10 years.
> > Suddenly, for some runs it crashes with the error:
> >
> > terminate called after throwing an instance of
> 'boost::python::error_already_set
> >
> > No stack trace. Anyone have any thoughts on what could cause this
> > and/or how I can track it down?
>
> 1 a change to Python interpreter being used
>
> 2 a change to the boost library being used
>
> 3 a change to lower levels in 'the s/w stack' or h/w
>
> 4 a change to the data being passed-across


Definitely not 1. 4 is always the case - every run is with different data.
2 and 3 I don’t know. What is boost and how does Python use it? None of my
code is importing it. How can get a stack trace when it crashes with just
that message?

>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: terminate called after throwing an instance of 'boost::python::error_already_set

2022-05-27 Thread dn
On 28/05/2022 08.14, Larry Martell wrote:
> I have a script that has literally been running for 10 years.
> Suddenly, for some runs it crashes with the error:
> 
> terminate called after throwing an instance of 
> 'boost::python::error_already_set
> 
> No stack trace. Anyone have any thoughts on what could cause this
> and/or how I can track it down?

1 a change to Python interpreter being used

2 a change to the boost library being used

3 a change to lower levels in 'the s/w stack' or h/w

4 a change to the data being passed-across
-- 
Regards,
=dn
-- 
https://mail.python.org/mailman/listinfo/python-list


terminate called after throwing an instance of 'boost::python::error_already_set

2022-05-27 Thread Larry Martell
I have a script that has literally been running for 10 years.
Suddenly, for some runs it crashes with the error:

terminate called after throwing an instance of 'boost::python::error_already_set

No stack trace. Anyone have any thoughts on what could cause this
and/or how I can track it down?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: starting Python 3.10.4 64-bit

2022-05-27 Thread MRAB

On 2022-05-27 17:18, Rolf Blum wrote:

Hallo,
I installed Python 3.10.4 64-bit successfully. I Also checked in the
Setup to add it to the path.
In the win 8.1 console python 3.7 is started when I enter: python.
This also happened after a reboot and after a repair with the Setup.
How do I start the python console for 3.10.4?
Thanks


You probably also have Python 3.8 on the path, and it's finding that one 
first.


These days it's recommended to use the Python Launcher, "py". That lets 
you specify which version of Python you want to use.

--
https://mail.python.org/mailman/listinfo/python-list


starting Python 3.10.4 64-bit

2022-05-27 Thread Rolf Blum

Hallo,
I installed Python 3.10.4 64-bit successfully. I Also checked in the 
Setup to add it to the path.

In the win 8.1 console python 3.7 is started when I enter: python.
This also happened after a reboot and after a repair with the Setup.
How do I start the python console for 3.10.4?
Thanks
--
https://mail.python.org/mailman/listinfo/python-list