Details Ticket 2936


Comment | Reply | Take | Open


Serial Number 2936
Subject d.barscale doesn't work
Area grass5.7
Queue grass
Requestors werchowyna@pf.pl
Owner none
Status resolved
Last User Contact Thu Feb 3 23:08:27 2005 (4 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed May 11 15:12:36 2005 (3 yr ago)
Created Mon Jan 24 23:53:54 2005 (4 yr ago)

Transaction History Ticket 2936


Mon, Jan 24 2005 23:53:54    Request created by guest  
Subject: d.barscale doesn't work

Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources
GRASS Version: grass-6.0.cvs_src_snapshot__2005_01_15

d.barscale doesn't display anything and says: "unable to open panel  No such
file or directory".

Details:

GRASS 6.0.cvs:~ > d.barscale -m
Left:  choose location
Middle: cancel

Left: choose location
Middle: cancel
Right: confirm location
unable to open panel  No such file or directory
GRASS 6.0.cvs:~ >

The same bug I have in grass53_exp_2004_11_20, grass57_exp_2004_12_18 (both from
source). Only in precompiled 5.03 it works fine.

My system: Mdk 10.1, gcc 3.3.4.

Maciek
Tue, Jan 25 2005 05:10:15    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 25 Jan 2005 17:09:59 +1300
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2936] (grass) d.barscale doesn't work
Message-Id <20050125170959.1ac5c304.hamish_nospam@yahoo.com>
In-Reply-To <20050124225354.98D31102BF9@lists.intevation.de>
References <20050124225354.98D31102BF9@lists.intevation.de>
X-Mailer Sylpheed version 1.0.0 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2936
> ------
>
> Subject: d.barscale doesn't work
> 
> d.barscale doesn't display anything and says: "unable to open panel 
> No such file or directory".
> 
> Details:
> 
> GRASS 6.0.cvs:~ > d.barscale -m
> Left:  choose location
> Middle: cancel
> 
> Left: choose location
> Middle: cancel
> Right: confirm location
> unable to open panel  No such file or directory
> GRASS 6.0.cvs:~ >
> 
> The same bug I have in grass53_exp_2004_11_20, grass57_exp_2004_12_18
> (both from source). Only in precompiled 5.03 it works fine.
> 
> My system: Mdk 10.1, gcc 3.3.4.


[works fine for me on Debian]

before drawing anything d.barscale saves a copy of the screen [with
R_panel_save()] to a temporary file. If you click the middle button for
"cancel" or reposition, it redraws the screen from this saved copy
[R_panel_restore()].


Are you sure that "unable to open panel  No such file or directory" is
exact? I can't find that error message.


does running:
g.tempfile pid=$$

seem to work correctly?


Hamish


Wed, Jan 26 2005 01:05:57    Mail sent by werchowyna@pf.pl  
Return-Path <werchowyna@pf.pl>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <007401c5033a$fbe7b4e0$42d21d3e@eustahiush>
From "Maciek Sieczka" <werchowyna@pf.pl>
To "Hamish via RT" <grass-bugs@intevation.de>
References <20050125041015.BA25F102BE8@lists.intevation.de>
Subject Re: [bug #2936] (grass) d.barscale doesn't work
Date Wed, 26 Jan 2005 00:35:42 +0100
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 0502-2, 2005-01-11), 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
From: "Hamish via RT" <grass-bugs@intevation.de>
Subject: [bug #2936] (grass) d.barscale doesn't work

>> GRASS 6.0.cvs:~ > d.barscale -m
>> Left:  choose location
>> Middle: cancel
>> 
>> Left: choose location
>> Middle: cancel
>> Right: confirm location
>> unable to open panel  No such file or directory
>> GRASS 6.0.cvs:~ >

> Are you sure that "unable to open panel  No such file or directory" is
> exact? I can't find that error message.

Yes, it is an EXACT copy/paste from the terminal output.

> does running:
> g.tempfile pid=$$
> 
> seem to work correctly?


After running g.tempfile pid=$$ I get:
/home/grassdata/caves92/PERMANENT/.tmp/localhost/3219.0
Is that what it should be?

Maciek


Mon, Jan 31 2005 05:54:47    Mail sent by hbowman  
> >> GRASS 6.0.cvs:~ > d.barscale -m
..
> >> unable to open panel  No such file or directory
..
> > Are you sure that "unable to open panel  No such file or directory"
> > is exact? I can't find that error message.
> 
> Yes, it is an EXACT copy/paste from the terminal output.

The only "unable to open panel" I could find was in
display/drivers/XDRIVER/XDRIVER24/Panel.c, but that is always "unable to open
panel file".
?

 
> > does running:
> > g.tempfile pid=$$
> > seem to work correctly?
> 
>  After running g.tempfile pid=$$ I get:
>  /home/grassdata/caves92/PERMANENT/.tmp/localhost/3219.0
>  Is that what it should be?

Yes, I wanted to check if your temporary directory was writeable.
Seems to be ok.


Do you see the same problem if you try from a newly created location & mapset?
Hamish
Thu, Feb 3 2005 10:56:42    Mail sent by paul-grass@stjohnspoint.co.uk  
Return-Path <paul-grass@stjohnspoint.co.uk>
Delivered-To grass-bugs@lists.intevation.de
Date Thu, 3 Feb 2005 09:56:38 +0000 (GMT)
From Paul Kelly <paul-grass@stjohnspoint.co.uk>
To Maciek Sieczka <werchowyna@pf.pl>
Cc grass-bugs@intevation.de, grass devel <grass5@grass.itc.it>
Subject Re: [GRASS5] Re: [bug #2936] (grass) d.barscale doesn't work (bis)
In-Reply-To <000901c5091a$fcf08cf0$03d21d3e@eustahiush>
Message-ID <Pine.LNX.4.60.0502030952090.15769@agrippa.ukshells.co.uk>
References <000901c5091a$fcf08cf0$03d21d3e@eustahiush>
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Wed, 2 Feb 2005, Maciek Sieczka wrote:

> just in case. Please read below. Could that bug be easily fixed? It brings
> troubles to all using EPSG codes in Grass.
>
[...]
>
> Yes - but only if creating a new location from EPSG code! And this way I
> found the reson that d.barscale doesn't work: the PROJ_INFO file syntax is
> different when a location is set up via the Grass interface and when
> automatically generated from EPSG code. See this:
>
> Via Grass set up:
>
> unit: meter
> units: meters
> meters: 1.0
>
> Automatic, from EPSG 2180:
>
> unit: metre
> units: metres
> meter: 1
>

Wow. What a long-standing bug you found---this has been in the automatic 
location generating code in r.in.gdal for 4 years and was propagated into 
the gproj library in 5.7. It should of course be meters: 1, not meter: 1.

I have fixed in CVS. Just goes to show how little-used PROJ_UNITS is I 
suppose.

Paul


Thu, Feb 3 2005 20:29:17    Status changed to resolved by pkelly  
Thu, Feb 3 2005 23:08:27    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Fri, 4 Feb 2005 11:08:07 +1300
From Hamish <hamish_nospam@yahoo.com>
To Paul Kelly <paul-grass@stjohnspoint.co.uk>
Cc werchowyna@pf.pl, grass-bugs@intevation.de, grass5@grass.itc.it
Subject Re: [GRASS5] Re: [bug #2936] (grass) d.barscale doesn't work (bis)
Message-Id <20050204110807.550927d3.hamish_nospam@yahoo.com>
In-Reply-To <Pine.LNX.4.60.0502030952090.15769@agrippa.ukshells.co.uk>
References <000901c5091a$fcf08cf0$03d21d3e@eustahiush> <Pine.LNX.4.60.0502030952090.15769@agrippa.ukshells.co.uk>
X-Mailer Sylpheed version 1.0.0 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> > Via Grass set up:
> >
> > unit: meter
> > units: meters
> > meters: 1.0
> >
> > Automatic, from EPSG 2180:
> >
> > unit: metre
> > units: metres
> > meter: 1
> >
> 
> Wow. What a long-standing bug you found---this has been in the
> automatic  location generating code in r.in.gdal for 4 years and was
> propagated into  the gproj library in 5.7. It should of course be
> meters: 1, not meter: 1.
> 
> I have fixed in CVS. Just goes to show how little-used PROJ_UNITS is I
> suppose.


does "unit: metre" vs "unit: meter" make a difference to anything?


can "meters: x" be set so it can used in Lat/Lon locations for scaling?
(realizing it will only be accutate on one axis)
1852.0*60



Hamish


Thu, Feb 3 2005 23:08:27    Status changed to open by _rt_system  
Wed, May 11 2005 15:12:36    Status changed to resolved by msieczka  
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