[pyar] Leer archivos doc y odt

Mariano Guerra luismarianoguerra en gmail.com
Mie Oct 13 08:07:26 ART 2010


2010/10/12 N Cis <n.cis_92 en hotmail.com>:
> 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()
>

reportado hace un buen tiempo por este humilde servidor:

https://bugs.launchpad.net/ubuntu/+source/pywebkitgtk/+bug/480398

estas usando 9.10 o menor? creo que en 10.04 esta arreglado.

saludos.



More information about the pyar mailing list