I'm trying to use wxgrass Digitization tool, it works fine to create new vectors, but when I try to move an existing vertex I get this error in the terminal:
Traceback (most recent call last):
File "/usr/local/grass-6.3.0RC2/etc/wx/gui_modules/wxgui_utils.py", line 330, in OnStartEditing
self.mapdisplay.digittoolbar.StartEditing (maplayer)
File "/usr/local/grass-6.3.0RC2/etc/wx/gui_modules/toolbars.py", line 587, in StartEditing
self.parent.digit.SetMapName(mapLayer.name)
File "/usr/local/grass-6.3.0RC2/etc/wx/gui_modules/digit.py", line 154, in SetMapName
self.driver.Reset(self.map)
File "/usr/local/grass-6.3.0RC2/etc/wx/gui_modules/digit.py", line 705, in Reset
self.__display.OpenMap(str(name), str(mapset))
AttributeError: 'NoneType' object has no attribute 'OpenMap'
What shoud I do?
Thanks.
Pablo Torres Carreira
_________________________________________________________________
Encontre o que procura com mais eficiência! Instale já a Barra de Ferramentas com Windows Desktop Search GRÁTIS! http://desktop.msn.com.br/
2007/12/3, Pablo Carreira <pablotcarreira@hotmail.com>:
I'm trying to use wxgrass Digitization tool, it works fine to create new vectors, but when I try to move an existing vertex I get this error in the terminal:
Traceback (most recent call last):
File "/usr/local/grass-6.3.0RC2/etc/wx/gui_modules/wxgui_utils.py", line 330, in OnStartEditing
self.mapdisplay.digittoolbar.StartEditing (maplayer)
File "/usr/local/grass-6.3.0RC2/etc/wx/gui_modules/toolbars.py", line 587, in StartEditing
self.parent.digit.SetMapName(mapLayer.name)
File "/usr/local/grass-6.3.0RC2/etc/wx/gui_modules/digit.py", line 154, in SetMapName
self.driver.Reset(self.map)
File "/usr/local/grass-6.3.0RC2/etc/wx/gui_modules/digit.py", line 705, in Reset
self.__display.OpenMap(str(name), str(mapset))
AttributeError: 'NoneType' object has no attribute 'OpenMap'
It seems to me that you haven't compiled wx display driver which is
requested by digitization tool. For detailed information see README
file (section 7 - DIGITIZATION TOOL).
I'm trying to use wxgrass Digitization tool, it works fine to create new vectors, but when I try to move an existing vertex I get this error in the terminal:
Traceback (most recent call last):
File "/usr/local/grass-6.3.0RC2/etc/wx/gui_modules/wxgui_utils.py", line 330, in OnStartEditing
self.mapdisplay.digittoolbar.StartEditing (maplayer)
File "/usr/local/grass-6.3.0RC2/etc/wx/gui_modules/toolbars.py", line 587, in StartEditing
self.parent.digit.SetMapName(mapLayer.name)
File "/usr/local/grass-6.3.0RC2/etc/wx/gui_modules/digit.py", line 154, in SetMapName
self.driver.Reset(self.map)
File "/usr/local/grass-6.3.0RC2/etc/wx/gui_modules/digit.py", line 705, in Reset
self.__display.OpenMap(str(name), str(mapset))
AttributeError: 'NoneType' object has no attribute 'OpenMap'
It seems to me that you haven't compiled wx display driver which is
requested by digitization tool. For detailed information see README
file (section 7 - DIGITIZATION TOOL).
Hi,
I have made de symlink:
ln -s /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so libgdi.so
then when I try to compile i get:
Makefile:20: aviso: impondo comandos para o alvo `clean'
../../../include/Make/Rules.make:72: aviso: ignorando comandos antigos para o alvo `clean'
c -fpic -I/usr/include/python2.4 -I./ -I/home/pablo/grassinstall/dist.i686-pc-linux-gnu/include `wx-config --cxxflags` grass6_wxdriver_wrap.cxx
/bin/sh: c: not found
make: [grass6_wxdriver_wrap.o] Erro 127 (ignorado)
c -fpic -I/usr/include/python2.4 -I./ -I/home/pablo/grassinstall/dist.i686-pc-linux-gnu/include `wx-config --cxxflags` driver.cpp
/bin/sh: c: not found
make: [driver.o] Erro 127 (ignorado)
shared -fpic -L/home/pablo/grassinstall/dist.i686-pc-linux-gnu/lib -lgrass_vect -lgrass_gis `wx-config --libs` -L/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx -lgdi grass6_wxdriver_wrap.o driver.o -o _grass6_wxdriver.so
/bin/sh: shared: not found
make: [grass6_wxdriver.so] Erro 127 (ignorado)
Do I need to make some modifications in the Makefile? What do I need to change?
Thanks.
Pablo Torres Carreira
----------------------------------------
Date: Tue, 4 Dec 2007 13:19:15 +0100
From: landa.martin@gmail.com
To: pablotcarreira@hotmail.com
Subject: Re: [GRASS-user] wxgrass Digitization tool
CC: grass-user@lists.osgeo.org
Hi,
_________________________________________________________________
Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver offline. Conheça o MSN Mobile! http://mobile.live.com/signup/signup2.aspx?lc=pt-br