(process:1152): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this functionThat doesn't look good. I'm going to let it keep running for a while to see if things improve, but the outlook is poor. In the meantime, I've decided that the best alternative to multi-platform document creation and editing is Google Docs. It's not perfect, but at least you can save your files as PDF, which is what I use for read-only document exchange anyway.
(process:1152): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
(process:1152): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Since I don't have a Microsoft Windows computer at my disposal, I have to figure out someway to get at least the text portion out of my ODP. This is my half-baked solution for extracting the text:
- $ mkdir presentation
- $ cd presentation
- $ cp ~/path_to_presentation/my_presentation.odp .
- $ unzip my_presentation.odp
- $ extract_odp_text.py > my_presentation.txt
# extract_odp_text.py -- extract the text parts from an ODP's content.xml
for line in open('content.xml', 'r')
for text_part in re.findall(r'<text:p.*?>(.*?)</text.*?>', line):
print text_part.replace('<text:line-break/>', '')