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