[pygtk] Images are not getting dsplayed in my exe build using Py2exe

muhamed niyas cmniyas at gmail.com
Tue Apr 3 12:54:37 WST 2007


Dear All,
  I was trying to make an installer for one of my Python Application.
It contains glade forms and pygtk too. And I could succeed partially
in building exe using py2exe and then its installer using nsis.

  But where i am failed is the png and jpg images embeded in the glade
forms are not showing while i run the executable (double clicking the
my exe)..


  But the same images are getting displayed while running as python
application (python  app.py)

  it is not the problem of invalid path or file missing.
  But it is something like PIL module and Image plugins issue like that
  (what i understand from mailing lists). While Running as python
application i am  not using PIL module also.
  So can any of you help me if you know abt this or try to get me some details.

  I am using the method set_from_file(..) of pygtk function for assigning a png
  file in the glade form.

Thanks in advance,
Niyas


More information about the pygtk mailing list