[GRASSGUI] wxgrass does not see wx on import
Brad Douglas
rez at touchofmadness.com
Sat May 19 00:53:46 EDT 2007
On Fri, 2007-05-18 at 23:11 -0500, Daniel Calvelo wrote:
> Brad,
>
> 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_CHARACTER
This 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.
> 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. :(
> On 5/18/07, Brad Douglas <rez at touchofmadness.com> wrote:
> > I had similar problems after installing the RPMs I built, but I got a
> > bit further until it complained about a specific 'widget'. I traced it
> > back to a requirement on python-2.5+ (that's how it appeared). Please
> > correct me if I'm wrong because I'd really like to get this working with
> > GRASS[1].
> >
> > [1] I can't upgrade python without upgrading to an unstable development
> > version of the OS due to massive dependencies. Not something I want to
> > do and still be able to build GRASS RPMs reliably.
--
Brad Douglas <rez touchofmadness com> KB8UYR/6
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785
More information about the grass-gui
mailing list