Opened 16 years ago
Closed 8 years ago
#523 closed defect (worksforme)
wxGUI: querying a vector map in edit mode does nothing
Reported by: | msieczka | Owned by: | martinl |
---|---|---|---|
Priority: | major | Milestone: | 6.4.6 |
Component: | Translations | Version: | svn-develbranch6 |
Keywords: | Cc: | grass-dev@… | |
CPU: | All | Platform: | All |
Description
- Load a vector map.
- Zoom to it.
- Query the map in "edit mode" - nothing happens. In vdigit query and editing works.
SVN r36231.
Change History (18)
follow-ups: 2 3 comment:1 by , 16 years ago
follow-up: 5 comment:2 by , 16 years ago
Replying to martinl:
Seems to work for me. Can you post NC-based example?
Martin
grass64rc3-3 (osgeo4w) - win vista data nc-spm
g.copy vect=lakes@PERMANENT,test
loading test in wx-gis-map-display
querying test map in edit mode => window for update attributes pop up
but submit a change for example in the field "FTYPE" (character) from RESERVOIR to DAM
then following error message:
Traceback (most recent call last):
File "C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gu
i_modules\dbm.py", line 3101, in OnSubmit
"input=%s" % sqlFile.name])
File "C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gu
i_modules\gcmd.py", line 355, in init
_("Error: ") + self.GetError())) gui_modules.gcmd . CmdError
Helmut
follow-up: 6 comment:3 by , 16 years ago
Replying to martinl:
Seems to work for me. Can you post NC-based example?
Seems translation-related issue. I can reproduce it for any vector map, but *only in Polish translation*. After "export LC_ALL=C" works fine.
Spearfish example:
- start GRASS
- add "streams" vector map
- select it, "Zoom to selected map"
- in "Map display" window: "Query raster/vector maps" > "Query vector map (edit mode)"
- left click a line on the map display - nothing happens
Querying vectors works fine though in "display mode" even in Polish translation.
Reminds me of http://trac.osgeo.org/grass/ticket/427#comment:5. Are there more such issues possible?
comment:4 by , 16 years ago
I found this which looks suspicious:
#: ../gui/wxpython/gui_modules/mapdisp.py:163 msgid "Render" -msgstr "_Renderuj" +msgstr "Renderuj"
Could you fix that locally and regenerate the mo file?
Markus
comment:5 by , 16 years ago
Replying to hellik:
Traceback (most recent call last):
File "C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gu
i_modules\dbm.py", line 3101, in OnSubmit
"input=%s" % sqlFile.name])
File "C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gu
i_modules\gcmd.py", line 355, in init
_("Error: ") + self.GetError())) gui_modules.gcmd . CmdError
Fixed in r36377.
follow-up: 10 comment:6 by , 16 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
follow-up: 9 comment:8 by , 16 years ago
comment:9 by , 16 years ago
Replying to martinl:
Replying to msieczka:
In r36380 the problem is still not fixed.
export LC_ALL=pl_PL.utf8 grass65
- add vector, zoom, query in edit mode
works
True :). However, without explicit "export LC_ALL=pl_PL.utf8" it still doesn't.
My default locale settings are:
$ locale LANG=pl_PL.UTF-8 LC_CTYPE="pl_PL.UTF-8" LC_NUMERIC="pl_PL.UTF-8" LC_TIME="pl_PL.UTF-8" LC_COLLATE="pl_PL.UTF-8" LC_MONETARY="pl_PL.UTF-8" LC_MESSAGES="pl_PL.UTF-8" LC_PAPER="pl_PL.UTF-8" LC_NAME="pl_PL.UTF-8" LC_ADDRESS="pl_PL.UTF-8" LC_TELEPHONE="pl_PL.UTF-8" LC_MEASUREMENT="pl_PL.UTF-8" LC_IDENTIFICATION="pl_PL.UTF-8" LC_ALL=
comment:10 by , 16 years ago
Replying to martinl:
Seems translation-related issue. I can reproduce it for any vector map, but *only in Polish translation*. After "export LC_ALL=C" works fine.
yes, it's problem with v.what. Temporally fixed in r36378.
Not really; see comment:9. It also needs to set LC_MESSAGES.
BTW, the GUI should leave os.environ alone; pass env=... to Popen() to control the environment for child processes.
v.what should have script-style output which is not based on used locales.
Agreed. Setting LC_MESSAGES is overkill (LC_ALL more so), as it will also affect error messages meant for the user.
comment:11 by , 15 years ago
Component: | wxGUI → Translations |
---|
It's not clear whether this is fixed or not. But in either case, it is not a GUI problem but a problem with translations and and how they interact with grass modules like v.what. I'm changing the component to "translations". Maybe someone with another localization can see if it is fixed or not.
Michael
follow-up: 13 comment:12 by , 12 years ago
Asking the reporter, is this ticket still relevant to the recent version - 6.4.3svn?
comment:13 by , 11 years ago
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Replying to martinl:
Asking the reporter, is this ticket still relevant to the recent version - 6.4.3svn?
As there has been no response for 10 months, I'm closing this ticket.
Moritz
comment:14 by , 11 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Please confirm bugs as fixed before closing them.
thanks, Hamish
comment:15 by , 11 years ago
This was for 6.4.0 where wxgui was still an infant. Much of the layer interrogation features has significantly changed since then.
I cannot reproduce these issues on Debian GNU/Linux (in GRASS7 there is no interactive editing of attributes outside the digitiser, AFAIK).
Can someone test on Windows ?
Moritz
comment:16 by , 9 years ago
Milestone: | 6.4.0 → 6.4.6 |
---|
comment:17 by , 8 years ago
Again, no response since over 3 years, so I would propose to close this.
comment:18 by , 8 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
Seems to work for me. Can you post NC-based example?
Martin