[GRASS-dev] Re: [GRASS GIS] #1032: ErrorCommandExecution g.proj
GRASS GIS
trac at osgeo.org
Mon Jul 5 15:08:13 EDT 2010
#1032: ErrorCommandExecution g.proj
-----------------------+----------------------------------------------------
Reporter: sallar | Owner: grass-dev@…
Type: defect | Status: closed
Priority: critical | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Resolution: fixed | Keywords: g.proj
Platform: Linux | Cpu: x86-32
-----------------------+----------------------------------------------------
Changes (by mmetz):
* status: new => closed
* resolution: => fixed
Comment:
Replying to [comment:5 sallar]:
I see two possibly unrelated problems here, fist is with wxGUI reading a
corrupt preferences file, second is g.proj itself. About the first:
> Replying to [comment:3 hamish]:
> > could you run with DEBUG level set to 5?
> > g.gisenv set="DEBUG=5"
>
> ok, I set the debug level to 5! then....
>
> > could you post a gdb backtrace?
> > http://grass.osgeo.org/wiki/Bugs#Using_GDB
> >
>
{{{
> GRASS 6.4.0RC6 (PIT):~ > gdb g.gui
> GNU gdb 6.8-debian
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
> and "show warranty" for details.
> This GDB was configured as "i486-linux-gnu"...
> (gdb) run
> Starting program: /usr/local/grass-6.4.0RC6/bin/g.gui
> D1/5: Attempting to start 'wxpython' GUI ...
> Error: Reading settings from file </home/sam/.grasswx6> failed.
> Details: need more than 1 value to unpack
> Line: 'profile:raster2:pstyle:solid:pwidth:1:pcolor:(0, 255, 0,
255)'
> Error: Reading settings from file </home/sam/.grasswx6> failed.
> Details: need more than 1 value to unpack
> Line: 'profile:raster2:pstyle:solid:pwidth:1:pcolor:(0, 255, 0,
255)'
}}}
>
>
In the file /home/sam/.grasswx6, delete the lines reading
profile:raster2:pstyle:solid:pwidth:1:pcolor:(0, 255, 0, 255)
and
profile:raster2:pstyle:solid:pwidth:1:pcolor:(0, 255, 0, 255)
The format of .grasswx6 has changed some time ago, entries are now
separated by ';' and not by ':', color entries must be e.g. 0:255:0 and
not (0, 255, 0, 255). The wxGUI can't read color settings like (0, 255, 0,
255) although it sometimes writes them as such.
About g.proj itself, this has been fixed some time ago. Last week I have
installed a recent grass6.4 svn snapshot on various Linux (various
distros) and Windows (XP, Vixta, 7) machines and it worked everywhere.
I close this ticket as fixed because last week I have witnessed successful
tests with g.proj on 30+ different systems.
Markus M
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1032#comment:20>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list