On Thu, Sep 6, 2012 at 10:35 AM, David Nečas (Yeti) <y...@gwyddion.net>wrote:

> On Thu, Sep 06, 2012 at 10:16:41AM +0100, Andrés Muñiz Piniella wrote:
> > >>> import gwy
> >
> > Traceback (most recent call last):
> >   File "<pyshell#5>", line 1, in <module>
> >     import gwy
> > ImportError: DLL load failed: The specified module could not be found.
> > >>>
> >
> > Any way I tried renaming the file to all different sorts: gwy.pyd;
> gwy.dll
> > the file orginial name is pygwy.dll
>
> Ah, sorry for confusion.  Considering that I did not know how to make it
> useful I omitted the standalone module from the Win32 package and then
> forgot about it.  So it is not installed.  That's a pitty if you are
> interested in experimenting to make it work.  I should add it to the
> nightly builds.
>
> To clarify things, there are two different python-gwyddion modules:
>
> gwy.dll, gwy.so, etc. (not included), this is *Python* extension and
> also what I was talking about in the previous e-mail.
>
> pygwy.dll, pygwy.so, etc. (included), this is *Gwyddion* extension.  It
> does not work as a Python module.
>
> > I miss understood the news on the "its raining unicorns... " release. I
> > thought it meant that it was the stand alone module. So I should be
> > expecing the pygwy consonsole within gwyddion? I'm not seeing it.
>
> Two new things should work now:
> - a standalone gwy module on Unix
> - the usual pygwy in Gwyddion on MS Windows
>
> So, yes, you should get a pygwy console in Gwyddion.  Do you see any
> related messages in gwyddion.log?
>
> Yeti
>

Excellent:
First I got this:
GwyModule: Module name `copy of pygwy' is not a valid identifier. It may be
rejected in future.
Module: File C:\Python27\Lib\site-packages\gtk-2.0\gobject\__init__.py is
not present, assuming no pygobject.
Last message repeated 1 times
Gtk: Could not find the icon 'gtk-file'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
    http://icon-theme.freedesktop.org/releases


and then some error mesages about not able to retrieve file info but i
guess it is not related.

I removed copy of pygwy and restarted gwyddion. log says:
Module: File C:\Python27\Lib\site-packages\gtk-2.0\gobject\__init__.py is
not present, assuming no pygobject.

Might be the curpit? I don't even have a gobject folder. I ran a repair on
pygtk-2.24.0.win32-py2.7.msi and python-2.7.3.msi did not appear.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gwyddion-users mailing list
Gwyddion-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to