[pyar] Leer archivos doc y odt

N Cis n.cis_92 en hotmail.com
Mar Oct 12 23:24:06 ART 2010


Encontre un pequeño error en el Recetario/GtkWebkitEditor ( http://python.org.ar/pyar/Recetario/GtkWebkitEditor ) qe esta en la pagina de pyar.
Al parecer el webkit en gtk nececita SI o SI llamar a "threads_init()", si no tira error:
GLib-ERROR **: The thread system is not yet initialized.
aborting...
Cancelado

Hay que agregarle un:
gtk.gdk.threads_init()
en la linea 45.

Asi nos qedaria (desde linea 44 hasta final):
if __name__ == '__main__':
    gtk.gdk.threads_init()
    window = EditorWindow()
    window.show()
    window.entry.activate()
    gtk.main()
 		 	   		  
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20101012/b53733cc/attachment.html>


More information about the pyar mailing list