Re: Fatal Python error

2019-01-27 Thread songbird
Abdallah Adham wrote: > Hey > I am having this problem for about 2 weeks, I can't do anything, so please > give me some instructions so I can solve it. > > Fatal Python error: initfsencoding: unable to load the file system code. > ModuleNotFoundError: No module named 'e

Fatal Python error

2019-01-27 Thread Abdallah Adham
Hey I am having this problem for about 2 weeks, I can't do anything, so please give me some instructions so I can solve it. Fatal Python error: initfsencoding: unable to load the file system code. ModuleNotFoundError: No module named 'encodings' :Current thread 0x3c7c (most re

Re: Fatal Python error

2016-08-31 Thread eryk sun
On Wed, Aug 31, 2016 at 9:04 AM, Wanderer <864483...@qq.com> wrote: > The system environment I alse configured.The Sigil project also build > successed. > But When I run the Sigil.exe that follow errors occured. > ---------- > Fatal Python error: Py_Initialize: un

Fatal Python error

2016-08-31 Thread Wanderer
md64 QT:qt5.5.1 ActivePerl:ActivePerl-5.24.0.2400-MSWin32-x64-300558 Ruby:rubyinstaller-2.3.1-x64 Sigil:Sigil-0.9.6-Code VS:VS2015 The system environment I alse configured.The Sigil project also build successed. But When I run the Sigil.exe that follow errors occured. ------ Fat

Re: Fatal Python error: PyCOND_WAIT(gil_cond) failed

2014-12-12 Thread dieter
of the history file. However, this makes no > difference. > > I can run a command a few times successfully after which I hit this error. > ... > Any suggestions on what might be going on? > > > > > Fatal Python error: PyCOND_WAIT(gil_cond) failed Apparently, some th

Fatal Python error: PyCOND_WAIT(gil_cond) failed

2014-12-11 Thread keepplearningpython
An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. Any suggestions on what might be going on?

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-17 Thread alex23
On Jun 16, 2:09 pm, Larry Hudson wrote: > On 06/15/2013 03:10 PM, alex23 wrote: > > (Sorry for the ugly url, it's a Google translation of a french > > language page) > > Somewhat OT, but have you ever looked at tinyurl.com?  Very useful for this > sort of thing. >From past comments on this list,

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread Larry Hudson
On 06/15/2013 03:10 PM, alex23 wrote: On Jun 16, 7:29 am, lucabrasi...@gmail.com wrote: Here's a report of a similar issue with Blender (which also provides a local install of Python under Windows): http://translate.google.com.au/translate?hl=en&sl=fr&u=http://blenderclan.tuxfamily.org/html/m

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread Terry Reedy
On 6/15/2013 8:03 PM, MRAB wrote: On 15/06/2013 23:10, alex23 wrote: \__init__.py", line 123 raise CodecRegistryError,\ ^ SyntaxError: invalid syntax To me that traceback looks like it's Python 3 trying to run code written for Python 2. If that is the case, the ^ should be under the ',' (a

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread Dave Angel
On 06/15/2013 10:44 PM, lucabrasi wrote: On Saturday, June 15, 2013 5:03:27 PM UTC-7, MRAB wrote: On 15/06/2013 23:10, alex23 wrote: should be banned> Do you have a separate installation of Python? It's possible it may be conflicting. If you rename it's folder to something else

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread lucabrasi
gt;> I get this error when I try to save .dxf files in Inkscape: > > > > > > >> > > > > > > >> Fatal Python error: Py_Initialize: can't initialize sys standard streams > > > > > > >> > > > > >

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread lucabrasi
On Saturday, June 15, 2013 5:03:27 PM UTC-7, MRAB wrote: > On 15/06/2013 23:10, alex23 wrote: > > > On Jun 16, 7:29 am, lucabrasi...@gmail.com wrote: > > >> I get this error when I try to save .dxf files in Inkscape: > > >> > > >> Fatal P

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread MRAB
On 15/06/2013 23:10, alex23 wrote: On Jun 16, 7:29 am, lucabrasi...@gmail.com wrote: I get this error when I try to save .dxf files in Inkscape: Fatal Python error: Py_Initialize: can't initialize sys standard streams Then it seems to recover but it doesn't really recover. It saves

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread lucabrasi
On Saturday, June 15, 2013 3:10:07 PM UTC-7, alex23 wrote: > On Jun 16, 7:29 am, lucabrasi...@gmail.com wrote: > > > I get this error when I try to save .dxf files in Inkscape: > > > > > > Fatal Python error: Py_Initialize: can't initialize sys standard str

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread alex23
On Jun 16, 7:29 am, lucabrasi...@gmail.com wrote: > I get this error when I try to save .dxf files in Inkscape: > > Fatal Python error: Py_Initialize: can't initialize sys standard streams > > Then it seems to recover but it doesn't really recover. It saves the files &

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread alex23
On Jun 16, 7:43 am, Mark Lawrence wrote: > Your Python version would help :)  How did you install Inkscape?  It > looks strange to see it in Program Files, I'd normally expect to see it > in the site packages directory. Inkscape is an application, not a library. It provides its own local install

Re: Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread Mark Lawrence
On 15/06/2013 22:29, lucabrasi...@gmail.com wrote: I get this error when I try to save .dxf files in Inkscape: Fatal Python error: Py_Initialize: can't initialize sys standard streams Then it seems to recover but it doesn't really recover. It saves the files and then DraftSite won&#

Fatal Python error: Py_Initialize: can't initialize sys standard streams

2013-06-15 Thread lucabrasi154
I get this error when I try to save .dxf files in Inkscape: Fatal Python error: Py_Initialize: can't initialize sys standard streams Then it seems to recover but it doesn't really recover. It saves the files and then DraftSite won't open them. Here is what the thing says when Ink

Re: Fatal Python error

2013-05-31 Thread nn
On May 29, 10:05 am, Joshua Landau wrote: > On 29 May 2013 14:02, Dave Angel wrote: > > > On 05/29/2013 08:45 AM, Oscar Benjamin wrote: > > Joshua:  Avoid doing anything complex inside an exception handler. > > Unfortunately, Ranger (the file manager in question) wraps a lot of stuff > in one big

Re: Fatal Python error

2013-05-29 Thread Oscar Benjamin
ot;, line 6, in loop loop() File "tmp.py", line 6, in loop loop() File "tmp.py", line 6, in loop ... RuntimeError: maximum recursion depth exceeded $ py -3.2 tmp.py Fatal Python error: Cannot recover from stack overflow. This application has requested the Runtime to

Re: Fatal Python error

2013-05-29 Thread rusi
On May 29, 5:43 pm, Joshua Landau wrote: > On 29 May 2013 13:25, Dave Angel wrote: > > > On 05/29/2013 07:48 AM, Joshua Landau wrote: > > >> Hello all, again. Instead of revising like I'm meant to be, I've been > >> delving into a bit of Python and I've come up with this code: > > > To start with

Re: Fatal Python error

2013-05-29 Thread Joshua Landau
On 29 May 2013 14:02, Dave Angel wrote: > On 05/29/2013 08:45 AM, Oscar Benjamin wrote: > Joshua: Avoid doing anything complex inside an exception handler. Unfortunately, Ranger (the file manager in question) wraps a lot of stuff in one big exception handler. Hence there isn't much choice. The

Re: Fatal Python error

2013-05-29 Thread Marcel Rodrigues
I think the issue here has little to do with classes/objects/properties. See, for example, the code posted by Oscar Benjamin. What that code is trying to do is similar to responding to an "Out Of Memory" error with something that might require more memory allocation. Even if we consider the Py3 b

Re: Fatal Python error

2013-05-29 Thread Joshua Landau
On 29 May 2013 13:30, Marcel Rodrigues wrote: > > I just tried your code with similar results: it does nothing on PyPy 2.0.0-beta2 and Python 2.7.4. But on Python 3.3.1 it caused core dump. > It's a little weird but so is the code. You have defined a function that calls itself unconditionally. Thi

Re: Fatal Python error

2013-05-29 Thread Dave Angel
s: $ py -3.3 Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. def broken(): ... try: ... broken() ... except RuntimeError: ...

Re: Fatal Python error

2013-05-29 Thread Oscar Benjamin
8ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> def broken(): ... try: ... broken() ... except RuntimeError: ... broken() ... >>&

Re: Fatal Python error

2013-05-29 Thread Joshua Landau
cally hide it, but who really cares? :P You can rename it if you want. Anything will do. Obviously this is a minimal example code, and not the real thing. As you will expect, this does nothing... on Python2.7 and PyPy. Python3.3 >> prefers to spit out a "Fatal Python error: Cannot recove

Re: Fatal Python error

2013-05-29 Thread Marcel Rodrigues
> > thingwithproperty = ClassWithProperty() > > def loop(): > try: > thingwithproperty.property > except: > pass > > loop() > > try: > loop() > except RuntimeError: > pass > > As you will expect, this does nothing... on Python2.7 and PyPy. Python

Re: Fatal Python error

2013-05-29 Thread Dave Angel
rty = ClassWithProperty() def loop(): try: thingwithproperty.property except: pass loop() try: loop() except RuntimeError: pass As you will expect, this does nothing... on Python2.7 and PyPy. Python3.3 prefers to spit out a "Fatal Python error: Cannot recover from stack overflow.", whic

Fatal Python error

2013-05-29 Thread Joshua Landau
y except: pass loop() try: loop() except RuntimeError: pass As you will expect, this does nothing... on Python2.7 and PyPy. Python3.3 prefers to spit out a "Fatal Python error: Cannot recover from stack overflow.", which seems a bit unexpected. Wuzzup with that? -- http://mail.python.or

Re: 2.x,3.x iOS static build: Fatal Python error: exceptions bootstrapping error.

2012-05-21 Thread angeljanai
well, I dont tested all, but at least error above was fixed by using build script from https://github.com/cobbal/python-for-iphone and patch from http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.x, 3.x iOS static build: Fatal Python error: exceptions bootstrapping error.

2012-05-20 Thread Terry Reedy
n and link errors were fixed very quickly. Finally I tried to create a test program, which has just this: ... Py_NoSiteFlag=1; Py_Initialize(); Py_Finalize(); ... When I run it I getting "Fatal Python error: exceptions bootstrapping error." Call stack is: [opposite order from Python t

2.x,3.x iOS static build: Fatal Python error: exceptions bootstrapping error.

2012-05-20 Thread angeljanai
lag=1; Py_Initialize(); Py_Finalize(); ... When I run it I getting "Fatal Python error: exceptions bootstrapping error." Call stack is: #0 0x300cba1c in __pthread_kill () #1 0x362e43ba in pthread_kill () #2 0x362dcbfe in abort () #3 0x00127d96 in Py_FatalError at

Re: "Fatal Python Error" Need Help

2011-04-19 Thread Ned Deily
gh i have python2.6 and 2.7 installed. I get > following error when in run executable: > > *"Fatal Python error: Interpreter not initialized (version mismatch?) > Abort trap*" > > Seems like a correct python version needs to be defined somewhere, that i am > unabl

"Fatal Python Error" Need Help

2011-04-19 Thread Yogesh Gupta
executable: *"Fatal Python error: Interpreter not initialized (version mismatch?) Abort trap*" Seems like a correct python version needs to be defined somewhere, that i am unable to find. Some details about location of various pythons are as follows (i have not specified a python

Python make fails with error "Fatal Python error: Interpreter not initialized (version mismatch?)"

2010-11-27 Thread Anurag Chourasia
thon.exp -L. -L/usr/local/lib build/temp.aix-5.3-2.6/u01/home/apli/wm/GDD/Python-2.6.6/Modules/_struct.o -L. -L/usr/local/lib -lpython2.6 -o build/lib.aix-5.3-2.6/_struct.so *Fatal Python error: Interpreter not initialized (version mismatch?)* *make: 1254-059 The sig

Re: MemoryError c/vcompiler.h:745: Fatal Python error (Psycopg2)

2009-06-21 Thread Lie Ryan
Luis P. Mendes wrote: > Sun, 21 Jun 2009 13:04:59 +, Lie Ryan escreveu: >> Have you tried running without psyco? Psyco increases memory usage quite >> significantly. >> >> If it runs well without psyco, you can try looking at your code and >> selectively psyco parts that need the speed boost th

Re: MemoryError c/vcompiler.h:745: Fatal Python error (Psycopg2)

2009-06-21 Thread Luis P. Mendes
Sun, 21 Jun 2009 13:04:59 +, Lie Ryan escreveu: > Luis P. Mendes wrote: >> Hi, >> >> I have a program that uses a lot of resources: memory and cpu but it >> never returned this error before with other loads: >> >> """ >> Memory

Re: MemoryError c/vcompiler.h:745: Fatal Python error (Psycopg2)

2009-06-21 Thread Lie Ryan
Luis P. Mendes wrote: > Hi, > > I have a program that uses a lot of resources: memory and cpu but it > never returned this error before with other loads: > > """ > MemoryError > c/vcompiler.h:745: Fatal Python error: psyco cannot recover from the > er

MemoryError c/vcompiler.h:745: Fatal Python error (Psycopg2)

2009-06-21 Thread Luis P. Mendes
Hi, I have a program that uses a lot of resources: memory and cpu but it never returned this error before with other loads: """ MemoryError c/vcompiler.h:745: Fatal Python error: psyco cannot recover from the error above Aborted """ The last time I checked phy

Re: Bug in python [was: Fatal Python error: ceval: tstate mix-up]

2009-01-12 Thread Terry Reedy
Terry Reedy wrote: Laszlo Nagy wrote: Laszlo Nagy wrote: Meanwhile I'm trying to turn off threads in that program one by one. I just got this new type of error: Fatal Python error: PyThreadState_Delete: invalid tstate After some days, there are now answers to my question. I guess th

Re: Bug in python [was: Fatal Python error: ceval: tstate mix-up]

2009-01-12 Thread Terry Reedy
Laszlo Nagy wrote: Laszlo Nagy wrote: Meanwhile I'm trying to turn off threads in that program one by one. I just got this new type of error: Fatal Python error: PyThreadState_Delete: invalid tstate After some days, there are now answers to my question. I guess this is because nobody

Bug in python [was: Fatal Python error: ceval: tstate mix-up]

2009-01-12 Thread Laszlo Nagy
Laszlo Nagy wrote: Meanwhile I'm trying to turn off threads in that program one by one. I just got this new type of error: Fatal Python error: PyThreadState_Delete: invalid tstate After some days, there are now answers to my question. I guess this is because nobody knows the answer. I th

Re: Fatal Python error: ceval: tstate mix-up

2009-01-09 Thread Laszlo Nagy
Meanwhile I'm trying to turn off threads in that program one by one. I just got this new type of error: Fatal Python error: PyThreadState_Delete: invalid tstate -- http://mail.python.org/mailman/listinfo/python-list

Re: Fatal Python error: ceval: tstate mix-up

2009-01-09 Thread Laszlo Nagy
I could start "gdb python python.core" but don't know what it means. Unfortunately, there are no debugging symbols. %gdb /usr/local/bin/python python.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and yo

Fatal Python error: ceval: tstate mix-up

2009-01-09 Thread Laszlo Nagy
After upgrading my system, a program started to throw this error, and make a core dump: Fatal Python error: ceval: tstate mix-up Kernel log says: Jan 9 05:06:49 shopzeus kernel: pid 89184 (python), uid 1024: exited on signal 6 (core dumped) I found out that this can happen only when

Re: Fatal Python error using ctypes & python exceptions

2007-08-31 Thread Thomas Heller
gt; I throw them using: ::PyErr_SetString(::PyExc_RuntimeError, > theErrorString); > > I crash the console when this function is invoked in the 'C' domain. I > get an error stating: > > Fatal Python error: PyThreadState_Get: no current thread > > when the callin

Fatal Python error using ctypes & python exceptions

2007-08-31 Thread mmacrobert
rror, theErrorString); I crash the console when this function is invoked in the 'C' domain. I get an error stating: Fatal Python error: PyThreadState_Get: no current thread when the calling code in python is: try: cdll.MyDll.ThrowingFunction() except: print "An error has

Re: Abort trap - Fatal Python error: GC object already tracked

2007-07-10 Thread p . lavarre
> Is this interesting Python output? ... > > Fatal Python error: GC object already tracked > Abort trap > > ... tell me I can help by solving it, and > I'll look more closely. Sorry, never mind, not interesting after all. Newbie me did somehow forget the fact that cty

Abort trap - Fatal Python error: GC object already tracked

2007-07-10 Thread p . lavarre
) Expected: '... [redacted] ...'z Got: '... [redacted] ...' Fatal Python error: GC object already tracked Abort trap $ $ /usr/bin/env python --version Python 2.5.1 $ uname Darwin $ I can just avoid it, I don't need to solve it, but tell me I can help by solving it, and I'l

Re: Fatal Python error: deallocating None

2006-10-26 Thread Fredrik Lundh
Gabriel Genellina wrote: > Mmm, it appears that one of these C extensions isn't managing the ref > count correctly - perhaps there is a return Py_None without a previous > Py_INCREF? If None were returned in certain functions to indicate > failure or something exceptional - and not a regular co

Re: Fatal Python error: deallocating None

2006-10-25 Thread Gabriel Genellina
At Wednesday 25/10/2006 21:28, George Sakkis wrote: It's the first time in the three years I've been using python that a program crashes without a nice traceback to give me a clue of what might be wrong. After searching a little, it seems it's one of those hard to get down to cases, so I've no i

Re: Fatal Python error: deallocating None

2006-10-25 Thread Chetan
"Delaney, Timothy (Tim)" <[EMAIL PROTECTED]> writes: > George Sakkis wrote: > > > What makes the problem worse is that it's not deterministic; I can > > restart it from (a little before) the point of crash and it doesn't > > happen again at the same point, but it might happen further down. Now, >

RE: Fatal Python error: deallocating None

2006-10-25 Thread Delaney, Timothy (Tim)
George Sakkis wrote: > What makes the problem worse is that it's not deterministic; I can > restart it from (a little before) the point of crash and it doesn't > happen again at the same point, but it might happen further down. Now, > I wouldn't mind restarting it manually every time since the cra

Fatal Python error: deallocating None

2006-10-25 Thread George Sakkis
It's the first time in the three years I've been using python that a program crashes without a nice traceback to give me a clue of what might be wrong. After searching a little, it seems it's one of those hard to get down to cases, so I've no idea where to look for. Briefly what I do is, select som

Re: Fatal Python error: Py_EndInterpreter: thread still has a frame

2006-02-04 Thread [EMAIL PROTECTED]
Thomas Korimort wrote: > Hi! > > Does anyone know the precise circumstances when the error > > "Fatal Python error: Py_EndInterpreter: thread still has a frame" > > does occur. I checked the source code of pythonrun.c, which tells me > that this error message is

Fatal Python error: Py_EndInterpreter: thread still has a frame

2006-02-02 Thread Thomas Korimort
Hi! Does anyone know the precise circumstances when the error "Fatal Python error: Py_EndInterpreter: thread still has a frame" does occur. I checked the source code of pythonrun.c, which tells me that this error message is thrown in Py_EndInterpreter, when thread->frame is chec

Re: mxDateTime on Mac: Fatal Python Error

2005-03-07 Thread Michael Maibaum
Fatal Python error: Interpreter not initialized (version mismatch?) Abort ... any ideas? Messages like these are usually the result of a version mismatch between the Python interpreter and the .so file of the extensions. Make sure you build the package using the same Python interpreter you will late

Re: mxDateTime on Mac: Fatal Python Error

2005-03-07 Thread Dave Reed
n I try to import it I get > > > > > >>>import mx.DateTime > > > > Fatal Python error: Interpreter not initialized (version mismatch?) > > Abort > > > > ... any ideas? > > Messages like these are usually the result of a version mismatch > between the Py

Re: mxDateTime on Mac: Fatal Python Error

2005-03-07 Thread M.-A. Lemburg
[EMAIL PROTECTED] wrote: I'm trying to get mxDateTime working on a Mac so that I can use pyscopg and cx_Oracle. The Egenix base package builds and installs quite happily, but then when I try to import it I get import mx.DateTime Fatal Python error: Interpreter not initialized (version mis

mxDateTime on Mac: Fatal Python Error

2005-03-07 Thread contact
I'm trying to get mxDateTime working on a Mac so that I can use pyscopg and cx_Oracle. The Egenix base package builds and installs quite happily, but then when I try to import it I get >> import mx.DateTime Fatal Python error: Interpreter not initialized (version mismatch?) Abort ..