Hi there
Has anyone managed to get the PyGTK/GTK2 packages working correctly on
MSYS2? I tried with the following simple 'hello world' script (below),
and I get errors about gtk-pixbuf-query-loaders (below), which seems to
suggest that there is a path set wrong somewhere inside the PyGTK
package (it seems to be looking for GTK2 in
"C:\msys\mingw64\lib\python2.7\site-packages\gtk-2.0\gtk" instead of in
"C:\msys\mingw64", where I believe it should be looking. Note the output
says that it "likely means that your installation is broken."
I did not have comparable problems with GTK3 and associated Python
bindings. All good with that one.
Otherwise, given my first experience of MSYS2 today, I'm quite pleased
with how easy it makes it to get a working MinGW/GCC build environment
up and running. Thanks for all the hard work!
Cheers
JP
john@win7_64_b ~/ascend
$ cat gtktest.py
import gtk
w = gtk.Window()
w.add(gtk.Label("hello"))
w.show_all()
john@win7_64_b ~/ascend
$ python gtktest.py
** (python.exe:1008): WARNING **: Trying to register gtype
'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (python.exe:1008): WARNING **: Trying to register gtype
'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (python.exe:1008): WARNING **: Trying to register gtype
'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
(python.exe:1008): GdkPixbuf-WARNING **: Cannot open pixbuf loader
module file
'C:\msys\mingw64\lib\python2.7\site-packages\gtk-2.0\gtk\lib\gdk-pixbuf-2.0\2.10.0\loaders.cache':
No such file or directory
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders >
C:\msys\mingw64\lib\python2.7\site-packages\gtk-2.0\gtk\lib\gdk-pixbuf-2.0\2.10.0\loaders.cache
to make things work again for the time being.
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users