Tue, Aug 23 2005
17:28:01
|
|
Request created by guest
|
|
Subject: v.to.db: check the database connection *first*
Platform: GNU/Linux/i386
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: cvs 23.08.05
Currently v.to.db checks the database connection in the final stage, after sometimes
a very long activity. It should do it at startup, so the user doesn't waste his
time waiting half an hour for the error message.
Maciek |
|
Tue, Aug 23 2005
18:01:00
|
|
Mail sent by mneteler
|
|
Please post the error message.
Markus |
|
Tue, Aug 23 2005
22:26:41
|
|
Mail sent by werchowyna@epf.pl
|
|
Return-Path |
<werchowyna@epf.pl>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<036e01c5a820$ce2a5db0$c2e41d3e@eustahiush>
|
From |
"Maciek Sieczka" <werchowyna@epf.pl>
|
To |
"Markus Neteler via RT" <grass-bugs@intevation.de>
|
Cc |
"Markus Neteler" <neteler@itc.it>
|
References |
<20050823160100.A77E81006A1@lists.intevation.de>
|
Subject |
Re: [bug #3563] (grass) v.to.db: check the database connection *first*
|
Date |
Tue, 23 Aug 2005 22:24:37 +0200
|
MIME-Version |
1.0
|
Content-Type |
text/plain; format=flowed; charset="iso-8859-2"; reply-type=original
|
Content-Transfer-Encoding |
7bit
|
X-Priority |
3
|
X-MSMail-Priority |
Normal
|
X-Mailer |
Microsoft Outlook Express 6.00.2900.2180
|
X-MimeOLE |
Produced By Microsoft MimeOLE V6.00.2900.2180
|
X-Antivirus |
avast! (VPS 0528-4, 2005-07-14), Outbound message
|
X-Antivirus-Status |
Clean
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
I'll reproduce and post it tomorrow.
Maciek
|
|
Wed, Aug 24 2005
11:53:05
|
|
Mail sent by msieczka
|
|
Update: this issue applies only to layers other than 1.
Everything step by step:
1. I have a vector point file:
GRASS 6.1.cvs (caves_utm33):~ > v.info melio_poz_clear_pt
+----------------------------------------------------------------------------+
| Layer: melio_poz_clear_pt Organization:
| Mapset: melio Source Date:
| Location: caves_utm33 Name of creator:
| Database: /home/grassdata
| Title:
| Map Scale: 1:1
| Map format: native
|----------------------------------------------------------------------------|
| Type of Map: Vector (level: 2)
|
| Number of points: 164541 Number of areas: 0
| Number of lines: 0 Number of islands: 0
| Number of boundaries: 0 Number of faces: 0
| Number of centroids: 0 Number of kernels: 0
|
| Map is 3D: 0
| Number of dblinks: 0
|
| Projection: Universe Transverse Mercator (zone 33)
| N: 5687659.864 S: 5676398.922
| E: 602735.341 W: 593424.646
| B: 0.000 T: 0.000
|
| Digitize threshold: 0.00000
| Comments:
|
+----------------------------------------------------------------------------+
2. as you see no dblinks specified - but - "I don't know it yet"
3. v.to.db map=melio_poz_clear_pt type=point layer=2 option=cat column=CAT
4. it takes 8 precious minutes (Athlon 3200, 1 GB DualChannel RAM), before I'm
told:
GRASS_INFO_ERROR(30688,1): Database connection not defined for layer <2>. Use
v.db.connect first.
Interestingely, the same operation on layer 1, also with no database
connection, results in an immediate error information. My point is it should
be the same for other layers to save the users time. Thanks.
Maciek |
|
Wed, Aug 24 2005
11:53:39
|
|
Area changed to grass6.1 by msieczka
|
|
Wed, Aug 24 2005
11:59:29
|
|
Mail sent by neteler@itc.it
|
|
Return-Path |
<neteler@itc.it>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Wed, 24 Aug 2005 11:59:22 +0200
|
From |
Markus Neteler <neteler@itc.it>
|
To |
Maciek Sieczka via RT <grass-bugs@intevation.de>
|
Subject |
Re: [bug #3563] (grass) v.to.db: check the database connection *first*
|
Message-ID |
<20050824095922.GH8509@thuille.itc.it>
|
References |
<20050824095305.AF87D101FA4@lists.intevation.de>
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Disposition |
inline
|
In-Reply-To |
<20050824095305.AF87D101FA4@lists.intevation.de>
|
User-Agent |
Mutt/1.4.1i
|
X-PGP-Key |
http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
On Wed, Aug 24, 2005 at 11:53:05AM +0200, Maciek Sieczka via RT wrote:
> Update: this issue applies only to layers other than 1.
>
> Everything step by step:
>
> 1. I have a vector point file:
>
> GRASS 6.1.cvs (caves_utm33):~ > v.info melio_poz_clear_pt
> +----------------------------------------------------------------------------+
> | Layer: melio_poz_clear_pt Organization:
> | Mapset: melio Source Date:
> | Location: caves_utm33 Name of creator:
> | Database: /home/grassdata
> | Title:
> | Map Scale: 1:1
> | Map format: native
> |----------------------------------------------------------------------------|
> | Type of Map: Vector (level: 2)
> |
> | Number of points: 164541 Number of areas: 0
> | Number of lines: 0 Number of islands: 0
> | Number of boundaries: 0 Number of faces: 0
> | Number of centroids: 0 Number of kernels: 0
> |
> | Map is 3D: 0
> | Number of dblinks: 0
> |
> | Projection: Universe Transverse Mercator (zone 33)
> | N: 5687659.864 S: 5676398.922
> | E: 602735.341 W: 593424.646
> | B: 0.000 T: 0.000
> |
> | Digitize threshold: 0.00000
> | Comments:
> |
> +----------------------------------------------------------------------------+
>
> 2. as you see no dblinks specified - but - "I don't know it yet"
>
> 3. v.to.db map=melio_poz_clear_pt type=point layer=2 option=cat column=CAT
>
> 4. it takes 8 precious minutes (Athlon 3200, 1 GB DualChannel RAM), before
I'm
> told:
>
> GRASS_INFO_ERROR(30688,1): Database connection not defined for layer <2>. Use
> v.db.connect first.
I have added (yesterday) such a test at the very beginning. It should
stop immediately now - please test.
>
> Interestingely, the same operation on layer 1, also with no database
> connection, results in an immediate error information. My point is it should
> be the same for other layers to save the users time. Thanks.
I hope that it is resolved now.
Markus
|
|
Thu, Aug 25 2005
12:32:49
|
|
Mail sent by msieczka
|
|
I don't want to mess with my Grass instalation right now, will check in few days.
Thanks,
Maciek |
|
Wed, Aug 31 2005
20:56:18
|
|
Area changed to grass6 by mneteler
|
|
Wed, Aug 31 2005
20:56:44
|
|
Mail sent by mneteler
|
|
I think that I solved the problem. Do you agree?
markus |
|
Wed, Aug 31 2005
21:42:55
|
|
Status changed to resolved by mneteler
|
|
Wed, Aug 31 2005
21:45:59
|
|
Mail sent by werchowyna@epf.pl
|
|
Return-Path |
<werchowyna@epf.pl>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<016001c5ae64$728ea200$efe41d3e@eustahiush>
|
From |
"Maciek Sieczka" <werchowyna@epf.pl>
|
To |
"Markus Neteler via RT" <grass-bugs@intevation.de>
|
References |
<20050831185644.38BDA1005AD@lists.intevation.de>
|
Subject |
Re: [bug #3563] (grass) v.to.db: check the database connection *first*
|
Date |
Wed, 31 Aug 2005 21:44:46 +0200
|
MIME-Version |
1.0
|
Content-Type |
text/plain; format=flowed; charset="iso-8859-2"; reply-type=original
|
Content-Transfer-Encoding |
7bit
|
X-Priority |
3
|
X-MSMail-Priority |
Normal
|
X-Mailer |
Microsoft Outlook Express 6.00.2900.2180
|
X-MimeOLE |
Produced By Microsoft MimeOLE V6.00.2900.2180
|
X-Antivirus |
avast! (VPS 0528-4, 2005-07-14), Outbound message
|
X-Antivirus-Status |
Clean
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
I haven't checked out CVS for quite a while. If you are sure v.this bug in
v.to.db is fixed now please close it.
Thanks,
Maciek
|
|
Wed, Aug 31 2005
21:45:59
|
|
Status changed to open by _rt_system
|
|
Wed, Aug 31 2005
21:51:44
|
|
Status changed to resolved by mneteler
|
|