Le 29/04/12 00:52, Santosh Kumar a écrit : > System Information > ---------------------------- > Ubuntu 11.10 > Python 2.7.2 > > Problem > ------------ > > I think my Ubuntu has PyGTK and GTK both already installed. But > however when I am importing "gtk" in Python interactive mode then I am > getting the following warning: > > (.:4126): Gtk-WARNING **: Unable to locate theme engine in > module_path: "pixmap", > > (.:4126): Gtk-WARNING **: Unable to locate theme engine in > module_path: "pixmap", > > (.:4126): Gtk-WARNING **: Unable to locate theme engine in > module_path: "pixmap", > > (.:4126): Gtk-WARNING **: Unable to locate theme engine in > module_path: "pixmap", > > On the other side, importing "PyGTK" works well (i.e. I don't receive > any error). What might be error? It's a behaviour of GTK, not an error in your code.
I use PyQt and I've always theses warnings under KDE and Unity, never under Gnome. I thing you can ignore it. -- Vincent V.V. Oqapy <https://launchpad.net/oqapy> . Qarte+7 <https://launchpad.net/qarte+7> . PaQager <https://launchpad.net/paqager> -- http://mail.python.org/mailman/listinfo/python-list