<HTML>
<HEAD>
<TITLE>Re: [GRASSGUI] wxgrass does not see wx on import</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>It is not used, so I took it out. Committed just a few minutes ago.<BR>
<BR>
Michael<BR>
<BR>
<BR>
On 5/19/07 10:11 AM, "Brad Douglas" <rez@touchofmadness.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>wxgui.py imports wx.richtext (see the error messages below).<BR>
<BR>
On Sat, 2007-05-19 at 08:50 -0700, Michael Barton wrote:<BR>
> I seem to remember that Jachym reported some problem with the richtext<BR>
> control for Windows and that we were not going to use it. Where is it being<BR>
> used?<BR>
><BR>
> Michael<BR>
><BR>
><BR>
> On 5/19/07 8:37 AM, "Glynn Clements" <glynn@gclements.plus.com> wrote:<BR>
><BR>
> ><BR>
> > Brad Douglas wrote:<BR>
> ><BR>
> >>>>> Which widget was it? If it's part of the contrib widgets in wx2.8,<BR>
> >>>>> that's manageable.<BR>
> >>>><BR>
> >>>> Here's the exact error:<BR>
> >>>><BR>
> >>>> GRASS 6.3.cvs (utm10):/usr/src/grass63 > wxgrass<BR>
> >>>> Traceback (most recent call last):<BR>
> >>>> File "/opt/gis/grass-6.3.cvs/etc/wx/wxgui.py", line 16, in ?<BR>
> >>>> import wx.richtext<BR>
> >>>> File<BR>
> >>>> "/usr/lib64/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/richtext.py",<BR>
> >>>> line 4, in ?<BR>
> >>>> import _richtext<BR>
> >>>> ImportError:<BR>
> >>>> /usr/lib64/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_richtext.so:<BR>
> >>>> undefined symbol: wxEVT_COMMAND_RICHTEXT_CHARACTER<BR>
> >>>><BR>
> >>>> This is what led me to believe it was a python2.5 symbol, but I'm<BR>
> >>>> relatively inexperienced with wxpython. There are also no unresolved<BR>
> >>>> libraries linked to _richtext.so.<BR>
> >>><BR>
> >>> It should be in libwx_gtk2ud_richtext-2.8.so<BR>
> >>><BR>
> >>>>> Did you try setting PYTHONPATH with a hand-compiled version of wxpython?<BR>
> >>>><BR>
> >>>> I shouldn't have to, but I did it anyway to make sure. No dice. :(<BR>
> >>><BR>
> >>> Are the wx 2.8 libraries visible (ld.so.conf or $LD_LIBRARY_PATH)?<BR>
> >><BR>
> >> The wx libraries reside in /usr/lib64, so I would be rather surprised if<BR>
> >> they weren't in the LD path. :-)<BR>
> ><BR>
> > Have you run ldconfig since putting them there? Does running ldd on<BR>
> > _richtext.so show their locations?<BR>
<BR>
<BR>
--<BR>
Brad Douglas <rez touchofmadness com> KB8UYR/6<BR>
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
School of Human Evolution & Social Change <BR>
Center for Social Dynamics & Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>