This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lcarrionr
Recipients amaury.forgeotdarc, brett.cannon, lcarrionr
Date 2008-11-27.14:41:26
SpamBayes Score 0.00033189534
Marked as misclassified No
Message-id <OFD942B17E.2D995FCB-ON8325750E.004D0F13-8325750E.0050B20E@tcs.com>
In-reply-to <1227787894.34.0.968084553456.issue4443@psf.upfronthosting.co.za>
Content
Thank you so much. It do worked!

I don't think two threads to be running the same function because the 
messages are displayed only once.
Yes it seems to be a better way it worked, thank you again.

Regards, 

Luis Carrión
Tata Consultancy Services
Colonia 1329-Piso 3
Montevideo,.
Uruguay
Mailto: luis.carrion@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________

Amaury Forgeot d'Arc <report@bugs.python.org> 
27/11/2008 10:11 a.m.
Please respond to
Python tracker <report@bugs.python.org>

To
luis.carrion@tcs.com
cc

Subject
[issue4443] Python/pystate.c:561 :PyGILState: The assertion 
'autoInterpreterState' has failed

Amaury Forgeot d'Arc <amauryfa@gmail.com> added the comment:

> Py_Initialize(); 
> Py_Main(7, arg1);
> Py_Finalize();

This seems correct... unless two threads run this function at the same
time. Can you ensure that this is not the case?

It seems to me that a simple call to 
   system("python /home/olpc/copy-to-Journal.py [other-args-here]") 
would be better...

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue4443>
_______________________________________

ForwardSourceID:NT0000A982 
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you
Files
File name Uploaded
unnamed lcarrionr, 2008-11-27.14:41:23
History
Date User Action Args
2008-11-27 14:41:29lcarrionrsetrecipients: + lcarrionr, brett.cannon, amaury.forgeotdarc
2008-11-27 14:41:27lcarrionrlinkissue4443 messages
2008-11-27 14:41:27lcarrionrcreate