Opened 9 years ago

Last modified 7 years ago

#2889 new defect

wxGUI: paste into modeller "Add GRASS coomand" dialog hangs it

Reported by: marisn Owned by: grass-dev@…
Priority: normal Milestone: 7.0.7
Component: wxGUI Version: svn-trunk
Keywords: modeller Cc:
CPU: Unspecified Platform: Linux

Description

Seems that wxGUI graphical modeller does not like pasting any values into "Add GRASS command" dialog.

Steps to reproduce:

  • open Graphical Modeller
  • click on "Add command (GRASS module) to model"
  • paste into "Command" following example text: r.mapcalc expression='map=1'
  • observe how python process is consuming 100% and wants moar! (use kill to get rid of it)

Actual pasted text does not matter - any string will do.

GRASS GIS 7.1.svn (r67710M)

Change History (6)

in reply to:  description comment:1 by hellik, 9 years ago

Replying to marisn:

Seems that wxGUI graphical modeller does not like pasting any values into "Add GRASS command" dialog.

Steps to reproduce:

  • open Graphical Modeller
  • click on "Add command (GRASS module) to model"
  • paste into "Command" following example text: r.mapcalc expression='map=1'
  • observe how python process is consuming 100% and wants moar! (use kill to get rid of it)

Actual pasted text does not matter - any string will do.

GRASS GIS 7.1.svn (r67710M)

tested with

GRASS version: 7.1.svn                                                          
GRASS SVN revision: 67699                                                       
Build date: 2016-01-29                                                          
Build platform: x86_64-w64-mingw32                                              
GDAL: 1.11.3                                                                    
PROJ.4: 4.9.2                                                                   
GEOS: 3.5.0                                                                     
SQLite: 3.7.17                                                                  
Python: 2.7.5                                                                   
wxPython: 2.8.12.1                                                              
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)   

not confirmed.

comment:2 by marisn, 9 years ago

Then it could be related to wxpython 3. I can paste into "label", "comments" but on "command" pane I even can not do a right click - menu does not appear and I get instant runaway process.

GRASS version: 7.1.svn                                                          
GRASS SVN revision: 67711M                                                      
Build date: 2016-01-02                                                          
Build platform: x86_64-pc-linux-gnu                                             
GDAL: 2.0.1                                                                     
PROJ.4: 4.8.0                                                                   
GEOS: 3.5.0                                                                     
SQLite: 3.10.0                                                                  
Python: 2.7.11                                                                  
wxPython: 3.0.2.0                                                               
Platform: Linux-4.4.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9500_@_2.53GHz-with-gentoo-2.2

comment:3 by martinl, 9 years ago

Milestone: 7.1.07.0.4

I can confirm this issue, it's mystery. The dialog is using same class as Layer Manager's Command Console (GPromptSTC). Also valid for relbr70.

comment:4 by martinl, 9 years ago

Milestone: 7.0.47.0.5

comment:5 by neteler, 8 years ago

Milestone: 7.0.57.0.6

comment:6 by neteler, 7 years ago

Milestone: 7.0.67.0.7
Note: See TracTickets for help on using tickets.