[GRASS-user] Re: Error Opening wxPython: No module named agw.customtreectrl

Sharon M morrisxs09 at gmail.com
Thu Jun 9 20:51:31 EDT 2011


Hi,

I also reported this problem Jan 13/14 2011 (subject: Error starting
WinGrass 6.4.1 RC1), and below is a copy of what I wrote up about it and
send to Martin Landa.

Note, this workaround to get winGrass to work requires a change to a library
file in the Windows system directory.  However the preferred option should
be to have winGrass use it's local library files not the Windows library
files which seem to be incompatible with winGrass hence the error message
matty18 is getting.

Sharon

--------------------

A google of the error message turns up many hits indicating the problem is
with the DLLs ssleay32.dll and libeay32.dll.

>From reading this:
http://msdn.microsoft.com/en-us/library/ms682586%28v=vs.85%29.aspx
the DLL search order is operating system directories (including
C:WINDOWS\system32) before the PATH environment variable. In my case, the
system32 directory contained the files ssleay32.dll and libeay32.dll (no
version ids) as well as the GRASS-64\extralib directory (ssleay32.dll and
libeay32.dll v0.9.8.15)

As C:WINDOWS\system32 is searched first (before the PATH environment
variable), the system32 DLL files are used.

I've copied/renamed ssleay32.dll and libeay32.dll in system32 then copied
ssleay32.dll and libeay32.dll from the GRASS-64\extralib directory in
system32. I then rebooted the PC.

WinGrass 6.4.1 RC1 now starts! I'll progressively test the WinGrass 6.4.1
RC1 vector functionality I normally use and report any issues. I'll also
wait and see what programs fail due to changing dll files in the system32
directory.

The issue now is - what should be the correct way of WinGRASS 6.4 sourcing
the correct DLLs? and what is the correct way of replacing the DLLs in the
system32 directory?

-----------------------------

On Fri, Jun 10, 2011 at 6:09 AM, matty18 <m.j.mccourt at gmail.com> wrote:

> Could it have anything to do with not having installed through the osgeo4w
> package?
>
> I saw this line in the error return that calls for layertree.py:
>
> File
>
> "c:/osgeo4w/usr/src/grass641_release/dist.i686-pc-mingw32/etc/wxpython/gui_modules/layertree.py",
> line 119, in __init__
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Error-Opening-wxPython-No-module-named-agw-customtreectrl-tp6459456p6459557.html
> Sent from the Grass - Users mailing list archive at Nabble.com.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110610/11fb6d34/attachment.html


More information about the grass-user mailing list