Hi Carlos,<div><br></div><div>I continue doing tests, with little advance. Report here to see if you can help me.</div><div>I have rebuilded all my env, using sugar-build, compiled libgsf and abiword,</div><div>applied the changes ion your patch to Write activity and the activity crash again.</div>
<div><br></div><div>If I replace in the gi/overrides/Abi.py the line:</div><div><br></div><div>Abi.init(sys.argv)</div><div>by </div><div>Abi.init_noargs()</div><div><br></div><div>the activity starts but the canvas is not visible. But should be present because when quit the activity saves a empty abiword file!</div>
<div><br></div><div>The canvas is not displayed in this minimal example neither:</div><div><br></div><div><div>from gi.repository import Gtk</div><div>from gi.repository import Abi</div><div>win = Gtk.Window()</div><div>abi = Abi.Widget()</div>
<div>win.add(abi)</div><div>win.show_all()</div><div>win.connect("destroy", Gtk.main_quit)</div><div>Gtk.main()</div></div><div><br></div><div>The environment I am using is easy to reproduce:</div><div>In Fedora 17</div>
<div>* Install sugar-build</div><div>git clone git://<a href="http://git.sugarlabs.org/sugar-build/sugar-build.git">git.sugarlabs.org/sugar-build/sugar-build.git</a></div><div>cd sugar-build</div><div>make build</div><div>
make shell</div><div>(will change to source directory and have the proper env)</div><div><br></div><div># set dest for your instalation</div><div><div>DESTINATION=/home/gonzalo/sbuild/sugar-build/install</div><div><br></div>
<div><div># Install libgsf</div></div><div>git clone git://<a href="http://git.gnome.org/libgsf">git.gnome.org/libgsf</a></div><div>cd libgsf</div><div>./autogen.sh --prefix $DESTINATION --enable-introspection --libdir $DESTINATION/lib64</div>
<div>make</div><div>make install</div><div><br></div><div># Install abiword</div><div>cd ..</div><div>svn co <a href="http://svn.abisource.com/abiword/trunk">http://svn.abisource.com/abiword/trunk</a> abiword</div><div>cd abiword</div>
<div>svn update --revision r31576 .</div><div>./autogen.sh</div><div><br></div><div>wget <a href="http://www.abisource.com/mailinglists/abiword-dev/2012/Jul/att-0050/add-gobject-introspection-support.patch">http://www.abisource.com/mailinglists/abiword-dev/2012/Jul/att-0050/add-gobject-introspection-support.patch</a></div>
<div>wget <a href="http://www.abisource.com/mailinglists/abiword-dev/2012/Jul/att-0050/use-g-new-to-allocate-text.patch">http://www.abisource.com/mailinglists/abiword-dev/2012/Jul/att-0050/use-g-new-to-allocate-text.patch</a> </div>
<div><br></div><div>patch -p1 < ./add-gobject-introspection-support.patch</div><div>patch -p1 < ./use-g-new-to-allocate-text.patch</div><div><br></div><div> ./autogen.sh --prefix $DESTINATION --enable-introspection --disable-default-plugins --libdir $DESTINATION/lib64</div>
<div>make</div><div>make install</div></div><div><br></div><div>Now you can check the mini test case, or apply the attached patch over write activity mainline</div><div>(it's almost your patch, but didn't applied)</div>
<div><br></div><div>I don't know how follow now, any help is welcomed.</div><div>Thanks,</div><div><br></div><div>Gonzalo</div><div><br></div>