Hi Dieter,

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:

>>> import goocanvas
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified procedure could not be found.

I got the goocanvas dlls from
http://ftp.gnome.org/pub/GNOME/binaries/win32/goocanvas/
These dlls were working with the goocanvas.pyd I had compiled by myself.

Am I missing something?
I think I'll go and see your changes in pygobject and pygtk, I'm very
curious to understand :-)

Thanks
-David

> Hi,
>
> Quoting "David ROY" <[email protected]>:
>> I'm trying to compile a Python package that uses pygtk and it's
>> codegen/argtypes facilities (the package is pygoocanvas).
>>
>> I succeeded both on Linux and Windows (after having a hard time on
>> Windows) but I still have some virtual accessors and interfaces not
>> being
>> created, on both platforms.
>>
>> This happens because some of the types used in the .defs files are
>> unknown
>> to argtypes:
>>
>> Could not write virtual accessor method
>> GooCanvasItem.get_child_property:
>> No ArgType for GValue*
>> Could not write virtual accessor method GooCanvasItem.get_items_at: No
>> ArgType for GList*
>> Could not write virtual accessor method GooCanvasItem.child_notify: No
>> ArgType for GParamSpec*
>> etc...
>
> I think you need to pass load_types='arg-types.py' when you create
> your TemplateExtension for goocanvas.
>
> You might take a look at the installer I've done for pygoocanvas at
> http://github.com/dieterv/pygoocanvas for the complete setup.py.
>
> Note: the code there depends on other improvements I've been working
> on to make the whole building pyg* python bindings on windows with
> mingw+msys work out of the box. Especially the patches to pygobject
> and pygtk might interest you. You can find the git repos with my
> patches at http://github.com/dieterv/
>
> I'm providing built binaries (more like unofficial snapshots) of the
> above work here: http://www.optionexplicit.be/projects/gnome-windows/
> Just navigate to the newest directory, et voila :)
>
> hth,
> 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