Hi, It is hard to see whats going on, but I can suggest to use some debugger like ollydbg (http://www.ollydbg.de/), or Process Monitor ( http://technet.microsoft.com/en-us/sysinternals/bb896645), to see what DLL it tries to load.
I usually find missing two DLLs: libxml2-2.dll and *iconv*.dll Regards, Marko Tasic On Fri, May 20, 2011 at 9:22 PM, Shrihari Sankaran <gfxin...@gmail.com>wrote: > Hello, > > I recently built a pygtk application. The app runs completely when i invoke > using "python app.py". So, I proceeded to build Windows binary with py2exe. > The contents of my setup.py are below: > > > from distutils.core import setup > import py2exe > import glob > opts = { > "py2exe": { > "includes": "pango,atk,gobject", > "dll_excludes": [ > "iconv.dll","intl.dll","libatk-1.0-0.dll", > "libgdk_pixbuf-2.0-0.dll","libgdk-win32-2.0-0.dll", > "libglib-2.0-0.dll","libgmodule-2.0-0.dll", > "libgobject-2.0-0.dll","libgthread-2.0-0.dll", > "libgtk-win32-2.0-0.dll","libpango-1.0-0.dll", > "libpangowin32-1.0-0.dll"], > } > } > setup( > name = "Movie Monkey", > description = "A simple light-weight movie manager", > version = "1.0", > windows = [ > {"script": "movie_monkey.py", > "icon_resources": [(1, "movie_monkey.ico")] > } > ], > options={ > 'py2exe': { > 'packages':'encodings', > 'includes': 'cairo, pango, pangocairo, atk, gobject, gio', > } > }, > data_files=[("movie_monkey.glade"), > ("res", glob.glob("res/*.png")), > ("logo.png") > ], > ) > > The binary worked fine on the machine I built it on (Windows 7). It also > worked fine on other Windows 7 machines. However, when i tried to run it on > an Windows XP machine, i got the following error: > > Traceback (most recent call last): >> File "movie_monkey.py", line 5, in <module> >> File "gtk\__init__.pyc", line 40, in <module> >> File "gtk\_gtk.pyc", line 12, in <module> >> File "gtk\_gtk.pyc", line 10, in __load >> ImportError: DLL load failed: The specified procedure could not be found. > > > Any Idea what I'm doing wrong here? > > Thanks, > Shrihari > > _______________________________________________ > pygtk mailing list pygtk@daa.com.au > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ >
_______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/