[GRASS-user] Error while using Wxpython vector digitizer

Greetings and happy new year

I want to create a vector file similar to another one that exists. To test this I decided to use bridges@PERMANENT .
After I do “DISPLAY MAP” in map display I select “Digitize” from Map Display toolbar. Then, wxDigitizer toolbar appears.
(so far, so good)
Then, I select New Vectorfile. A menu asking for output file name appears and I enter new_input and after I press OK an ERROR WINDOW appears stating:
Unable to initialize display driver of vector digitizer. see ‘Command output’ for details.
Details: ‘Non type’ object has no attribute ‘Open Map’ ( ).

At command output window the following text appears:
New vector map new_input@PERMANENT created
Traceback (most recent call last):
File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/v
digit.py" line 233, in init
mapwindow)
File "/usr/local/grass-6.4.0svn/etc/wxpython/vdigit/grass6
_wxdigit.py", line 334, in init
this = _grass6_wxdigit.new_Digit(*args)
TypeError: in method ‘new_Digit’, argument 2 of type
‘wxWindow’

Ok, could anyone explain me what is wrong and what can I do to fix it/solve it?

Thank you

Best wishes,
Franz

Hi,

2010/1/4 Franz Schiller <franzschiller1975@gmail.com>:

[...]

mapwindow)
File "/usr/local/grass-6.4.0svn/etc/wxpython/vdigit/grass6
_wxdigit.py", line 334, in __init__
this = _grass6_wxdigit.new_Digit(*args)
TypeError: in method 'new_Digit', argument 2 of type
'wxWindow'
Ok, could anyone explain me what is wrong and what can I do to fix it/solve
it?

which version of swig do you have?

swig -version

Try to compile vdigit extension ('gui/wxpython/vdigit') with swig 1.3.36.

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

Hi,

2010/1/5 Franz Schiller <franzschiller1975@gmail.com>:

I have :
SWIG Version 1.3.40
Compiled with g++ [x86_64-unknown-linux-gnu]
It's a later version that 1.3.36. Is there any thing that is not compatible
with swig 1.3.40 but only with 1.3.36?

yes, see http://trac.osgeo.org/grass/ticket/782

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa