#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>
GRASS GIS <http://grass.osgeo.org>