[GRASS GIS] #532: Vector editing not possible with wx tools

11 messages Options
Embed this post
Permalink
GRASS GIS

[GRASS GIS] #532: Vector editing not possible with wx tools

Reply Threaded More More options
Print post
Permalink
#532: Vector editing not possible with wx tools
---------------------------+------------------------------------------------
 Reporter:  geognu1        |       Owner:  [hidden email]
     Type:  defect         |      Status:  new                      
 Priority:  major          |   Milestone:  6.4.0                    
Component:  wxGUI          |     Version:  6.4.0 RCs                
 Keywords:  vector, digit  |    Platform:  Linux                    
      Cpu:  x86-32         |  
---------------------------+------------------------------------------------
 When you start editing a vector with wx interface you get in the command
 output:

 Traceback (most recent call last):
 File "/home/user/releasebranch_6_4/dist.i686-pc-linux-
 gnu/etc/wxpython/gui_modules/wxgui_utils.py", line 512, in
 OnStartEditing

 self.mapdisplay.toolbars['vdigit'].StartEditing (maplayer)
 File "/home/user/releasebranch_6_4/dist.i686-pc-linux-
 gnu/etc/wxpython/gui_modules/toolbars.py", line 1099, in
 StartEditing

 self.parent.digit = Digit(mapwindow=self.parent.MapWindow)
 File "/home/user/releasebranch_6_4/dist.i686-pc-linux-
 gnu/etc/wxpython/gui_modules/vdigit.py", line 685, in
 __init__

 VDigit.__init__(self, mapwindow)
 File "/home/user/releasebranch_6_4/dist.i686-pc-linux-
 gnu/etc/wxpython/gui_modules/vdigit.py", line 223, in
 __init__

 mapwindow)
 File "/home/user/releasebranch_6_4/dist.i686-pc-linux-
 gnu/etc/wxpython/vdigit/grass6_wxvdigit.py", line 327, in
 __init__

 this = _grass6_wxvdigit.new_Digit(*args)
 TypeError
 :
 in method 'new_Digit', argument 2 of type 'wxWindow *'

 The monitor gets erased and editing it is not possible

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/532>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #532: Vector editing not possible with wx tools

Reply Threaded More More options
Print post
Permalink
#532: Vector editing not possible with wx tools
----------------------+-----------------------------------------------------
  Reporter:  geognu1  |       Owner:  [hidden email]
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  wxGUI    |     Version:  6.4.0 RCs                
Resolution:           |    Keywords:  vector, digit            
  Platform:  Linux    |         Cpu:  x86-32                  
----------------------+-----------------------------------------------------
Comment (by martinl):

 Which version of swig do you use?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/532#comment:1>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #532: Vector editing not possible with wx tools

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#532: Vector editing not possible with wx tools
----------------------+-----------------------------------------------------
  Reporter:  geognu1  |       Owner:  [hidden email]
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  wxGUI    |     Version:  6.4.0 RCs                
Resolution:           |    Keywords:  vector, digit            
  Platform:  Linux    |         Cpu:  x86-32                  
----------------------+-----------------------------------------------------
Comment (by geognu1):

 Replying to [comment:1 martinl]:
 > Which version of swig do you use?

 SWIG Version 1.3.38
 Compiled with g++ [i686-pc-linux-gnu]

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/532#comment:2>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #532: Vector editing not possible with wx tools

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#532: Vector editing not possible with wx tools
----------------------+-----------------------------------------------------
  Reporter:  geognu1  |       Owner:  [hidden email]
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  wxGUI    |     Version:  6.4.0 RCs                
Resolution:           |    Keywords:  vector, digit            
  Platform:  Linux    |         Cpu:  x86-32                  
----------------------+-----------------------------------------------------
Comment (by neteler):

 Here a recent note from grass-user (copied here for reference):

 On Mon, Mar 16, 2009 at 6:13 AM, Huidae Cho wrote:
 > After investing some time, I found a note in
 > swig-1.3.38/Tools/pyname_patch.py saying that they have renamed PySwig*
 > to SwigPy* since swig 1.3.37.  wxPython 2.8.9.2 (current stable version)
 > still uses old naming, so we have to stick to swig >= 1.3.31 and <=
 > 1.3.36.  Now, GUI works great!

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/532#comment:3>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #532: Vector editing not possible with wx tools

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#532: Vector editing not possible with wx tools
----------------------+-----------------------------------------------------
  Reporter:  geognu1  |       Owner:  [hidden email]
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  wxGUI    |     Version:  6.4.0 RCs                
Resolution:           |    Keywords:  vector, digit            
  Platform:  Linux    |         Cpu:  x86-32                  
----------------------+-----------------------------------------------------
Comment (by geognu):

 No way. Downgraded swig to v. 1.3.36, still get the same message.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/532#comment:4>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #532: Vector editing not possible with wx tools

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#532: Vector editing not possible with wx tools
----------------------+-----------------------------------------------------
  Reporter:  geognu1  |       Owner:  [hidden email]
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  wxGUI    |     Version:  6.4.0 RCs                
Resolution:           |    Keywords:  vector, digit            
  Platform:  All      |         Cpu:  x86-32                  
----------------------+-----------------------------------------------------
Changes (by cmbarton):

  * platform:  Linux => All

Comment:

 I cannot do any digitizing on 6.4 on the Mac OSX platform. As soon as I
 try to select a map to digitize in the pull down, the GUI crashes. This
 happens if I try to select an existing map or create a new map.

 Digitizing works with 6.5 on my Mac.

 This remains a serious issue for a 6.4 release.

 Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/532#comment:5>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #532: Vector editing not possible with wx tools

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#532: Vector editing not possible with wx tools
----------------------+-----------------------------------------------------
  Reporter:  geognu1  |       Owner:  [hidden email]
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  wxGUI    |     Version:  6.4.0 RCs                
Resolution:           |    Keywords:  vector, digit            
  Platform:  All      |         Cpu:  x86-32                  
----------------------+-----------------------------------------------------
Comment (by kyngchaos):

 I just tried with 6.4svn (from earlier in the week) built with Snow's
 Python 2.6.1 and my own wxpython 2.8.10.1 and digitizing works.  I'm sure
 it worked for me on OSX 10.5 with 6.4rc5, the system python 2.5 and wx
 2.8.10.1.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/532#comment:6>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #532: Vector editing not possible with wx tools

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#532: Vector editing not possible with wx tools
----------------------+-----------------------------------------------------
  Reporter:  geognu1  |       Owner:  [hidden email]
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  wxGUI    |     Version:  6.4.0 RCs                
Resolution:           |    Keywords:  vector, digit            
  Platform:  All      |         Cpu:  x86-32                  
----------------------+-----------------------------------------------------
Comment (by cmbarton):

 This works fine for me now on the Mac. I have swig 1.3.31.

 My problem was probably due to a second Python installation that was not
 completely removed. This caused problems during compiling that affected
 the digitizing module, especially the one creating the local PsuedoDC. It
 is not a problem if the wxpython used to compile is bundled with the app
 on the Mac. For other reasons, we will need to do this regularly if we
 want digitizing to work with portable binaries.

 Is this a problem on other systems with swig 1.3.31?

 Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/532#comment:7>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #532: Vector editing not possible with wx tools

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#532: Vector editing not possible with wx tools
----------------------+-----------------------------------------------------
  Reporter:  geognu1  |       Owner:  [hidden email]
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  wxGUI    |     Version:  6.4.0 RCs                
Resolution:           |    Keywords:  vector, digit            
  Platform:  All      |         Cpu:  x86-32                  
----------------------+-----------------------------------------------------
Comment (by cmbarton):

 Can we close???

 Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/532#comment:8>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #532: Vector editing not possible with wx tools

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#532: Vector editing not possible with wx tools
----------------------+-----------------------------------------------------
  Reporter:  geognu1  |       Owner:  [hidden email]
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  wxGUI    |     Version:  6.4.0 RCs                
Resolution:           |    Keywords:  vector, digit            
  Platform:  All      |         Cpu:  x86-32                  
----------------------+-----------------------------------------------------
Changes (by martinl):

 * cc: martinl (added)

Comment:

 Replying to [comment:8 cmbarton]:
 > Can we close???

 I don't think so. The problem still remains in different forms, but
 usually it's cause by incompatible version of swig and wxPython.

 Martin

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/532#comment:9>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #532: Vector editing not possible with wx tools

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#532: Vector editing not possible with wx tools
----------------------+-----------------------------------------------------
  Reporter:  geognu1  |       Owner:  [hidden email]
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  wxGUI    |     Version:  6.4.0 RCs                
Resolution:           |    Keywords:  vector, digit            
  Platform:  All      |         Cpu:  x86-32                  
----------------------+-----------------------------------------------------
Comment (by cmbarton):

 Then isn't this really something that needs to be fixed in compiling? I
 don't think this is really a wxGUI issue is it?

 Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/532#comment:10>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev