Re: [GRASS-dev] [GRASS GIS] #995: WxGUI startup screen fails if GISDBASE path contains non-latin characters

2015-01-03 Thread GRASS GIS
#995: WxGUI startup screen fails if GISDBASE path contains non-latin characters
--+-
  Reporter:  marisn   |   Owner:  martinl
  Type:  defect   |  Status:  closed 
  Priority:  critical |   Milestone:  7.0.0  
 Component:  wxGUI| Version:  svn-releasebranch64
Resolution:  fixed|Keywords:  wingrass, i18n 
  Platform:  MSWindows Vista  | Cpu:  Unspecified
--+-
Changes (by marisn):

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


Comment:

 Replying to [comment:22 martinl]:
 > please could you do the test again with most recent GRASS 7.0 version?
 Yes, startup screen now works fine. Still it has just uncovered next set
 of problems. As this issue is fixed, I am closing it and will open new
 ones for other failures.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] [GRASS GIS] #995: WxGUI startup screen fails if GISDBASE path contains non-latin characters

2015-01-02 Thread GRASS GIS
#995: WxGUI startup screen fails if GISDBASE path contains non-latin characters
+---
 Reporter:  marisn  |   Owner:  martinl
 Type:  defect  |  Status:  assigned   
 Priority:  critical|   Milestone:  7.0.0  
Component:  wxGUI   | Version:  svn-releasebranch64
 Keywords:  wingrass, i18n  |Platform:  MSWindows Vista
  Cpu:  Unspecified |  
+---

Comment(by martinl):

 Replying to [comment:21 marisn]:

 > I just tested GRASS 7 on Vista. It seems to pass the "welcome" screen
 just fine, still CLI (CMD) is not set up correctly (LOCATION_NAME not
 set). g.gui starts fine, still it is not possible to import any data as
 vector import wizard fails to see any layers in a shapefile and raster
 data importing fails when calling r.in.gdal with "file doesn't exist"
 error. Exiting from CMD also fails with "Failed to start shell 'C:\Program
 Files\GRASS GIS 7.0.svn\msys\bin\sh.exe'".
 >
 > My guess - elimination of CMD part on windows as per #1891 AND
 elimination of touching shell in ANY way is the only solution to fix this
 issue.

 please could you do the test again with most recent GRASS 7.0 version?

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] [GRASS GIS] #995: WxGUI startup screen fails if GISDBASE path contains non-latin characters

2014-03-02 Thread GRASS GIS
#995: WxGUI startup screen fails if GISDBASE path contains non-latin characters
+---
 Reporter:  marisn  |   Owner:  martinl
 Type:  defect  |  Status:  assigned   
 Priority:  critical|   Milestone:  7.0.0  
Component:  wxGUI   | Version:  svn-releasebranch64
 Keywords:  wingrass, i18n  |Platform:  MSWindows Vista
  Cpu:  Unspecified |  
+---

Comment(by marisn):

 Replying to [comment:20 mlennert]:
 > Replying to [comment:19 mlennert]:
 > > Any news on this issue, at least for GRASS 7 ?
 >
 > If I follow Maris' comment:18 then the only solution would be to call
 grass.py directly from a python script, and not from a .bat. Is that
 correct ?

 I just tested GRASS 7 on Vista. It seems to pass the "welcome" screen just
 fine, still CLI (CMD) is not set up correctly (LOCATION_NAME not set).
 g.gui starts fine, still it is not possible to import any data as vector
 import wizard fails to see any layers in a shapefile and raster data
 importing fails when calling r.in.gdal with "file doesn't exist" error.
 Exiting from CMD also fails with "Failed to start shell 'C:\Program
 Files\GRASS GIS 7.0.svn\msys\bin\sh.exe'".

 My guess - elimination of CMD part on windows as per #1891 AND elimination
 of touching shell in ANY way is the only solution to fix this issue.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] [GRASS GIS] #995: WxGUI startup screen fails if GISDBASE path contains non-latin characters

2013-07-26 Thread GRASS GIS
#995: WxGUI startup screen fails if GISDBASE path contains non-latin characters
+---
 Reporter:  marisn  |   Owner:  martinl
 Type:  defect  |  Status:  assigned   
 Priority:  critical|   Milestone:  7.0.0  
Component:  wxGUI   | Version:  svn-releasebranch64
 Keywords:  wingrass, i18n  |Platform:  MSWindows Vista
  Cpu:  Unspecified |  
+---

Comment(by mlennert):

 Replying to [comment:19 mlennert]:
 > Any news on this issue, at least for GRASS 7 ?

 I've just tested in WinXP and can reproduce the startup error when the
 path to GISDBASE contains special characters (in this case latin1
 accents).

 If I follow Maris' comment:18 then the only solution would be to call
 grass.py directly from a python script, and not from a .bat. Is that
 correct ?

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] [GRASS GIS] #995: WxGUI startup screen fails if GISDBASE path contains non-latin characters

2013-07-11 Thread GRASS GIS
#995: WxGUI startup screen fails if GISDBASE path contains non-latin characters
+---
 Reporter:  marisn  |   Owner:  martinl
 Type:  defect  |  Status:  assigned   
 Priority:  critical|   Milestone:  7.0.0  
Component:  wxGUI   | Version:  svn-releasebranch64
 Keywords:  wingrass, i18n  |Platform:  MSWindows Vista
  Cpu:  Unspecified |  
+---

Comment(by mlennert):

 Any news on this issue, at least for GRASS 7 ?

 Moritz

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


[GRASS-dev] [GRASS GIS] #995: WxGUI startup screen fails if GISDBASE path contains non-latin characters

2010-03-11 Thread GRASS GIS
#995: WxGUI startup screen fails if GISDBASE path contains non-latin characters
+---
 Reporter:  marisn  |   Owner:  grass-dev@lists.osgeo.org
 Type:  defect  |  Status:  new  
 Priority:  blocker |   Milestone:  6.4.0
Component:  wxGUI   | Version:  svn-releasebranch64  
 Keywords:  wxgui, windows  |Platform:  MSWindows Vista  
  Cpu:  Unspecified |  
+---
 WXGUI startup screen goes bad when GISDBASE is pointing to folder with
 non-latin chars in path.

 Steps to reproduce: "mkdir 'Šaursliežu dzelzceļš'" and set it as GISDBASE.

 {{{
 ---
 Error in command execution g.gisenv
 ---
 Execution failed: 'g.gisenv
 set=GISDBASE=C:/Users/Maris/Documents/Šaursliežu dzelzceļš'



 Details:

 Error: Unable to exectute command: 'g.gisenv
 set=GISDBASE=C:/Users/Maris/Documents/Šaursliežu dzelzceļš'
 ---
 OK
 ---
 }}}

 {{{
 KŽ█DA:G_getenv(): Variable LOCATION_NAME not set
 Exception in thread Thread-1:
 Traceback (most recent call last):
   File "C:\OSGeo4W\apps\Python25\lib\threading.py", line 486, in
 __bootstrap_inn
 er
 self.run()
   File "C:\Program Files\GRASS-64-SVN\etc\wxpython\gui_modules\gcmd.py",
 line 52
 7, in run
 shell=sys.platform=="win32")
   File "C:\Program Files\GRASS-64-SVN\Python25\lib\subprocess.py", line
 594, in
 __init__
 errread, errwrite)
   File "C:\Program Files\GRASS-64-SVN\Python25\lib\subprocess.py", line
 816, in
 _execute_child
 startupinfo)
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u0160' in
 position 9
 2: ordinal not in range(128)

 Exception in thread Thread-2:
 Traceback (most recent call last):
   File "C:\OSGeo4W\apps\Python25\lib\threading.py", line 486, in
 __bootstrap_inn
 er
 self.run()
   File "C:\Program Files\GRASS-64-SVN\etc\wxpython\gui_modules\gcmd.py",
 line 52
 7, in run
 shell=sys.platform=="win32")
   File "C:\Program Files\GRASS-64-SVN\Python25\lib\subprocess.py", line
 594, in
 __init__
 errread, errwrite)
   File "C:\Program Files\GRASS-64-SVN\Python25\lib\subprocess.py", line
 816, in
 _execute_child
 startupinfo)
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u0160' in
 position 7
 9: ordinal not in range(128)

 Traceback (most recent call last):
   File "C:/Program Files/GRASS-64-SVN/etc/wxpython/gis_set.py", line 854,
 in 
 GRASSStartUp = StartUp(0)
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-
 unicode\wx\_core.p
 y", line 7935, in __init__
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-
 unicode\wx\_core.p
 y", line 7509, in _BootstrapApp
   File "C:/Program Files/GRASS-64-SVN/etc/wxpython/gis_set.py", line 825,
 in OnI
 nit
 StartUp = GRASSStartup()
   File "C:/Program Files/GRASS-64-SVN/etc/wxpython/gis_set.py", line 165,
 in __i
 nit__
 self._set_properties()
   File "C:/Program Files/GRASS-64-SVN/etc/wxpython/gis_set.py", line 206,
 in _se
 t_properties
 self.OnSetDatabase(None)
   File "C:/Program Files/GRASS-64-SVN/etc/wxpython/gis_set.py", line 665,
 in OnS
 etDatabase
 self.OnSelectLocation(None)
   File "C:/Program Files/GRASS-64-SVN/etc/wxpython/gis_set.py", line 617,
 in OnS
 electLocation
 self.listOfLocations[self.lblocations.GetSelection()]))
   File "C:/Program Files/GRASS-64-SVN/etc/wxpython/gis_set.py", line 591,
 in Upd
 ateMapsets
 "set=GISDBASE=%s" % self.gisdbase])
   File "C:\Program Files\GRASS-64-SVN\etc\wxpython\gui_modules\gcmd.py",
 line 35
 7, in __init__
 _("Error: ") + self.GetError()))
 gui_modules.gcmd.CmdError
 }}}

 Also interesting bit - I DON'T have such folder as "C:\OSGeo4W"

 Setting this as a blocker because it's impossible to change bogous
 GISDBASE value as WXGUI startup screen fails to come up and provide
 GISDBASE choice option. Only solution is to start GRASS CLI or rm any
 .grass* files. Both options are not beginner-friendly.

 Another part in location wizard:

 {{{
 access: No such file or directory
 KŽ█DA:ATRAąAN┬S VIETA << C:\Users\Maris\Documents\atstar pem/mans >> nav
   pieejama
 Traceback (most recent call last):
   File "C:\Program Files\GRASS-64-
 SVN\etc\wxpython\gui_modules\location_wizard.p
 y", line 1710, in OnEnterPage
 self.ldatabase.SetLabel(str(database))
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u0160' in
 position 2
 5: ordinal not in range(128)
 Traceback (most recent call last):
   File "C:/Program Files/GRASS-64-SVN/etc/wxpython/gis_set.py", line 412,
 in OnW
 izard
 grassdatabase = self.tgisdbase.GetValue())
   File "C:\Program Files\GRASS-64-
 SVN\etc\wxpython\gui_modules\location_wizard.p
 y", line 1853, in __init__
 msg = self.OnWizFinished()
   File "C:\Program Files\GRASS