LuisC <[EMAIL PROTECTED]> added the comment:
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: [EMAIL PROTECTED]
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
Amaury Forgeot d'Arc <[EMAIL PROTECTED]>
27/11/2008 10:11 a.m.
Please respond to
Python tracker <[EMAIL PROTECTED]>
To
[EMAIL PROTECTED]
cc
Subject
[issue4443] Python/pystate.c:561 :PyGILState: The assertion
'autoInterpreterState' has failed
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
<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
Added file: http://bugs.python.org/file12143/unnamed
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4443>
_______________________________________
<br><font size=2 face="sans-serif">Thank you so much. It do worked!</font>
<br>
<br><font size=2 face="sans-serif">I don't think two threads to be running
the same function because the messages are displayed only once.</font>
<br><font size=2 face="sans-serif">Yes it seems to be a better way it worked,
thank you again.</font>
<br>
<br><font size=2 face="sans-serif">Regards, </font>
<br>
<br><font size=2 face="sans-serif">Luis Carrión<br>
Tata Consultancy Services<br>
Colonia 1329-Piso 3<br>
Montevideo,.<br>
Uruguay<br>
Mailto: [EMAIL PROTECTED]<br>
Website: http://www.tcs.com<br>
____________________________________________<br>
Experience certainty. IT Services<br>
Business Solutions<br>
Outsourcing<br>
____________________________________________</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Amaury Forgeot d'Arc <[EMAIL
PROTECTED]></b>
</font>
<p><font size=1 face="sans-serif">27/11/2008 10:11 a.m.</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Python tracker <[EMAIL PROTECTED]></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">[EMAIL PROTECTED]</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[issue4443] Python/pystate.c:561 :PyGILState:
The assertion 'autoInterpreterState' has failed</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2><br>
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:<br>
<br>
> Py_Initialize(); <br>
> Py_Main(7, arg1);<br>
> Py_Finalize();<br>
<br>
This seems correct... unless two threads run this function at the same<br>
time. Can you ensure that this is not the case?<br>
<br>
It seems to me that a simple call to <br>
system("python /home/olpc/copy-to-Journal.py
[other-args-here]")
<br>
would be better...<br>
<br>
_______________________________________<br>
Python tracker <[EMAIL PROTECTED]><br>
<http://bugs.python.org/issue4443><br>
_______________________________________<br>
</font></tt>
<br><font size=1 color=white face="sans-serif">ForwardSourceID:NT0000A982
</font>
<br><pre>=====-----=====-----=====
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
</pre>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com