On 31/03/18 17:43, Frank David wrote:
Hi Mortiz,
Le 30/03/2018 à 15:07, Moritz Lennert a écrit :
Hi Frank,
On 30/03/18 11:23, Frank David wrote:
Hi all,
I've met a problem this morning on only one of my project. The map are
displayed but I cannot do anything on GUI, no command message returned
but the message below on GUI console >
Traceback (most recent call last):
File
"/usr/local/grass-7.4.0svn/gui/wxpython/gui_core/forms.py",
line 836, in OnRun
ret = self._gconsole.RunCmd(cmd, onDone=self.OnDone)
File
"/usr/local/grass-7.4.0svn/gui/wxpython/core/gconsole.py",
line 467, in RunCmd
self.UpdateHistoryFile(' '.join(command))
File
"/usr/local/grass-7.4.0svn/gui/wxpython/core/gconsole.py",
line 748, in UpdateHistoryFile
{'filePath': filePath, 'error': e},
UnicodeDecodeError
:
'ascii' codec can't decode byte 0xc3 in position 32: ordinal
not in range(128)
This means that there is some issue with non-ASCII characters (in
French it's often accents), either in a path or in an error message.
This is a bug and it would be great if you could report it on the bug
tacker [1].
But in the meantime, in case the error comes from special characters
in a French error message, you could switch the GUI to English and
then relaunch it to see what the error message is. If the error is
linked to special characters in a path, try to move everything into a
pure ASCII path .
Moritz
[1] https://trac.osgeo.org/grass/
Thanks for your reply.
I don't understand from where the accent could come, because I do not
remember to have change anything on my project. I did not change path
name neither. Can you advice me where to find the problem ?
As I said, it can come from a translated message (the 'error' in the
function call that causes the error), i.e. an error message that is
normally in English, but someone translated it to French and it thus
contains special characters. By changing the language of GRASS to
English (in the GUI preferences) you should be able to do whatever you
are trying to do and see the English error message.
Again, as I said, this is a bug and should be reported.
Moritz
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user