<div dir="ltr"><div><div style="font-family:arial,sans-serif;font-size:13px">exporting PYTHONPATH to /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/ and running the script doesnt have any problem. So as you said someone had accidently modified PYTHONPATH settings.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">An ugly fix is to add the below line to include/Make/Rules.make</div><div style="font-family:arial,sans-serif;font-size:13px">

I know its very dirty thing but a way to solution maybe because when grass start it automatically picks up the wx path. I dont know how. maybe wxpython is setting those things.</div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">GRASS_PYTHONPATH := $(call mkpath,"/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/",$(GRASS_PYTHONPATH))</div></div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">Best option is to find if set/append PYTHONPATH on configure itself.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">

python-config gives the python lib dir and from there dist-packages/wx-2.8-gtk2-unicode will have PYTHONPATH this may not be called as PYTHONPATH2 or something which is used by GRASS installation only thus not affecting other packages in the system</div>

<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 30, 2012 at 3:55 PM, Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
2012/12/30 Helena Mitasova <<a href="mailto:hmitaso@ncsu.edu">hmitaso@ncsu.edu</a>>:<br>
<div class="im">> Currently, the compilation ends with error for the following modules:<br>
> /Users/helena/grassdev7/grass_trunk/gui/wxpython/animation<br>
> /Users/helena/grassdev7/grass_trunk/gui/wxpython/mapswipe<br>
> /Users/helena/grassdev7/grass_trunk/gui/wxpython/gmodeler<br>
> /Users/helena/grassdev7/grass_trunk/gui/wxpython/rlisetup<br>
> /Users/helena/grassdev7/grass_trunk/gui/wxpython/psmap<br>
> /Users/helena/grassdev7/grass_trunk/gui/wxpython/dbmgr<br>
> /Users/helena/grassdev7/grass_trunk/gui/wxpython/vdigit<br>
> /Users/helena/grassdev7/grass_trunk/gui/wxpython/iclass<br>
><br>
> but it affects more than the modules above - for example switching to 3d view is broken - it has erratic behavior (I can provide<br>
> more details - there are too many to list here but the following error shows up<br>
<br>
</div>it will be the same, is it problem with importing 'wx' package, or??<br>
<div class="im"><br>
> v.digit runs but hangs on rendering<br>
<br>
</div>there is no v.digit in G7, do you mean g.gui.vdigit?<br>
<span class="HOEnZb"><font color="#888888"><br>
Martin<br>
<br>
--<br>
Martin Landa <landa.martin <a href="http://gmail.com" target="_blank">gmail.com</a>> * <a href="http://geo.fsv.cvut.cz/~landa" target="_blank">http://geo.fsv.cvut.cz/~landa</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br>   Rashad</font></div>
</div>