[issue22204] 2014 USA CONFERENCE/INVITATION!!
New submission from LuisC: Dear Colleagues On behalf of California Human Welfare Foundation. It is a great privilege for us to invite you to global Congress meeting Against Economic Crisis, Prostitution, Human Trafficking and child abuse HIV/AIDS Treatment, held in the united state and in Dakar Senegal. All interested delegates that requires entry visa to enter the United States to attend this meeting will be assisted by the organization in obtaining the visa in their passport free air round trip tickets to attend this meeting will be provided to all participants. For registration contact the secretariat at: secretaryand...@foxmail.com Please share the information with your colleagues. Sincerely, Dr.Tyler Lockett (Ph.D) Senior Activities Coordinator. -- messages: 225350 nosy: lcarrionr priority: normal severity: normal status: open title: 2014 USA CONFERENCE/INVITATION!! ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22204 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20795] Feel our love and care. Order medications from our drugstore.
New submission from LuisC: HelloKiss those diets good bye. Lose weight quick the easy way. Watch video!Just for you - visit now Buy more, pay less! Be healthy with best meds for women. -- messages: 212355 nosy: lcarrionr priority: normal severity: normal status: open title: Feel our love and care. Order medications from our drugstore. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20795 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4443] Python/pystate.c:561 :PyGILState: The assertion 'autoInterpreterState' has failed
LuisC [EMAIL PROTECTED] added the comment: Hi Amaury, thanks for you response... This is my code sniped gboolean gui_file_copy_to_journal(char const *uri) { g_printerr(SAVING PYTHON JOURNAL!...%s\n, uri); char * arg1[7]; arg1[0] = python; arg1[1] = /home/olpc/copy-to-Journal.py; arg1[2] = uri+7; arg1[3] = -d; arg1[4] = hoja_de_calculo; arg1[5] = -m; arg1[6] = application/x-gnumeric; g_printerr (Writing py \n); Py_Initialize(); Py_Main(7, arg1); Py_Finalize(); g_printerr (Writing Py_Finalize \n); return TRUE; } also, I tried with other method like linux journal show in http://www.linuxjournal.com/article/3641 Any help is greatly appreciated... 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 07:22 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: The assertion is clear if you open the source code (Python/pystate.c, line 561): assert(autoInterpreterState); /* Py_Initialize() hasn't been called! */ Does your code make sure that the python interpreter is initialized? -- nosy: +amaury.forgeotdarc ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4443 ___ ForwardSourceID:NTA7E6 =-=-= 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/file12139/unnamed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4443 ___ brfont size=2 face=sans-serifHi Amaury, thanks for you response.../font br brfont size=2 face=sans-serifThis is my code sniped/font br brfont size=2 face=Courier Newgboolean/font brfont size=2 face=Courier Newgui_file_copy_to_journal(char const *uri)/font brfont size=2 face=Courier New{/font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; g_printerr(quot;SAVING PYTHON JOURNAL!...%s\nquot;, uri);/font br brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; char * arg1[7];/font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; /font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; arg1[0] = quot;pythonquot;;/font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; arg1[1] = quot;/home/olpc/copy-to-Journal.pyquot;; /font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; arg1[2] = uri+7;/font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; arg1[3] = quot;-dquot;;/font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; arg1[4] = quot;hoja_de_calculoquot;; /font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; arg1[5] = quot;-mquot;;/font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; arg1[6] = quot;application/x-gnumericquot;; /font br brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; g_printerr (quot;Writing py \nquot;);/font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; bPy_Initialize();/b nbsp; nbsp; nbsp; nbsp;/font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; Py_Main(7, arg1);/font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; bPy_Finalize();/b/font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; g_printerr (quot;Writing Py_Finalize \nquot;);/font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; /font brfont size=2 face=Courier Newnbsp; nbsp; nbsp; nbsp; return TRUE;/font brfont size=2 face=Courier New}/font br brfont size=2 face=sans-serifalso, I tried with other method like linux journal show in http://www.linuxjournal.com/article/3641/font br brfont size=2 face=sans-serifAny help is greatly appreciated.../font brfont size=2 face=sans-serifbr Luis Carriónbr Tata Consultancy Servicesbr Colonia 1329-Piso 3br Montevideo,.br Uruguaybr Mailto: [EMAIL PROTECTED]br Website: http://www.tcs.combr br Experience certainty. nbsp; nbsp; nbsp; nbsp;IT Servicesbr nbsp; nbsp; nbsp; nbsp; nbsp; nbsp
[issue4443] Python/pystate.c:561 :PyGILState: The assertion 'autoInterpreterState' has failed
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:NTA982 =-=-= 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 ___ brfont size=2 face=sans-serifThank you so much. It do worked!/font br brfont size=2 face=sans-serifI don't think two threads to be running the same function because the messages are displayed only once./font brfont size=2 face=sans-serifYes it seems to be a better way it worked, thank you again./font br brfont size=2 face=sans-serifRegards, /font br brfont size=2 face=sans-serifLuis Carriónbr Tata Consultancy Servicesbr Colonia 1329-Piso 3br Montevideo,.br Uruguaybr Mailto: [EMAIL PROTECTED]br Website: http://www.tcs.combr br Experience certainty. nbsp; nbsp; nbsp; nbsp;IT Servicesbr nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;Business Solutionsbr nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;Outsourcingbr /font br br br table width=100% tr valign=top td width=40%font size=1 face=sans-serifbAmaury Forgeot d'Arc lt;[EMAIL PROTECTED]gt;/b /font pfont size=1 face=sans-serif27/11/2008 10:11 a.m./font table border tr valign=top td bgcolor=white div align=centerfont size=1 face=sans-serifPlease respond tobr Python tracker lt;[EMAIL PROTECTED]gt;/font/div/table br td width=59% table width=100% tr valign=top td div align=rightfont size=1 face=sans-serifTo/font/div tdfont size=1 face=sans-serif[EMAIL PROTECTED]/font tr valign=top td div align=rightfont size=1 face=sans-serifcc/font/div td tr valign=top td div align=rightfont size=1 face=sans-serifSubject/font/div tdfont 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 brttfont size=2br Amaury Forgeot d'Arc lt;[EMAIL PROTECTED]gt; added the comment:br br gt; Py_Initialize(); br gt; Py_Main(7, arg1);br gt; Py_Finalize();br br This seems correct... unless two threads run this function at the samebr time. Can you ensure that this is not the case?br br It seems to me that a simple call to br nbsp; system(quot;python /home/olpc/copy-to-Journal.py [other-args-here]quot;) br would be better...br br ___br Python tracker lt;[EMAIL PROTECTED]gt;br lt;http://bugs.python.org/issue4443gt;br ___br /font/tt brfont size=1 color=white face=sans-serifForwardSourceID:NTA982 nbsp; nbsp;/font brpre=-=-= 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
[issue4443] Python/pystate.c:561 :PyGILState: The assertion 'autoInterpreterState' has failed
New submission from LuisC [EMAIL PROTECTED]: The project goal is to incorporate the functionality of interaction of the excel application (gnumeric) with the XO's journal. All the activities needs to register any change in that datastore (save and open files are made throw it). In order to apply this option, we need to call some python code from the implementation of the worksheet in C code. This is called embedded python in C. The steps followed to accomplish this goal came from the OLPC site recomendations, in wiki.laptop.org. The python script for the interaction with the journal's datastore can be found in here: http://wiki.laptop.org/go/Copy_to_and_from_the_Journal The changes in the gnumeric code are basically in the workbook-view.c and main-application.c to handle the open and save options. In the main- application.c the method gui_file_copy_from_journal uses the python api/c to make the call to the journal script. after this method and during the open of the file, an exception rises. Although we are not sure, we believe it has to do with the closure of the python enviroment after the finalize call. We need to erase this exception or may be just handle it. The error running in the XO is: gnumeric: Python/pystate.c:561 :PyGILState: The assertion 'autoInterpreterState' has failed The configuration of the XO where we are getting the exception is: Python 2.5 (r25:51908, Oct 19 2007, 09:47:40) [gcc 4.1.2 20070925 (Red Hat 4.1.2-27)] on linux2 Any help is greatly appreciated!!! -- components: Interpreter Core messages: 76484 nosy: barry, brett.cannon, doerwalter, gvanrossum, lcarrionr, lemburg, mwh severity: normal status: open title: Python/pystate.c:561 :PyGILState: The assertion 'autoInterpreterState' has failed type: resource usage versions: Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4443 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com