[GRASS-dev] [GRASS GIS] #1750: Typing '= in a WXGUI Command prompt results in a ValueError

#1750: Typing '= in a WXGUI Command prompt results in a ValueError
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Steps to reproduce:
in command prompt type in (not copy'n'paste!) following command: d.vect
map=mymap where='foo=1'

{{{
Traceback (most recent call last):
   File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/gui_core/prompt.py", line 978, in
OnKeyPressed

self.toComplete = self.EntityToComplete()
   File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/gui_core/prompt.py", line 863, in
EntityToComplete

if len(utils.split(str(entry))) > 1:
   File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/core/utils.py", line 40, in split

return shlex.split(s, posix = (sys.platform != "win32"))
   File "/usr/lib64/python2.7/shlex.py", line 279, in split

return list(lex)
   File "/usr/lib64/python2.7/shlex.py", line 269, in next

token = self.get_token()
   File "/usr/lib64/python2.7/shlex.py", line 96, in
get_token

raw = self.read_token()
   File "/usr/lib64/python2.7/shlex.py", line 172, in
read_token

raise ValueError, "No closing quotation"
ValueError
:
No closing quotation
}}}

(Just a rant. AAAGH! When finally it will be possible to copy data from
command prompt and output pane WXGUI like in any other X11 app by simple
selection?!? Real pain as WXGUI is the only app ignoring this X11
principle and tricking user to paste different content than expected.)

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1750&gt;
GRASS GIS <http://grass.osgeo.org>

#1750: Typing '= in a WXGUI Command prompt results in a ValueError
-----------------------------+----------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: command console | Platform: Unspecified
      Cpu: Unspecified |
-----------------------------+----------------------------------------------
Changes (by annakrat):

  * keywords: => command console

Comment:

Fixed in r53298 and backported (r53299, r53300). Please close the ticket
after testing. About the copy and paste thing, I'm quite sure there is
already a ticket opened.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1750#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1750: Typing '= in a WXGUI Command prompt results in a ValueError
-----------------------------+----------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: command console | Platform: Unspecified
      Cpu: Unspecified |
-----------------------------+----------------------------------------------

Comment(by neteler):

Replying to [ticket:1750 marisn]:
> (Just a rant. AAAGH! When finally it will be possible to copy data from
command prompt and output pane WXGUI like in any other X11 app by simple
selection?!? Real pain as WXGUI is the only app ignoring this X11
principle and tricking user to paste different content than expected.)

I fully agree -that's to my knowledge a wxPython non-feature. See ticket
#1472.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1750#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1750: Typing '= in a WXGUI Command prompt results in a ValueError
--------------------------+-------------------------------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Resolution: fixed | Keywords: command console
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by annakrat):

  * status: new => closed
  * resolution: => fixed

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1750#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>