Hi,
it does not work even in command line:
I started grass without GUI (with -text option)
....

GRASS 6.4.0RC5 (cr-sjtsk):~ > g.proj -c proj4="+proj=krovak   +a=6377397.155
+rf=299.1528128 +dx=653 +dy=-212 +dz=449 +no_defs
+towgs84=570.8,85.7,462.8,4.998,1.587,5.261,3.56" location=test
ERROR: region for current mapset is not set
       run "g.region"
GRASS 6.4.0RC5 (cr-sjtsk):~ >
....

So it seems that it is g.proj trouble...
If you need more testing, let me know...

Ondrej

--
Institute of Petrology and Structural Geology
Faculty of Science, Charles University
Albertov 6, 128 43 Praha, Czech Republic
mailto:l...@natur.cuni.cz  tel.:+420 22195 1523
http://petrol.natur.cuni.cz/~ondro
http://www.researcherid.com/rid/B-7264-2008


On Sat, Sep 26, 2009 at 11:01 AM, Markus Neteler <nete...@osgeo.org> wrote:

> On command line this works for me (Mandriva):
>
> g.proj -c proj4="+proj=krovak   +a=6377397.155 +rf=299.1528128 +dx=653
> +dy=-212 +dz=449 +no_defs +towgs84=570.8,85.7,462.8,4.998,1.587,5.261,3.56"
> location=test
> Location test created!
>
> Can you please try this as well? We have to understand if it is a g.proj
> problem or a GUI problem.
>
> --
> grass location wizard failed to create location
> https://bugs.launchpad.net/bugs/435177
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “grass” package in Ubuntu: New
>
> Bug description:
> Binary package hint: grass
>
> Using Location wizard in wx gui od grass I've got this error
>
> /usr/lib/grass64/etc/wxpython/gui_modules/gcmd.py:63: DeprecationWarning:
> BaseException.message has been deprecated as of Python 2.6
>  self.message = message
> Traceback (most recent call last):
>  File "/usr/lib/grass64/etc/wxpython/gis_set.py", line 404, in OnWizard
>    gWizard = location_wizard.LocationWizard(self,
> self.tgisdbase.GetValue())
>  File "/usr/lib/grass64/etc/wxpython/gui_modules/location_wizard.py", line
> 1742, in __init__
>    success = self.OnWizFinished()
>  File "/usr/lib/grass64/etc/wxpython/gui_modules/location_wizard.py", line
> 1901, in OnWizFinished
>    success = self.Proj4Create(proj4string)
>  File "/usr/lib/grass64/etc/wxpython/gui_modules/location_wizard.py", line
> 2031, in Proj4Create
>    p = gcmd.Command(cmdlist, stderr=None)
>  File "/usr/lib/grass64/etc/wxpython/gui_modules/gcmd.py", line 358, in
> __init__
>    _("Error: ") + self.GetError()))
> gui_modules.gcmd.CmdError/usr/lib/grass64/etc/wxpython/gui_modules/gcmd.py:70:
> DeprecationWarning: BaseException.message has been deprecated as of Python
> 2.6
>  message=self.message,
>
> and created location was corrupted, i.e. region was not set...
>
> Execution failed: 'g.proj -c proj4=+proj=krovak   +a=6377397.155
> +rf=299.1528128 +dx=653 +dy=-212 +dz=449 +no_defs
> +towgs84=570.8,85.7,462.8,4.998,1.587,5.261,3.56 location=test'
>
> Details:
> Error: region for current mapset is not setrun "g.region"
>
> Description:    Ubuntu karmic (development branch)
> Release:        9.10
> package: grass-6.4.0~rc5-1 (karmic)
>

-- 
grass location wizard failed to create location
https://bugs.launchpad.net/bugs/435177
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to