Details Ticket 4033


Comment | Reply | Take | Open


Serial Number 4033
Subject v.to.db, GUI: output corrupted
Area grass6
Queue grass
Requestors werchowyna@epf.pl
Owner none
Status resolved
Last User Contact Thu Jan 26 04:34:20 2006 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Fri Jun 23 22:07:20 2006 (2 yr ago)
Created Tue Jan 24 12:22:36 2006 (3 yr ago)

Transaction History Ticket 4033


Tue, Jan 24 2006 12:22:36    Request created by guest  
Subject: v.to.db, GUI: output corrupted

Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: cvs 2005.01.10

Please see how the output of v.to.db in GUI differs from it's output in CLI.
CLI output looks OK, GUI is mixed up. Sorry this email is long, but this error
doesn't pop up when querying shorter columns. However, when such shorter columns
are queried, surprisingly the v.to.db status report in GUI is given at the beginning,
while in CLI at the end of command output. Maybe this is the reason the output
get's corrupted in GUI when querying longer columns?



GUI - see how the query is interrupted in it's last lines with the program status
report:

v.to.db map=rogow_parcels_01 type=point,line,boundary,centroid layer=1 qlayer=1
option=query column=CODE qcolumn=CODE -p 
Reading data trom the map ... 

Querying database ... 

cat|query
-1|-
1|             26
2|             26
3|             28
4|             29
5|             26
6|             26
7|             12
8|             27
9|             26
10|             26
11|             26
12|             26
13|             36
14|             32
15|             26
70|             18
17|             26
16|             27
213|             26
18|             17
19|             10
20|             19
21|             19
22|             33
23|              9
24|             24
25|             20
26|             26
27|             31
28|             25
29|             35
30|              9
31|            666
32|              1
33|             24
34|             24
35|             24
36|              1
37|              9
38|              9
39|             25
40|             25
41|             31
42|              6
43|             24
44|             20
45|             27
46|             27
47|             24
48|             19
49|             23
50|             22
51|             27
52|             12
53|             29
54|             25
55|             24
56|             25
57|             27
58|             14
59|             14
60|              8
61|              9
62|             32
63|              7
64|             25
65|              4
66|            666
67|             13
68|             13
69|             30
71|            666
72|             30
73|              3
74|             32
75|            666
76|             25
77|             25
78|              3
79|             26
80|            666
81|            666
82|             26
83|             26
84|              9
85|             12
86|             12
87|              4
88|             26
89|             26
90|              7
91|              7
92|              3
93|             32
94|              7
95|              7
96|              7
97|             32
98|              7
99|              9
100|              9
101|              9
102|              9
103|             20
104|             20
105|             20
106|             20
107|             27
108|             27
109|             27
110|             27
111|             27
112|             25
113|             27
114|             27
115|             27
116|             25
117|             25
118|             25
119|             27
120|             27
121|             27
122|             27
123|             26
124|             16
125|             31
126|             27
127|             27
128|             27
129|             27
130|             16
131|             16
132|             27
133|             16
134|             27
135|             16
136|             27
137|             27
138|             27
139|             27
140|             31
141|             25
142|             26
143|             27
144|             31
145|             26
146|             31
147|              2
148|             26
149|             31
150|             31
151|             31
152|             31
153|             31
154|             31
155|             31
156|             31
157|             27
158|             34
159|             27
160|             25
161|             34
162|             15
163|             25
164|             25
165|             25
166|             27
167|             25
168|             25
169|             27
170|             34
171|             11
172|             11
173|             17
174|              5
175|             15
176|              5
177|              5
178|              5
179|              5
180|              5
181|              5
182|              5
183|              5
184|              5
185|             26
186|             26
187|             26
188|             26
189|             26
190|             26
191|             26
192|             32
193|             22
194|             22
195|             26
196|             21
197|             27
198|             32
199|             22
200|             27
201|             27
202|             32
203|             27
204|             27
205|             27
206|             27
207|             27
208|             27
209|     214 categories read from map
0 records selected from table
0 categories read from map exist in selection from table
0 categories read from map don't exist in selection from table
0 records updated/inserted
0 update/insert errors
        27
210|             27
211|             27
212|             27

--- then end of GUI output ---




CLI - all looks OK here:

GRASS 6.1.cvs (caves_utm33):~ > v.to.db map=rogow_parcels_01 type=point,line,boundary,centroid
layer=1 qlayer=1 option=query column=CODE qcolumn=CODE -p
Reading data trom the map ...  100%
Querying database ...  100%
cat|query
-1|-
1|             26
2|             26
3|             28
4|             29
5|             26
6|             26
7|             12
8|             27
9|             26
10|             26
11|             26
12|             26
13|             36
14|             32
15|             26
70|             18
17|             26
16|             27
213|             26
18|             17
19|             10
20|             19
21|             19
22|             33
23|              9
24|             24
25|             20
26|             26
27|             31
28|             25
29|             35
30|              9
31|            666
32|              1
33|             24
34|             24
35|             24
36|              1
37|              9
38|              9
39|             25
40|             25
41|             31
42|              6
43|             24
44|             20
45|             27
46|             27
47|             24
48|             19
49|             23
50|             22
51|             27
52|             12
53|             29
54|             25
55|             24
56|             25
57|             27
58|             14
59|             14
60|              8
61|              9
62|             32
63|              7
64|             25
65|              4
66|            666
67|             13
68|             13
69|             30
71|            666
72|             30
73|              3
74|             32
75|            666
76|             25
77|             25
78|              3
79|             26
80|            666
81|            666
82|             26
83|             26
84|              9
85|             12
86|             12
87|              4
88|             26
89|             26
90|              7
91|              7
92|              3
93|             32
94|              7
95|              7
96|              7
97|             32
98|              7
99|              9
100|              9
101|              9
102|              9
103|             20
104|             20
105|             20
106|             20
107|             27
108|             27
109|             27
110|             27
111|             27
112|             25
113|             27
114|             27
115|             27
116|             25
117|             25
118|             25
119|             27
120|             27
121|             27
122|             27
123|             26
124|             16
125|             31
126|             27
127|             27
128|             27
129|             27
130|             16
131|             16
132|             27
133|             16
134|             27
135|             16
136|             27
137|             27
138|             27
139|             27
140|             31
141|             25
142|             26
143|             27
144|             31
145|             26
146|             31
147|              2
148|             26
149|             31
150|             31
151|             31
152|             31
153|             31
154|             31
155|             31
156|             31
157|             27
158|             34
159|             27
160|             25
161|             34
162|             15
163|             25
164|             25
165|             25
166|             27
167|             25
168|             25
169|             27
170|             34
171|             11
172|             11
173|             17
174|              5
175|             15
176|              5
177|              5
178|              5
179|              5
180|              5
181|              5
182|              5
183|              5
184|              5
185|             26
186|             26
187|             26
188|             26
189|             26
190|             26
191|             26
192|             32
193|             22
194|             22
195|             26
196|             21
197|             27
198|             32
199|             22
200|             27
201|             27
202|             32
203|             27
204|             27
205|             27
206|             27
207|             27
208|             27
209|             27
210|             27
211|             27
212|             27
214 categories read from map
0 records selected from table
0 categories read from map exist in selection from table
0 categories read from map don't exist in selection from table
0 records updated/inserted
0 update/insert errors

--- then end of CLI output ---



Maciek
Thu, Jan 26 2006 04:34:20    Mail sent by dca.gis@gmail.com  
Return-Path <dca.gis@gmail.com>
Delivered-To grass-bugs@lists.intevation.de
DomainKey-Signature a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iG5ETVgu1HUVyNt6tJRodIHzpDGs2Qjjrw5JJ3icpTat0c6Wn0z18ewp7OlQtCcPMaJywrW5yK5gVQT0smNouDvKDxCE8ftNGKvj23/zLOsJ5/28MckmTv+NF3lD0JdIrDAvU2qqTtDDktGDKiQpHwvM5c1047ygWIq8GmtEn7o=
Message-ID <1a486f560601251934y6bc44154v6296cbc22b30f4c2@mail.gmail.com>
Date Wed, 25 Jan 2006 22:34:15 -0500
From Daniel Calvelo <dca.gis@gmail.com>
To Request Tracker <grass-bugs@intevation.de>
Subject Re: [GRASS5] [bug #4033] (grass) v.to.db, GUI: output corrupted
Cc grass5@grass.itc.it
In-Reply-To <20060124112236.F33241005AA@lists.intevation.de>
MIME-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Content-Disposition inline
References <20060124112236.F33241005AA@lists.intevation.de>
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Certainly stdout and stderr being flushed differently.

[Maciek]
> Please see how the output of v.to.db in GUI differs from it's output in C=
LI. CLI output looks OK, GUI is mixed up. Sorry this email is long, but thi=
s error doesn't pop up when querying shorter columns. However, when such sh=
orter columns are queried, surprisingly the v.to.db status report in GUI is=
given at the beginning, while in CLI at the end of command output. Maybe t=
his is the reason the output get's corrupted in GUI when querying longer co=
lumns?

-- Daniel Calvelo Aros


Fri, Jun 23 2006 22:07:20    Status changed to resolved by mbarton  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request