Hi Dieter,

I had to restart with a fresh new install of every GTK stuff but I now
have it working.

One thing, I used to install the "pygtk + glade" package because I need to
import gtk.glade somewhere.
Unfortunately your pygtk distribution doesn't include glade, and I didn't
find any other way to install glade for Python on Windows than using the
"pygtk + glade" distribution.

So I had to copy/paste "glade.pyd" from an old install directly in
C:\Python26\Lib\site-packages\gtk-2.0\gtk, which is kinda dirty.

Met Vriendelijke Groeten
-David

> Hi,
>
> Quoting "David ROY" <[email protected]>:
>> I installed the built binaries you provide for windows:
>> 20101102/pygoocanvas-0.14.2.win32-py2.6.msi
>>
>> But no one of the libgoocanvas-3.dll I tried seems to fit with the
>> goocanvas.pyd, I always end up with:
>
> The pygoocanvas installer is built against:
> http://ftp.gnome.org/pub/GNOME/binaries/win32/gtk+/2.22/gtk+-bundle_2.22.0-20101016_win32.zip
> http://ftp.gnome.org/pub/GNOME/binaries/win32/goocanvas/0.15/goocanvas-0.15-win32.zip
> http://ftp.gnome.org/pub/GNOME/binaries/win32/goocanvas/0.15/goocanvas-dev-0.15-win32.zip
>
>>>>> import goocanvas
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>> ImportError: DLL load failed: The specified procedure could not be
>> found.
>
> Does your PATH environment variable include the "bin" directory
> of your gtk+ installation when you tested the above?
> This might seem like a silly question, but sometimes (badly written)
> installers like MonoDevelop, Glade for windows, etc insert their own
> GTK+ version on the system path, so it is possible you're not using
> the GTK+ version you think you are. If you want to make sure, put the
> following in a start.bat file and execute it (don't forget to change
> the path for your actual gtk+ installation):
> @echo off
> set PATH=C:\gtk+-bundle_2.22.0-20101016_win32\bin;%PATH%
> python.exe
>
> Also make sure you extracted the contents of the goocanvas zips
> over C:\gtk+-bundle_2.22.0-20101016_win32 (ie the same location
> as you put in the start.bat file)
>
> If the above doesn't work, uninstall all pygobject, pygtk,
> pygoocanvas, etc extensions, redownload all installers from
> my site, then reinstall them. Why?
> 1) I accidentally overwrote the installers built last night
> with the "final" version built 4 hours ago :S
> 2) When you install a .exe extension installer over an older
> version of the same extension, python does not remove the old
> version, so there might be some stale files left by previous
> versions. When you uninstall, python removes all files from all
> versions of that extension so you can start with a clean
> environment (the bookkeeping happens in C:\Python26\*-wininst.log).
>
>> I think I'll go and see your changes in pygobject and pygtk, I'm very
>> curious to understand :-)
>
> If you've got any questions, don't be afraid to ask, either privately
> or on this list.
>
> mvg,
> Dieter
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>


_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to