Bug#676190: grass-gui: gcpmanager fails to list source mapsets if non-ascii characters in grass data dir path

2015-11-08 Thread Torsti Schulz

Hi Bas,

I still get the same error as in the original bug report for GRASS 
6.4.1. when using the Georectifier.
Also changing mapset access does not work for me. So I can't confirm 
that the issue has been fixed in GRASS 7.0.1.



Thanks for the good work in the GIS team!

Best,
Torsti

On 08.11.2015 15:00, Sebastiaan Couwenberg wrote:

Control: tags -1 upstream unreproducible moreinfo

Hi Torsti,

We've have GRASS 7 in testing/unstable for some time now, and while the
upstream issue is still open, it seems it has been fixed in GRASS 7.

I can successfully open a GRASS GIS database directory by selecting the
path /home/user/tmp/Työpöytä/grassdata/, selecting the 'spearfish60'
GRASS location, selecting either of the GRASS Mapsets and starting the
GRASS session.

Can you confirm that the issue is fixed in the GRASS 7 packages in
testing/unstable?

Kind Regards,

Bas



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Bug#676190: grass-gui: gcpmanager fails to list source mapsets if non-ascii characters in grass data dir path

2012-06-05 Thread Torsti Schulz
Package: grass-gui
Version: 6.4.2-1
Severity: normal

Hi,

Using the wxpython GUI Georectify tool is impossible if the path to the grass
data directory (e.g. GRASSDATA) contains non ascii characters (e.g.
'/home/user/Työpöytä/GRASSDATA'). Selecting the source location works, but
the 'Select source mapset:' dropdown menu remains greyed out. The command
console shows the following error message, after selecting the source location:

***
Traceback (most recent call last):
  File
"/usr/lib/grass64/etc/wxpython/gui_modules/gcpmanager.py",
line 377, in OnLocation

tmplist = os.listdir(os.path.join(self.grassdatabase,
self.xylocation))
  File "/usr/lib/python2.7/posixpath.py", line 71, in join

path += '/' + b
UnicodeDecodeError
:
'ascii' codec can't decode byte 0xc3 in position 15: ordinal
not in range(128)
***

Changing the grass data directory path to only contain ascii characters (e.g.
'/home/user/GRASSDATA') makes the Georectify tool usable. This seems to an
issue with how the python code handles path names and unicode characters.

Cheers,
Torsti



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grass-gui depends on:
ii  gnome-terminal [x-terminal-emulator]  3.4.1.1-1
ii  grass-core6.4.2-1
ii  lesstif2  1:0.95.2-1
ii  libc6 2.13-33
ii  libfreetype6  2.4.9-1
ii  libgdal1  1.9.0-2
ii  libgl1-mesa-glx [libgl1]  8.0.2-2
ii  libglu1-mesa [libglu1]8.0.2-2
ii  libice6   2:1.0.8-2
ii  libpng12-01.2.49-1
ii  libsm62:1.2.1-2
ii  libtiff5  4.0.1-7
ii  libx11-6  2:1.4.99.901-2
ii  libxext6  2:1.3.1-2
ii  libxmu6   2:1.1.1-1
ii  libxt61:1.1.3-1
ii  python2.7.2-10
ii  python-opengl 3.0.1-1
ii  python-wxgtk2.8   2.8.12.1-11
ii  tcl8.58.5.11-2
ii  tk8.5 8.5.11-2
ii  xterm [x-terminal-emulator]   278-1
ii  zlib1g1:1.2.7.dfsg-11

Versions of packages grass-gui recommends:
ii  ghostscript 9.05~dfsg-6
ii  python-imaging  1.1.7-4

grass-gui suggests no packages.



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel