Ticket #648 (closed defect: fixed)
g.proj fails to create default region using Grass6.4 RC5
| Reported by: | voncasec | Owned by: | grass-dev@… |
|---|---|---|---|
| Priority: | major | Milestone: | 6.4.0 |
| Component: | Python | Version: | 6.4.0 RCs |
| Keywords: | g.proj, wxpython, g.region, UTM | Cc: | |
| Platform: | Linux | CPU: | x86-64 |
Description
Using Location Wizard to create a new location fails. It does not prompt the user to define the default region for the new location and crashes.
Execution failed: 'g.proj -c proj4=+proj=utm +zone=14 +a=6378206.4 +rf=294.9786982 +no_defs +towgs84=-12.000,130.000,190.000 +to_meter=1.0 location=GrassDatabase?'
Details: Error: region for current mapset is not set run "g.region"
Traceback (most recent call last):
File "/usr/local/grass-6.4.0RC5/etc/wxpython/gis_set.py", line 404, in OnWizard?
gWizard = location_wizard.LocationWizard?(self, self.tgisdbase.GetValue?())
File "/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/location_wizard.py", line 1742, in init
success = self.OnWizFinished?()
File "/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/location_wizard.py", line 1903, in OnWizFinished?
success = self.CustomCreate?()
File "/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/location_wizard.py", line 2047, in CustomCreate?
p = gcmd.Command(cmdlist, stderr=None)
File "/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/gcmd.py", line 358, in init
_("Error: ") + self.GetError?()))
gui_modules.gcmd.CmdError?
