Details Ticket 4605


Comment | Reply | Open


Serial Number 4605
Subject v.patch: 'Cannot open old vector ... on level 2'
Area grass6
Queue grass
Requestors tutey@o2.pl
Owner mlanda
Status resolved
Last User Contact Thu Feb 22 14:12:57 2007 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Thu Feb 22 14:13:02 2007 (2 yr ago)
Created Wed Jun 14 15:58:17 2006 (2 yr ago)

Transaction History Ticket 4605


Wed, Jun 14 2006 15:58:17    Request created by guest  
Subject: v.patch: 'Cannot open old vector ... on level 2'

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006-05-23

1 of the 2 vectors I wanted to v.patch was open in v.digit.

v.patch issued an error:

"Cannot open old vector cieki05_2zl@melio2 on level 2"

Why is it saying "old vector"? It should be just "vector".

Is it a symptom of some error in v.patch code?

Maciek
Wed, Jun 14 2006 16:43:30    Comments added by guest  
I've found the same message in other instances, even when I was only trying to
render a vector. If I recalled right was with both vector and raster maps. My
interpretation was that I was doing something wrong. Were you opening a map
residing in other mapset?
Wed, Jun 14 2006 17:18:23    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Wed, 14 Jun 2006 17:18:15 +0200
From Markus Neteler <neteler@itc.it>
To Request Tracker <grass-bugs@intevation.de>
Cc grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #4605] (grass) v.patch: 'Cannot open old vector ... on level 2'
Message-ID <20060614151815.GA27829@bartok.itc.it>
Mail-Followup-To Request Tracker <grass-bugs@intevation.de>, grass-dev@grass.itc.it
References <20060614135817.9C9251006A4@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <20060614135817.9C9251006A4@lists.intevation.de>
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-PGP-Fingerprint D4D5 2F80 120E AD60 E2F6 2297 21B3 D02B E1E7 E789
User-Agent Mutt/1.5.11
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Wed, Jun 14, 2006 at 03:58:17PM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4605
> -------------------------------------------------------------------------
> 
> Subject: v.patch: 'Cannot open old vector ... on level 2'
> 
> Platform: GNU/Linux/x86
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> GRASS Version: 2006-05-23
> 
> 1 of the 2 vectors I wanted to v.patch was open in v.digit.
> 
> v.patch issued an error:
> 
> "Cannot open old vector cieki05_2zl@melio2 on level 2"
> 
> Why is it saying "old vector"? It should be just "vector".

I would suggest:

 "Cannot open existing vector map <cieki05_2zl@melio2> on level 2"

 
> Is it a symptom of some error in v.patch code?

In this case the map cieki05_2zl@melio2 seems to lack topology for
whatever reason.

Markus


Thu, Jun 29 2006 09:14:50    Mail sent by msieczka  
Maciek wrote:

>> "Cannot open old vector cieki05_2zl@melio2 on level 2"
>> 
>> Why is it saying "old vector"? It should be just "vector".

Markus wrote:

> I would suggest:
>
> "Cannot open existing vector map <cieki05_2zl@melio2> on level 2"

That's be more informative indeed. "old vector" doesn't fit.

>> Is it a symptom of some error in v.patch code?

> In this case the map cieki05_2zl@melio2 seems to lack topology for
> whatever reason.

Yes, it lacks topology and I know this, as I wrote in the report: "1 of the 2
vectors I wanted to v.patch was open in v.digit". This is not a problem (my
fault trying to patch a vector being open in v.digit). The only problem I'm
reporting here is that a wrong error information is issued by v.patch in such
case - mentioning some "old vector". And above you have proposed a good
replacement for the message. Would be cool if could be applied.

Thanks.

Maciek
Fri, Jul 7 2006 17:01:34    Mail sent by guest  
Hi,

I think that I have applied it. Can you confirm?

Markus
Mon, Jul 10 2006 14:22:24    Mail sent by msieczka  
guest wrote (Fri, Jul 7 2006 17:01:34):

> Hi,
> 
> I think that I have applied it. Can you confirm?

It is not fixed I'm affraid.

Today's CVS:

$ g.list vect
----------------------------------------------
vector files available in mapset srtm_bil:
first  second

$ v.digit first&

$ v.patch in=first,second out=third
ERROR: Cannot open old vector first@srtm_bil on level 2

       ^^^
       Should be sth like:
       "Cannot open existing vector <first@srtm_bil> on level 2"
       As you suggested in your previous message.

Maciek
Wed, Jul 26 2006 18:44:54    User changed to tutey@o2.pl by msieczka  
Thu, Feb 22 2007 14:02:13    Taken by mlanda  
Thu, Feb 22 2007 14:12:57    Mail sent by mlanda  
Fixed in CVS. Closing it.
Thu, Feb 22 2007 14:13:02    Status changed to resolved by mlanda  
Comment | Reply | 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