Re: Python crash together with threads

2024-10-03 Thread Left Right via Python-list
> whereas I am quite sure that program flows do not overlap. You can never be sure of this in Python. Virtually all objects in Python are allocated on heap, so instantiating integers, doing simple arithmetic etc. -- all of this requires synchronization because it will allocate memory for a shared

Re: Python crash together with threads

2024-10-02 Thread Louis Krupp via Python-list
On 10/2/2024 7:26 AM, Guenther Sohler wrote: My Software project is working fine in most of the cases (www.pythonscad.org) however I am right now isolating a scenario, which makes it crash permanently. It does not happen with Python 3.11.6 (and possibly below), it happens with 3.12 and above I

Python crash together with threads

2024-10-02 Thread Guenther Sohler via Python-list
My Software project is working fine in most of the cases (www.pythonscad.org) however I am right now isolating a scenario, which makes it crash permanently. It does not happen with Python 3.11.6 (and possibly below), it happens with 3.12 and above It does not happen when not using Threads. Howe

Re: Embedding Python crash on PyTuple_New

2021-11-24 Thread MRAB
On 2021-11-24 07:59, Arnaud Loonstra wrote: On 24-11-2021 01:46, MRAB wrote: On 2021-11-23 20:25, Arnaud Loonstra wrote: On 23-11-2021 18:31, MRAB wrote: On 2021-11-23 16:04, Arnaud Loonstra wrote: On 23-11-2021 16:37, MRAB wrote: On 2021-11-23 15:17, MRAB wrote: On 2021-11-23 14:44, Arnau

Re: Embedding Python crash on PyTuple_New

2021-11-24 Thread Arnaud Loonstra
On 24-11-2021 01:46, MRAB wrote: On 2021-11-23 20:25, Arnaud Loonstra wrote: On 23-11-2021 18:31, MRAB wrote: On 2021-11-23 16:04, Arnaud Loonstra wrote: On 23-11-2021 16:37, MRAB wrote: On 2021-11-23 15:17, MRAB wrote: On 2021-11-23 14:44, Arnaud Loonstra wrote: On 23-11-2021 15:34, MRAB

Re: Embedding Python crash on PyTuple_New

2021-11-23 Thread MRAB
On 2021-11-23 20:25, Arnaud Loonstra wrote: On 23-11-2021 18:31, MRAB wrote: On 2021-11-23 16:04, Arnaud Loonstra wrote: On 23-11-2021 16:37, MRAB wrote: On 2021-11-23 15:17, MRAB wrote: On 2021-11-23 14:44, Arnaud Loonstra wrote: On 23-11-2021 15:34, MRAB wrote: On 2021-11-23 12:07, Arnaud

Re: Embedding Python crash on PyTuple_New

2021-11-23 Thread Arnaud Loonstra
On 23-11-2021 18:31, MRAB wrote: On 2021-11-23 16:04, Arnaud Loonstra wrote: On 23-11-2021 16:37, MRAB wrote: On 2021-11-23 15:17, MRAB wrote: On 2021-11-23 14:44, Arnaud Loonstra wrote: On 23-11-2021 15:34, MRAB wrote: On 2021-11-23 12:07, Arnaud Loonstra wrote: Hi, I've got Python embedd

Re: Embedding Python crash on PyTuple_New

2021-11-23 Thread MRAB
On 2021-11-23 17:31, MRAB wrote: On 2021-11-23 16:04, Arnaud Loonstra wrote: [snip] I would turn my attention to s_py_zosc function but I'm not sure. Since the errors are GC related it could caused anywhere? Basically, yes, but I won't be surprised if it was due to too few INCREFs or too man

Re: Embedding Python crash on PyTuple_New

2021-11-23 Thread MRAB
On 2021-11-23 16:04, Arnaud Loonstra wrote: On 23-11-2021 16:37, MRAB wrote: On 2021-11-23 15:17, MRAB wrote: On 2021-11-23 14:44, Arnaud Loonstra wrote: On 23-11-2021 15:34, MRAB wrote: On 2021-11-23 12:07, Arnaud Loonstra wrote: Hi, I've got Python embedded successfully in a program up un

Re: Embedding Python crash on PyTuple_New

2021-11-23 Thread Arnaud Loonstra
On 23-11-2021 16:37, MRAB wrote: On 2021-11-23 15:17, MRAB wrote: On 2021-11-23 14:44, Arnaud Loonstra wrote: On 23-11-2021 15:34, MRAB wrote: On 2021-11-23 12:07, Arnaud Loonstra wrote: Hi, I've got Python embedded successfully in a program up until now as I'm now running into weird GC rela

Re: Embedding Python crash on PyTuple_New

2021-11-23 Thread MRAB
On 2021-11-23 15:17, MRAB wrote: On 2021-11-23 14:44, Arnaud Loonstra wrote: On 23-11-2021 15:34, MRAB wrote: On 2021-11-23 12:07, Arnaud Loonstra wrote: Hi, I've got Python embedded successfully in a program up until now as I'm now running into weird GC related segfaults. I'm currently tryin

Re: Embedding Python crash on PyTuple_New

2021-11-23 Thread MRAB
On 2021-11-23 14:44, Arnaud Loonstra wrote: On 23-11-2021 15:34, MRAB wrote: On 2021-11-23 12:07, Arnaud Loonstra wrote: Hi, I've got Python embedded successfully in a program up until now as I'm now running into weird GC related segfaults. I'm currently trying to debug this but my understandi

Re: Embedding Python crash on PyTuple_New

2021-11-23 Thread Arnaud Loonstra
On 23-11-2021 15:34, MRAB wrote: On 2021-11-23 12:07, Arnaud Loonstra wrote: Hi, I've got Python embedded successfully in a program up until now as I'm now running into weird GC related segfaults. I'm currently trying to debug this but my understanding of CPython limits me here. I'm creating a

Re: Embedding Python crash on PyTuple_New

2021-11-23 Thread MRAB
On 2021-11-23 12:07, Arnaud Loonstra wrote: Hi, I've got Python embedded successfully in a program up until now as I'm now running into weird GC related segfaults. I'm currently trying to debug this but my understanding of CPython limits me here. I'm creating a Tuple in C but it crashes on crea

Re: Embedding Python crash on PyTuple_New

2021-11-23 Thread Arnaud Loonstra
On 23-11-2021 13:07, Arnaud Loonstra wrote: Hi, I've got Python embedded successfully in a program up until now as I'm now running into weird GC related segfaults. I'm currently trying to debug this but my understanding of CPython limits me here. I'm creating a Tuple in C but it crashes on c

Embedding Python crash on PyTuple_New

2021-11-23 Thread Arnaud Loonstra
Hi, I've got Python embedded successfully in a program up until now as I'm now running into weird GC related segfaults. I'm currently trying to debug this but my understanding of CPython limits me here. I'm creating a Tuple in C but it crashes on creating it after a while. It doesn't make se

Re: python crash problem

2011-02-05 Thread John Machin
On Feb 3, 8:21 am, Terry Reedy wrote: > On 2/2/2011 2:19 PM, Yelena wrote: > . > > When having a problem with a 3rd party module, not part of the stdlib, > you should give a source. >    http://sourceforge.net/projects/dbfpy/ > This appears to be a compiled extension. Nearly always, when Python >

Re: python crash problem

2011-02-02 Thread Emile van Sebille
On 2/2/2011 11:19 AM Yelena said... This application has requested the Runtime to terminate it in an unusual way This is a MS message -- did you look in the application event viewer? Otherwise, you could try upping/reducing memory and confirm it dies later/earlier. Perhaps there's an at or

Re: python crash problem

2011-02-02 Thread Terry Reedy
On 2/2/2011 2:19 PM, Yelena wrote: I've been using python Which version? > to run some large database recently. I used dbfpy module to access some information stored in dbf format. When having a problem with a 3rd party module, not part of the stdlib, you should give a source. http://so

Re: python crash problem

2011-02-02 Thread Yelena
Here is the code, I edited out some private info: import sys import urllib2 import string import re import datetime from mx import DateTime from dbfpy import dbf addylist = ['add.dbf'] okset = ['P','L','I','B'] for addy in addylist: db = dbf.Dbf(addy) print (addy) count = len(db)

python crash problem

2011-02-02 Thread Yelena
I've been using python to run some large database recently. I used dbfpy module to access some information stored in dbf format. However, after 20hrs of running it gave me an error of : Runtime Error! This application has requested the Runtime to terminate it in an unusual way.Please contact the ap

Re: python crash on windows but not on linux

2010-02-15 Thread hjebbers
On 13 feb, 13:48, Dave Angel wrote: > hjebbers wrote: > > On Feb 13, 10:25 am, Dennis Lee Bieber wrote: > > >> On Fri, 12 Feb 2010 09:21:07 -0800 (PST), hjebbers > >> declaimed the following in gmane.comp.python.general: > > >>> What strikes me is: > >>> 1. the crash on windows, but linux works

Re: python crash on windows but not on linux

2010-02-14 Thread Roel Schroeven
Op 2010-02-13 13:14, Alf P. Steinbach schreef: > * hjebbers: >> I enlarged the windows page file from 750Kb to 1.5Gb . >> The crash still happens. >> btw, the crash does not happen at a peak memory usage. >> According to windows task manager, at the moment of crash mem usage of >> my program is 669

Re: python crash on windows but not on linux

2010-02-13 Thread Dave Angel
hjebbers wrote: On Feb 13, 10:25 am, Dennis Lee Bieber wrote: On Fri, 12 Feb 2010 09:21:07 -0800 (PST), hjebbers declaimed the following in gmane.comp.python.general: What strikes me is: 1. the crash on windows, but linux works OK (same test sets) 2. the linux box has 750Mb RAM, the

Re: python crash on windows but not on linux

2010-02-13 Thread hjebbers
On Feb 13, 10:25 am, Dennis Lee Bieber wrote: > On Fri, 12 Feb 2010 09:21:07 -0800 (PST), hjebbers > declaimed the following in gmane.comp.python.general: > > > What strikes me is: > > 1. the crash on windows, but linux works OK (same test sets) > > 2. the linux box has 750Mb RAM, the windows box

Re: python crash on windows but not on linux

2010-02-13 Thread Alf P. Steinbach
* hjebbers: I enlarged the windows page file from 750Kb to 1.5Gb . The crash still happens. btw, the crash does not happen at a peak memory usage. According to windows task manager, at the moment of crash mem usage of my program is 669kb, peak memory usage is 1.136kb henk-jan Probably you mean

Re: python crash on windows but not on linux

2010-02-13 Thread hjebbers
On Feb 13, 12:24 pm, "Diez B. Roggisch" wrote: > Am 13.02.10 11:50, schrieb hjebbers: > > > > > On Feb 13, 10:25 am, Dennis Lee Bieber  wrote: > >> On Fri, 12 Feb 2010 09:21:07 -0800 (PST), hjebbers > >> declaimed the following in gmane.comp.python.general: > > >>> What strikes me is: > >>> 1. the

Re: python crash on windows but not on linux

2010-02-13 Thread Diez B. Roggisch
Am 13.02.10 11:50, schrieb hjebbers: On Feb 13, 10:25 am, Dennis Lee Bieber wrote: On Fri, 12 Feb 2010 09:21:07 -0800 (PST), hjebbers declaimed the following in gmane.comp.python.general: What strikes me is: 1. the crash on windows, but linux works OK (same test sets) 2. the linux box has 750

Re: python crash on windows but not on linux

2010-02-13 Thread hjebbers
to all, thanks for the pointers so far. if you feel the need to reproduce the crash, it's not that hard, (downloading and installing my edi translator, install configuration (button-click), and run. I have a modified version (replace some *.py files) that eliminate a lot of stuff (simpler setup, n

Re: python crash on windows but not on linux

2010-02-13 Thread hjebbers
On Feb 13, 10:25 am, Dennis Lee Bieber wrote: > On Fri, 12 Feb 2010 09:21:07 -0800 (PST), hjebbers > declaimed the following in gmane.comp.python.general: > > > What strikes me is: > > 1. the crash on windows, but linux works OK (same test sets) > > 2. the linux box has 750Mb RAM, the windows box

Re: python crash on windows but not on linux

2010-02-13 Thread hjebbers
On Feb 13, 11:03 am, Peter Otten <__pete...@web.de> wrote: > hjebbers wrote: > > On Feb 12, 3:17 pm, Peter Otten <__pete...@web.de> wrote: > >> hjebbers wrote: > >> > On Feb 11, 7:01 pm, Peter Otten <__pete...@web.de> wrote: > >> >> hjebbers wrote: > >> >> > On Feb 11, 5:45 pm, M3RT wrote: > >> >>

Re: python crash on windows but not on linux

2010-02-13 Thread hjebbers
On Feb 12, 11:46 pm, Rob Williscroft wrote: > hjebbers wrote in news:2864756a-292b-4138-abfd- > 3348b72b7...@u9g2000yqb.googlegroups.com in comp.lang.python: > > > the information about the error is a windows dump. > > This may help: > > #http://msdn.microsoft.com/en-us/library/ms680621(VS.85).asp

Re: python crash on windows but not on linux

2010-02-13 Thread Peter Otten
hjebbers wrote: > On Feb 12, 3:17 pm, Peter Otten <__pete...@web.de> wrote: >> hjebbers wrote: >> > On Feb 11, 7:01 pm, Peter Otten <__pete...@web.de> wrote: >> >> hjebbers wrote: >> >> > On Feb 11, 5:45 pm, M3RT wrote: >> >> >> The problem may be related to how you treat the EDI file or lets >>

Re: python crash on windows but not on linux

2010-02-12 Thread Rob Williscroft
hjebbers wrote in news:2864756a-292b-4138-abfd- 3348b72b7...@u9g2000yqb.googlegroups.com in comp.lang.python: > the information about the error is a windows dump. This may help: # http://msdn.microsoft.com/en-us/library/ms680621(VS.85).aspx SEM_FAILCRITICALERRORS = 1 SEM_NOALIGNMENTFAULTEXCEPT

Re: python crash on windows but not on linux

2010-02-12 Thread hjebbers
On Feb 12, 3:17 pm, Peter Otten <__pete...@web.de> wrote: > hjebbers wrote: > > On Feb 11, 7:01 pm, Peter Otten <__pete...@web.de> wrote: > >> hjebbers wrote: > >> > On Feb 11, 5:45 pm, M3RT wrote: > >> >> The problem may be related to how you treat the EDI file or lets say > >> >> DATA. Also your

Re: Re: python crash on windows but not on linux

2010-02-12 Thread Dave Angel
hjebbers wrote: On Feb 12, 2:06 pm, Dave Angel wrote: hjebbers wrote: On Feb 12, 3:41 am, a...@pythoncraft.com (Aahz) wrote: In article <34fcf680-1aa4-4835-9eba-3db3249f3...@q16g2000yqq.googlegroups.com>, hjebbers wrote: the error is a windows thing, I can

Re: python crash on windows but not on linux

2010-02-12 Thread Bruno Desthuilliers
Peter Otten a écrit : (snip) Even on alt.haruspicy they cannot do much without a liver now and then... Muhahahahaha !-) +1 QOTW -- http://mail.python.org/mailman/listinfo/python-list

Re: python crash on windows but not on linux

2010-02-12 Thread Peter Otten
hjebbers wrote: > On Feb 11, 7:01 pm, Peter Otten <__pete...@web.de> wrote: >> hjebbers wrote: >> > On Feb 11, 5:45 pm, M3RT wrote: >> >> The problem may be related to how you treat the EDI file or lets say >> >> DATA. Also your coding style is important. Can you provide more info? >> >> > Yes, a

Re: python crash on windows but not on linux

2010-02-12 Thread Christian Heimes
hjebbers wrote: > The message on the screen is (I typed it over): > > ** > python.exe > > python.exe has encountered a problem and needs to close. > We are sorry for the inconvenience. > > If you were in the midd

Re: python crash on windows but not on linux

2010-02-12 Thread hjebbers
On Feb 12, 2:06 pm, Dave Angel wrote: > hjebbers wrote: > > On Feb 12, 3:41 am, a...@pythoncraft.com (Aahz) wrote: > > >> In article > >> <34fcf680-1aa4-4835-9eba-3db3249f3...@q16g2000yqq.googlegroups.com>, > > >> hjebbers   wrote: > > >>> the error is a windows thing, I can make a screenshot of

Re: python crash on windows but not on linux

2010-02-12 Thread Steve Holden
Dave Angel wrote: > hjebbers wrote: >> On Feb 12, 3:41 am, a...@pythoncraft.com (Aahz) wrote: >> >>> In article >>> <34fcf680-1aa4-4835-9eba-3db3249f3...@q16g2000yqq.googlegroups.com>, >>> >>> hjebbers wrote: >>> >>> the error is a windows thing, I can make a screenshot of it, but I ca

Re: python crash on windows but not on linux

2010-02-12 Thread Dave Angel
hjebbers wrote: On Feb 12, 3:41 am, a...@pythoncraft.com (Aahz) wrote: In article <34fcf680-1aa4-4835-9eba-3db3249f3...@q16g2000yqq.googlegroups.com>, hjebbers wrote: the error is a windows thing, I can make a screenshot of it, but I can not copy/paste text. In that case, yo

Re: python crash on windows but not on linux

2010-02-12 Thread hjebbers
On Feb 12, 3:41 am, a...@pythoncraft.com (Aahz) wrote: > In article > <34fcf680-1aa4-4835-9eba-3db3249f3...@q16g2000yqq.googlegroups.com>, > > hjebbers   wrote: > > >the error is a windows thing, I can make a screenshot of it, but I can > >not copy/paste text. > > In that case, you need to -- very

Re: python crash on windows but not on linux

2010-02-12 Thread Peter Otten
hjebbers wrote: > On Feb 11, 5:45 pm, M3RT wrote: >> The problem may be related to how you treat the EDI file or lets say >> DATA. Also your coding style is important. Can you provide more info? > > Yes, a whole lot more; but I do not want to bother you with that now. > I was just wondering if

Re: python crash on windows but not on linux

2010-02-12 Thread hjebbers
On Feb 11, 5:45 pm, M3RT wrote: > Hi, > > The problem may be related to how you treat the EDI file or lets say > DATA. Also your coding style is important. Can you provide more info? Yes, a whole lot more; but I do not want to bother you with that now. I was just wondering if it is possible that

Re: python crash on windows but not on linux

2010-02-11 Thread Terry Reedy
On 2/11/2010 9:41 PM, Aahz wrote: In article<34fcf680-1aa4-4835-9eba-3db3249f3...@q16g2000yqq.googlegroups.com>, hjebbers wrote: the error is a windows thing, I can make a screenshot of it, but I can not copy/paste text. I think I know what box you mean. I believe this happened about 18 mo

Re: python crash on windows but not on linux

2010-02-11 Thread Aahz
In article <34fcf680-1aa4-4835-9eba-3db3249f3...@q16g2000yqq.googlegroups.com>, hjebbers wrote: > >the error is a windows thing, I can make a screenshot of it, but I can >not copy/paste text. In that case, you need to -- very carefully -- make sure you transcribe exactly the message that you see

Re: python crash on windows but not on linux

2010-02-11 Thread hjebbers
On Feb 11, 11:56 pm, Carl Banks wrote: > On Feb 11, 2:39 pm, hjebbers wrote: > > > > > On Feb 11, 8:42 pm, Jerry Hill wrote: > > > > On Thu, Feb 11, 2010 at 9:32 AM, hjebbers wrote: > > > > To all, > > > > I am running an EDI translator, and doing stress tests. > > > > When processing a test wi

Re: python crash on windows but not on linux

2010-02-11 Thread hjebbers
On Feb 12, 12:13 am, Emile van Sebille wrote: > On 2/11/2010 6:32 AM hjebbers said... > > > To all, > > I am running an EDI translator, > > ... let's say bots  :) > > > and doing stress tests. > > When processing a test with a (relatively) big EDI file(s) on > > windowsXP  I get a crash: > >      

Re: python crash on windows but not on linux

2010-02-11 Thread hjebbers
On Feb 12, 12:13 am, Emile van Sebille wrote: > On 2/11/2010 6:32 AM hjebbers said... > > > To all, > > I am running an EDI translator, > > ... let's say bots  :) > > > and doing stress tests. > > When processing a test with a (relatively) big EDI file(s) on > > windowsXP  I get a crash: > >      

Re: python crash on windows but not on linux

2010-02-11 Thread hjebbers
On Feb 12, 12:13 am, Emile van Sebille wrote: > On 2/11/2010 6:32 AM hjebbers said... > > > To all, > > I am running an EDI translator, > > ... let's say bots  :) > > > and doing stress tests. > > When processing a test with a (relatively) big EDI file(s) on > > windowsXP  I get a crash: > >      

Re: python crash on windows but not on linux

2010-02-11 Thread hjebbers
On Feb 11, 11:59 pm, Terry Reedy wrote: > On 2/11/2010 9:32 AM, hjebbers wrote: > > > > > To all, > > I am running an EDI translator, and doing stress tests. > > When processing a test with a (relatively) big EDI file(s) on > > windowsXP  I get a crash: > >      'sorry for the inconvenience' etc  

Re: python crash on windows but not on linux

2010-02-11 Thread Emile van Sebille
On 2/11/2010 6:32 AM hjebbers said... To all, I am running an EDI translator, ... let's say bots :) and doing stress tests. When processing a test with a (relatively) big EDI file(s) on windowsXP I get a crash: 'sorry for the inconvenience' etc (so no clues about what is causing the p

Re: python crash on windows but not on linux

2010-02-11 Thread Terry Reedy
On 2/11/2010 9:32 AM, hjebbers wrote: To all, I am running an EDI translator, and doing stress tests. When processing a test with a (relatively) big EDI file(s) on windowsXP I get a crash: 'sorry for the inconvenience' etc (so no clues about what is causing the problem) This happens with

Re: python crash on windows but not on linux

2010-02-11 Thread Carl Banks
On Feb 11, 2:39 pm, hjebbers wrote: > On Feb 11, 8:42 pm, Jerry Hill wrote: > > > > > > > On Thu, Feb 11, 2010 at 9:32 AM, hjebbers wrote: > > > To all, > > > I am running an EDI translator, and doing stress tests. > > > When processing a test with a (relatively) big EDI file(s) on > > > windows

Re: python crash on windows but not on linux

2010-02-11 Thread hjebbers
On Feb 11, 8:42 pm, Jerry Hill wrote: > On Thu, Feb 11, 2010 at 9:32 AM, hjebbers wrote: > > To all, > > I am running an EDI translator, and doing stress tests. > > When processing a test with a (relatively) big EDI file(s) on > > windowsXP  I get a crash: > >    'sorry for the inconvenience' etc

Re: python crash on windows but not on linux

2010-02-11 Thread hjebbers
On Feb 11, 8:42 pm, Jerry Hill wrote: > On Thu, Feb 11, 2010 at 9:32 AM, hjebbers wrote: > > To all, > > I am running an EDI translator, and doing stress tests. > > When processing a test with a (relatively) big EDI file(s) on > > windowsXP  I get a crash: > >    'sorry for the inconvenience' etc

Re: python crash on windows but not on linux

2010-02-11 Thread hjebbers
On Feb 11, 7:01 pm, Peter Otten <__pete...@web.de> wrote: > hjebbers wrote: > > On Feb 11, 5:45 pm, M3RT wrote: > >> The problem may be related to how you treat the EDI file or lets say > >> DATA. Also your coding style is important. Can you provide more info? > > > Yes, a whole lot more; but I do

Re: python crash on windows but not on linux

2010-02-11 Thread Jerry Hill
On Thu, Feb 11, 2010 at 9:32 AM, hjebbers wrote: > To all, > I am running an EDI translator, and doing stress tests. > When processing a test with a (relatively) big EDI file(s) on > windowsXP  I get a crash: >    'sorry for the inconvenience' etc  (so no clues about what is > causing the problem)

Re: python crash on windows but not on linux

2010-02-11 Thread hjebbers
On Feb 11, 7:01 pm, Peter Otten <__pete...@web.de> wrote: > hjebbers wrote: > > On Feb 11, 5:45 pm, M3RT wrote: > >> The problem may be related to how you treat the EDI file or lets say > >> DATA. Also your coding style is important. Can you provide more info? > > > Yes, a whole lot more; but I do

Re: python crash on windows but not on linux

2010-02-11 Thread hjebbers
On Feb 11, 7:01 pm, Peter Otten <__pete...@web.de> wrote: > hjebbers wrote: > > On Feb 11, 5:45 pm, M3RT wrote: > >> The problem may be related to how you treat the EDI file or lets say > >> DATA. Also your coding style is important. Can you provide more info? > > > Yes, a whole lot more; but I do

python crash on windows but not on linux

2010-02-11 Thread hjebbers
To all, I am running an EDI translator, and doing stress tests. When processing a test with a (relatively) big EDI file(s) on windowsXP I get a crash: 'sorry for the inconvenience' etc (so no clues about what is causing the problem) This happens with python 2.4, 2.5, 2.6 It does not happen i

python crash

2009-04-10 Thread John Reid
Python crashes in glibc with the following stack trace. I'm using an interface to R (rpy2), ipython, matplotlib, numpy, and scipy with a wx backend. I'm not sure if the stack trace shows which is the culprit. I've probably misconfigured one of their installs but knowing which one to recompile i

Re: Python crash after using weave inline

2007-04-18 Thread Soren
On Apr 18, 10:07 pm, Peter Wang <[EMAIL PROTECTED]> wrote: > Soren, > > For future reference, you might want to direct weave-related questions > to the [EMAIL PROTECTED] mailing list. > > > def cartPolFast(xlen, ylen, x_c, y_c): > > > res = zeros((xlen,ylen)) > > > code = """ > > { > >

Re: Python crash after using weave inline

2007-04-18 Thread Peter Wang
Soren, For future reference, you might want to direct weave-related questions to the [EMAIL PROTECTED] mailing list. > def cartPolFast(xlen, ylen, x_c, y_c): > > res = zeros((xlen,ylen)) > > code = """ > { > int xlen, ylen, x_c, y_c; This line is unnecessary, because weave expose

Python crash after using weave inline

2007-04-18 Thread Soren
Hi, I have a strange and very annoying problem when using weave in scipy.. when I run the code below.. the first time it needs to compile.. it says and then python.exe crashes! and no result is shown.. the second time i run it, it does not compile but gives the completely wrong answer.. prints a

Re: Python crash when trying to generate an Excel worksheet with VBA macros

2006-10-04 Thread John Machin
Apologies in advance to anyone who gets this twice, but I posted this using Thunderbird over 11 hours ago and it's not showing up ... = On 4/10/2006 8:53 PM, dan_roman wrote: > Hi, > I developed a script with a nice interface in Tkinter that allows me to > edit some

Re: Python crash when trying to generate an Excel worksheet with VBA macros

2006-10-04 Thread Brian
dan_roman wrote: > Hi, > I developed a script with a nice interface in Tkinter that allows me to > edit some formulas and to generate an Excel worksheet with VBA macros > within it. The script runs perfectlly in Office 2000, but in Office > 2003 crash at line: "wbc = workbook.VBProject.VBComponents

Re: Python crash when trying to generate an Excel worksheet with VBA macros

2006-10-04 Thread hg
dan_roman wrote: > Hi, > I developed a script with a nice interface in Tkinter that allows me to > edit some formulas and to generate an Excel worksheet with VBA macros > within it. The script runs perfectlly in Office 2000, but in Office > 2003 crash at line: "wbc = workbook.VBProject.VBComponents

Python crash when trying to generate an Excel worksheet with VBA macros

2006-10-04 Thread dan_roman
Hi, I developed a script with a nice interface in Tkinter that allows me to edit some formulas and to generate an Excel worksheet with VBA macros within it. The script runs perfectlly in Office 2000, but in Office 2003 crash at line: "wbc = workbook.VBProject.VBComponents.Add(1)" Please help me :-(

Python crash

2005-05-30 Thread Stormbringer
I am using latest python 2.4 under Windows. I have a file where I have a bunch of functions, but none with a special name and nothing outside the functions, no import etc In the main module all works fine if I don't import that file. The moment I import it nothing happens but I get a crash later