<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.3">
</HEAD>
<BODY>
Hi Martin,<BR>
<BR>
Thanks for your response.&nbsp; The problem is effectively swig.&nbsp; <BR>
<BR>
I'm using Fedora 11, <BR>
<BR>
&nbsp;&nbsp;&nbsp; wxWidgets (wxGTK) 2.8.10<BR>
&nbsp;&nbsp;&nbsp; wxPython 2.8.9.2-2<BR>
By default, version of swig is 1.3.39 in FC11.&nbsp; I've recompiled the wxWidget and wxPython package from SRPMS, but the problem persists.<BR>
<BR>
Thus, I retrograded to swig 1.3.35 (and, of course, recompilation of wxPython) and everythings is now OK.&nbsp; Vdigit works perfectly.<BR>
<BR>
It seems to be a problem with swig 1.3.39<BR>
<BR>
Benoit.<BR>
<BR>
<BR>
Le samedi 19 septembre 2009 &#224; 18:29 +0200, Martin Landa a &#233;crit :<BR>
<BLOCKQUOTE TYPE=CITE>
    Hi,<BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    2009/9/16 Benoit ANDRE &lt;<A HREF="mailto:benoit.andre@bcgeol.be">benoit.andre@bcgeol.be</A>&gt;
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        Hi, <BR>
        <BR>
        Vdigit doesn't work yet on my system.<BR>
        <BR>
        When I launch vdigit, the Grass GIS display turn right in the vdigit window.&nbsp; But when selecting a vector map, i get the message : 
        <ADDRESS>
<BR>
</ADDRESS>
<PRE>
<FONT COLOR="#800000">Traceback (most recent call last):</FONT>
<FONT COLOR="#800000">&nbsp; File &quot;/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/t</FONT>
<FONT COLOR="#800000">oolbars.py&quot;, line 1071, in OnSelectMap</FONT>

<FONT COLOR="#800000">self.StartEditing(self.layers[selection])</FONT>
<FONT COLOR="#800000">&nbsp; File &quot;/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/t</FONT>
<FONT COLOR="#800000">oolbars.py&quot;, line 1103, in StartEditing</FONT>

<FONT COLOR="#800000">self.parent.digit = Digit(mapwindow=self.parent.MapWindow)</FONT>
<FONT COLOR="#800000">&nbsp; File &quot;/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/v</FONT>
<FONT COLOR="#800000">digit.py&quot;, line 685, in __init__</FONT>

<FONT COLOR="#800000">VDigit.__init__(self, mapwindow)</FONT>
<FONT COLOR="#800000">&nbsp; File &quot;/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/v</FONT>
<FONT COLOR="#800000">digit.py&quot;, line 223, in __init__</FONT>

<FONT COLOR="#800000">mapwindow)</FONT>
<FONT COLOR="#800000">&nbsp; File &quot;/usr/local/grass-6.4.0RC5/etc/wxpython/vdigit/grass6</FONT>
<FONT COLOR="#800000">_wxvdigit.py&quot;, line 333, in __init__</FONT>

<FONT COLOR="#800000">this = _grass6_wxvdigit.new_Digit(*args)</FONT>
<FONT COLOR="#800000">TypeError</FONT>
<FONT COLOR="#800000">:</FONT>
<FONT COLOR="#800000">in method 'new_Digit', argument 2 of type 'wxWindow *'</FONT>
</PRE>
        <BR>
        <BR>
        When trying to add, move, ... a feature, I get a warning window that say : 'no map selected for edition'&nbsp; (but in French)<BR>
        <BR>
        <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<TABLE WIDTH="100%">
<TR>
<TD ALIGN="left">
<BR>
<BR>
</TD>
<TD ALIGN="right" VALIGN="top">
<BR>
<BR>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
    </BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    It can be caused with the fact that used different Swig version for building vector digitizer extension compared to the version used for building wxPython library...<BR>
    <BR>
    Martin<BR>
    <BR>
    -- <BR>
    Martin Landa &lt;landa.martin <A HREF="http://gmail.com">gmail.com</A>&gt; * <A HREF="http://gama.fsv.cvut.cz/~landa">http://gama.fsv.cvut.cz/~landa</A><BR>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<TABLE WIDTH="100%">
<TR>
<TD ALIGN="left">

<HR SIZE="4" LENGTH="200">
<BR>
<BR>
<BR>
<B>Benoit ANDRE</B><BR>
<I>G&#233;ologue - Hydrologue</I><BR>

<HR SIZE="4" LENGTH="200">
<BR>
<BR>
<BR>
<B>Bureau Conseil en G&#233;ologie sprl</B><BR>
Rue de Leuze, 433<BR>
<B><U>B-5300 VEZIN</U></B><BR>
<B><U>BELGIQUE</U></B><BR>
<BR>
T&#233;l.: +32 81 58 26 11<BR>
Fax.: +32 81 58 26 12<BR>
Mobile : +32 475 61 84 94<BR>
<B><A HREF="mailto:benoit.andre@bcgeol.be">Contacter...</A></B><BR>
<B><FONT COLOR="#0000ff"><A HREF="http://www.bcgeol.be">Bureau Conseil en G&#233;ologie</A></FONT></B><BR>

<HR SIZE="4" LENGTH="200">

</TD>
<TD ALIGN="right" VALIGN="top">
<DIV ALIGN=right><IMG SRC="cid:1255083070.10408.32.camel@pyrite" ALIGN="bottom" BORDER="0"></DIV>
<BR>
<BR>
<DIV ALIGN=right></DIV><BR>
<BR>
<BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>