<br><tt><font size=2>Hi,</font></tt>
<br>
<br><tt><font size=2>The project goal is to incorporate the functionality
of interaction of <br>
the excel application (gnumeric) with the XO's journal. All the <br>
activities needs to register any change in that datastore (save and <br>
open files are made throw it). <br>
<br>
In order to apply this option, we need to call some python code from <br>
the implementation of the worksheet in C code. This is called embedded
<br>
python in C. The steps followed to accomplish this goal came from the <br>
OLPC site recomendations, in wiki.laptop.org. The python script for the
<br>
interaction with the journal's datastore can be found in here: <br>
http://wiki.laptop.org/go/Copy_to_and_from_the_Journal <br>
<br>
The changes in the gnumeric code are basically in the workbook-view.c <br>
and main-application.c to handle the open and save options. In the main-<br>
application.c the method gui_file_copy_from_journal uses the python <br>
api/c to make the call to the journal script. after this method and <br>
during the open of the file, an exception rises. Although we are not <br>
sure, we believe it has to do with the closure of the python enviroment
<br>
after the finalize call. We need to erase this exception or may be just
<br>
handle it. <br>
<br>
The error running in the XO is: <br>
<br>
gnumeric: Python/pystate.c:561 :PyGILState: The <br>
assertion 'autoInterpreterState' has failed <br>
<br>
The configuration of the XO where we are getting the exception is: <br>
<br>
Python 2.5 (r25:51908, Oct 19 2007, 09:47:40) [gcc 4.1.2 20070925 (Red
<br>
Hat 4.1.2-27)] on linux2 <br>
<br>
Any help is greatly appreciated!!!<br>
</font></tt>
<br><tt><font size=2><br>
</font></tt><font size=2 face="sans-serif">Luis Orlando Carrión Rumiche<br>
Tata Consultancy Services<br>
Colonia 1329-Piso 3<br>
Montevideo,.<br>
Uruguay<br>
Mailto: luis.carrion@tcs.com<br>
Website: http://www.tcs.com<br>
____________________________________________<br>
Experience certainty. IT Services<br>
Business Solutions<br>
Outsourcing<br>
____________________________________________</font><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>