[GRASS-dev] [GRASS GIS] #1084: GUI Mapset acess gives an error

#1084: GUI Mapset acess gives an error
-----------------------+----------------------------------------------------
Reporter: lferreira | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: minor | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Keywords: mapsets | Platform: Linux
      Cpu: x86-64 |
-----------------------+----------------------------------------------------
GRASS 6 develbranch SVN rev 42503
Ubuntu 10.04 x86_64

Settings > GRASS working environment > Mapset access

gives an error:

Traceback (most recent call last):
   File "/usr/lib/grass-6.5.svn/etc/wxpython/wxgui.py", line
303, in OnMapsets

dlg = preferences.MapsetAccess(parent=self, id=wx.ID_ANY)
   File "/usr/lib/grass-6.5.svn/etc/wxpython/gui_modules/pref
erences.py", line 2193, in __init__

self.mapsetlb.LoadData()
   File "/usr/lib/grass-6.5.svn/etc/wxpython/gui_modules/pref
erences.py", line 2264, in LoadData

stat_info = os.stat(mapsetPath)
OSError
:
[Errno 2] No such file or directory:
'/media/WORKSPACE/PGF_MN_QUIAIOS/grass_32629/\nplanimetria'

Using command g.mapsets -s gives a proper list, no error.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1084&gt;
GRASS GIS <http://grass.osgeo.org>

#1084: GUI Mapset acess gives an error
------------------------+---------------------------------------------------
  Reporter: lferreira | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: mapsets
  Platform: Linux | Cpu: x86-64
------------------------+---------------------------------------------------
Comment (by hamish):

Replying to [ticket:1084 lferreira]:
> stat_info = os.stat(mapsetPath)
> OSError
> :
> [Errno 2] No such file or directory:
> '/media/WORKSPACE/PGF_MN_QUIAIOS/grass_32629/\nplanimetria'

`\nplanimetria`: newline character sneaking in somehow?

what's the real name of the directory? does the path name include non-
english chars?

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1084#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1084: GUI Mapset acess gives an error
------------------------+---------------------------------------------------
  Reporter: lferreira | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: mapsets
  Platform: Linux | Cpu: x86-64
------------------------+---------------------------------------------------
Comment (by lferreira):

> > [Errno 2] No such file or directory:
> > '/media/WORKSPACE/PGF_MN_QUIAIOS/grass_32629/\nplanimetria'
>
> `\nplanimetria`: newline character sneaking in somehow?
>
> what's the real name of the directory? does the path name include non-
english chars?
>
[[BR]]

The directory:

/media/WORKSPACE/PGF_MN_QUIAIOS/grass_32629/planimetria

Luís

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1084#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1084: GUI Mapset acess gives an error
-----------------------+----------------------------------------------------
Reporter: lferreira | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Keywords: mapsets | Platform: Linux
      Cpu: x86-64 |
-----------------------+----------------------------------------------------
Changes (by martinl):

* cc: martinl (added)

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1084#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1084: GUI Mapset acess gives an error
-----------------------+----------------------------------------------------
Reporter: lferreira | Owner: martinl
     Type: defect | Status: assigned
Priority: minor | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Keywords: mapsets | Platform: Linux
      Cpu: x86-64 |
-----------------------+----------------------------------------------------
Changes (by martinl):

* cc: martinl (removed)
* cc: grass-dev@… (added)
  * owner: grass-dev@… => martinl
  * status: new => assigned

Comment:

Hopefully fixed in r42622.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1084#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#1084: GUI Mapset acess gives an error
-----------------------+----------------------------------------------------
Reporter: lferreira | Owner: martinl
     Type: defect | Status: assigned
Priority: minor | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Keywords: mapsets | Platform: Linux
      Cpu: x86-64 |
-----------------------+----------------------------------------------------

Comment(by martinl):

Replying to [comment:4 martinl]:
> Hopefully fixed in r42622.

Sync'ed with trunk in r42626. Testing welcomed.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1084#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#1084: GUI Mapset acess gives an error
------------------------+---------------------------------------------------
  Reporter: lferreira | Owner: martinl
      Type: defect | Status: closed
  Priority: minor | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords: mapsets
  Platform: Linux | Cpu: x86-64
------------------------+---------------------------------------------------
Changes (by lferreira):

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

Comment:

Replying to [comment:5 martinl]:
> Replying to [comment:4 martinl]:
> > Hopefully fixed in r42622.
>
> Sync'ed with trunk in r42626. Testing welcomed.

svn devel r42634

I tested with the same project location. Apparently, it's solved.

Thank you :slight_smile:

Luís

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1084#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>