[GRASS-dev] Re: [GRASS GIS] #965: Location wizard: doesn't create MYNAME

GRASS GIS trac at osgeo.org
Tue Dec 28 15:31:45 EST 2010


#965: Location wizard: doesn't create MYNAME
---------------------+------------------------------------------------------
  Reporter:  hamish  |       Owner:  martinl            
      Type:  defect  |      Status:  reopened           
  Priority:  normal  |   Milestone:  6.4.1              
 Component:  wxGUI   |     Version:  svn-releasebranch64
Resolution:          |    Keywords:  location wizard    
  Platform:  All     |         Cpu:  All                
---------------------+------------------------------------------------------
Changes (by hamish):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 thanks, placement in the location wizard looks nice.

 Trying it out in 6.5svn I get the following error when I click on
 'Finish':
 {{{
 $ grass65 -gui
 Cleaning up temporary files ...
 Starting GRASS ...
 Traceback (most recent call last):
   File "/usr/local/src/grass/grass65/dist.i686-pc-linux-
 gnu/etc/wxpython/gis_set.py", line 411, in OnWizard
     grassdatabase = self.tgisdbase.GetValue())
   File "/usr/local/src/grass/grass65/dist.i686-pc-linux-
 gnu/etc/wxpython/gui_modules/location_wizard.py", line 1794, in __init__
     msg = self.OnWizFinished()
   File "/usr/local/src/grass/grass65/dist.i686-pc-linux-
 gnu/etc/wxpython/gui_modules/location_wizard.py", line 1986, in
 OnWizFinished
     desc = self.startpage.description)
 TypeError: create_location() got an unexpected keyword argument 'desc'
 }}}

 ? and the location is not created.

 also, the MYNAME description should be limited to a single line, so any \n
 in the desc text should be replaced by a space. (if that's not already
 being done)
 [G_myname() reads & returns a single G_getl()]


 cheers,
 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/965#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list