Output is:
GRASS 6.4.0RC5 (test):~ > g.region -p
ERROR: default region is invalid
<north field missing>
GRASS 6.4.0RC5 (test):~ >
of course I could set it manually to fix it. But there should be default
region once location is created. Moreover within location there are no
PROJ_INFO, PROJ_UNITS and WIND files created. Only DEFAULT_WIND (with
strange content... only two lines proj: 99 and zone: 0)
On Tue, Sep 29, 2009 at 1:17 PM, Markus Neteler <email address hidden> wrote:
> Since "ERROR: region for current mapset is not set" you seem to have a
> broken mapset/Location.
>
> Please run "g.region" as suggestion, e.g.
>
> g.region -p
>
> What's the output?
>
> --
> 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)
>
Output is:
GRASS 6.4.0RC5 (test):~ > g.region -p
ERROR: default region is invalid
<north field missing>
GRASS 6.4.0RC5 (test):~ >
of course I could set it manually to fix it. But there should be default
region once location is created. Moreover within location there are no
PROJ_INFO, PROJ_UNITS and WIND files created. Only DEFAULT_WIND (with
strange content... only two lines proj: 99 and zone: 0)
Ondrej petrol. natur.cuni. cz/~ondro www.researcheri d.com/rid/ B-7264- 2008
--
Institute of Petrology and Structural Geology
Faculty of Science, Charles University
Albertov 6, 128 43 Praha, Czech Republic
mailto:<email address hidden> tel.:+420 22195 1523
http://
http://
On Tue, Sep 29, 2009 at 1:17 PM, Markus Neteler <email address hidden> wrote:
> Since "ERROR: region for current mapset is not set" you seem to have a /bugs.launchpad .net/bugs/ 435177 grass64/ etc/wxpython/ gui_modules/ gcmd.py: 63: DeprecationWarning: message has been deprecated as of Python 2.6 grass64/ etc/wxpython/ gis_set. py", line 404, in OnWizard wizard. LocationWizard( self, GetValue( )) grass64/ etc/wxpython/ gui_modules/ location_ wizard. py", line hed() grass64/ etc/wxpython/ gui_modules/ location_ wizard. py", line e(proj4string) grass64/ etc/wxpython/ gui_modules/ location_ wizard. py", line cmdlist, stderr=None) grass64/ etc/wxpython/ gui_modules/ gcmd.py" , line 358, in gcmd.CmdError/ usr/lib/ grass64/ etc/wxpython/ gui_modules/ gcmd.py: 70: message has been deprecated as of Python self.message, 570.8,85. 7,462.8, 4.998,1. 587,5.261, 3.56 location=test'
> broken mapset/Location.
>
> Please run "g.region" as suggestion, e.g.
>
> g.region -p
>
> What's the output?
>
> --
> grass location wizard failed to create location
> https:/
> 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/
> BaseException.
> self.message = message
> Traceback (most recent call last):
> File "/usr/lib/
> gWizard = location_
> self.tgisdbase.
> File "/usr/lib/
> 1742, in __init__
> success = self.OnWizFinis
> File "/usr/lib/
> 1901, in OnWizFinished
> success = self.Proj4Creat
> File "/usr/lib/
> 2031, in Proj4Create
> p = gcmd.Command(
> File "/usr/lib/
> __init__
> _("Error: ") + self.GetError()))
> gui_modules.
> DeprecationWarning: BaseException.
> 2.6
> 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=
>
> 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)
>