From: Josip <jo...@pi...> - 2010-02-09 21:49:12
|
On 09.02.2010 21:30, Peter Landgren wrote: > Den Tuesday 09 February 2010 19.59.25 skrev Josip: >> On 09.02.2010 18:38, Peter Landgren wrote: >>> This combination works: >>> gtk-2.12.9-win32-2.exe >>> pygtk-2.12.1-3.win32-py2.6.exe >>> pygobject-2.14.2-2.win32-py2.6.exe >>> pycairo-1.4.12-2.win32-py2.6.exe >>> >>> >>> bur not this one: >>> gtk2-runtime-2.16.0-2009-03-22-ash.exe >>> pygtk-2.16.0.win32-py2.6.exe >>> pygobject-2.20.0.win32-py2.6.exe >>> pycairo-1.8.6.win32-py2.6.exe >>> >>> Gives the error DLL-load fail below. >>> >>> I think I give up for the moment with this Win stuff. >> >> Don't give up to early it is just dependency problem :-) >> Your best bet to have anything working is to download all from >> http://ftp.gnome.org/pub/gnome/binaries/win32 >> They don't have install pakage for gtk+ but their gtk+-bundle contains >> all right dependencies and their py-stuff works with that > Ok. Thanks for encouraging me! > > I installed the bundle and the I git it running. However, trying to use > the code with loading "intl.dll" or using the Linux method gives the same result as before. > > Traceback (most recent call last): > File "C:\Program\gramps320\gramps.py", line 72, in<module> > locale.bindtextdomain(TransUtils.LOCALEDOMAIN, TransUtils.LOCALEDIR) > AttributeError: 'module' object has no attribute 'bindtextdomain' > > Tried the gtk.glade but > File "C:\Program\gramps320\TransUtils.py", line 94, in setup_windows_gtk > import gtk.glade > ImportError: No module named glade > > So no glade is in the system. > > Now, I give up! It's running late. > > /Peter > Install pygtk-2.16.0+glade.win32-py2.6.exe it contains glade module. As mention earlied on windows.list you need liglade.dll and libxml2.dll to glade module to work. When on windows use program "Dependency Walker from "http://www.dependencywalker.com/ it will tell you all (it is like ldd in linux) -- Josip |