On Fri, Dec 16, 2011 at 11:38:20AM +0100, Lennart Fricke wrote:
> I installed python2.7 and pygtk from the msi installers i found on the
> web
> http://python.org/ftp/python/2.7.2/python-2.7.2.msi
> http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/pygtk-all-in-one-2.24.0.win32-py2.7.msi
> just used the standard options. Then compiled gwyddion like I wrote
> before.

The all-in-one pygtk installer includes the entire Gtk+ stack (i.e.
gtk+-bundle)...

> Installed it somewhere and added the whole bin dir of the
> gtk+-bundle_2.24 to resolve dlls.

...so I suppose you used the included gtk+-bundle, not another
(independent) instance?

In principle, it should not matter whether we use the DLLs from Fedora
or from pygtk-all-in-one.  Assuming we can merge gtk's and gwyddion's bin
directories to avoid having two copies of the Gtk+ stack.

But in practice, we definitely want Gtk+ 2.24.8 (at least) because it
contains some important MS Windows-related fixes: e.g. DnD should work
again, I have also observed the strange drawing of 3D view over the
entire window gone (though that may not be fixed for everyone).

Anything released 10-Apr-2011 does not contain 2.24.8 that was released
just a month ago.  So we cannot use the Gtk+ DLLs from pygtk-all-in-one
at this moment.

> I just tested some function calls from pygwy:
> gwy_app_data_browser_get_current
> and plane_level, plane_fit, data_changed of DataField.
> Those worked.

Then it works.  Or at least, it does not suffer the symbol resolution
problem.

> If pygtk or python cannot be found by gwyddion pygwy-console just
> crashes.

Makes sense since there are unresolved symbols.  If we did not load the
module with G_MODULE_BIND_LAZY it would probably just fail to load in
absence of python or pygtk which would neatly solve it.  However,
binding all symbols in modules immediately would probably mean a
prohibitively slow startup on MS Windows.

Anyway, pygtk would be packaged so we only need to deal with python.

Ccing the -devel list; please send any further replies there as this is
probably no longer of interest for normal users.

Regards,

Yeti


------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to