Package: grass-gui
Version: 6.4.2-1
Severity: normal


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):
line 377, in OnLocation

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

path += '/' + b
'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.


-- 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]
ii  grass-core                            6.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-0                            1.2.49-1
ii  libsm6                                2:1.2.1-2
ii  libtiff5                              4.0.1-7
ii  libx11-6                              2:
ii  libxext6                              2:1.3.1-2
ii  libxmu6                               2:1.1.1-1
ii  libxt6                                1:1.1.3-1
ii  python                                2.7.2-10
ii  python-opengl                         3.0.1-1
ii  python-wxgtk2.8             
ii  tcl8.5                                8.5.11-2
ii  tk8.5                                 8.5.11-2
ii  xterm [x-terminal-emulator]           278-1
ii  zlib1g                                1: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

Reply via email to