On 27/03/08 11:04, Martin Landa wrote:
Hi,
2008/3/27, Moritz Lennert <mlennert@club.worldonline.be>:
[snip]
However, I just can't get it to work:
I have
GRASS 6.3.svn (spearfish60):~ > v.db.connect -p roads
Vector map <roads@PERMANENT> is connected by:
layer <1> table <roads> in database
</home/mlennert/GRASS/DATA/spearfish60/PERMANENT/dbf/> through driver
<dbf> with key <cat>
Querying in display mode works as expected:
East: 596271.961722
North: 4924483.851675
Map: roads
Mapset: PERMANENT
Type: Line
Line: 51
Longueur: 1416.211362
couche: 1
catégorie: 3
Driver: dbf
Database: /home/mlennert/GRASS/DATA/spearfish60/PERMANENT/dbf/
Table: roads
Key column: cat
cat : 3
label : secondary highway, hard surface
But when I try to query it in edit mode, I get:
"No database record available"
strange, I used for testing also 'roads' from spearfish60, seems to work.
Is there a way to activate a "debug" mode in wxgrass to log what happens behind the screen ?
Also: probably the button's properties should be changed so that you can
click on it again directly to change from one mode to the other.
Currently you have to click on another button and then back on the query
button to change mode.
You don't need to change a tool, double-click on 'query' should show menu again.
Nope, doesn't work for me...
Moritz
Hi,
2008/3/27, Moritz Lennert <mlennert@club.worldonline.be>:
[snip]
Is there a way to activate a "debug" mode in wxgrass to log what happens
behind the screen ?
yes,
export GRASS_WX_DEBUG=[0-5]
you can combine with
export GRASS_DEBUG=[0-5]
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
On 27/03/08 14:12, Martin Landa wrote:
Hi,
2008/3/27, Moritz Lennert <mlennert@club.worldonline.be>:
[snip]
Is there a way to activate a "debug" mode in wxgrass to log what happens
behind the screen ?
yes,
export GRASS_WX_DEBUG=[0-5]
log attached.
export GRASS_DEBUG=[0-5]
I didn't see anything different with GRASS_DEBUG, however when I try with g.gisenv set=DEBUG=3, wxgrass freezes when I try to display a vector map. To reproduce: start wxgrass, display a vector map, set 'g.gisenv set=DEBUG=3', push on 'Re-render map' button.
Moritz
(attachments)
wxgrass_queryedit_log.txt (3.2 KB)
Hi.
2008/3/27, Moritz Lennert <mlennert@club.worldonline.be>:
I didn't see anything different with GRASS_DEBUG, however when I try
well, my fault, DEBUG variable exists only as gisenv variable not
environment variable.
with g.gisenv set=DEBUG=3, wxgrass freezes when I try to display a
vector map. To reproduce: start wxgrass, display a vector map, set
'g.gisenv set=DEBUG=3', push on 'Re-render map' button.
strange, I can confirm it. Now in my TODO list.
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *