[GRASS5] [bug #4033] (grass) v.to.db, GUI: output corrupted

Request Tracker grass-bugs at intevation.de
Tue Jan 24 06:22:36 EST 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=4033
-------------------------------------------------------------------------

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

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list