<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#333333" bgcolor="#FFFFFF">
Le 31/03/2018 à 21:28, Moritz Lennert a écrit :<br>
<blockquote type="cite"
cite="mid:f515b269-2a35-eb8f-ae97-4d8aafce1d50@club.worldonline.be">On
31/03/18 17:43, Frank David wrote:
<br>
<blockquote type="cite">Hi Mortiz,
<br>
<br>
Le 30/03/2018 à 15:07, Moritz Lennert a écrit :
<br>
<blockquote type="cite">Hi Frank,
<br>
<br>
On 30/03/18 11:23, Frank David wrote:
<br>
<blockquote type="cite">Hi all,
<br>
<br>
I've met a problem this morning on only one of my project.
The map are
<br>
displayed but I cannot do anything on GUI, no command
message returned
<br>
but the message below on GUI console >
<br>
<br>
Traceback (most recent call last):
<br>
File
<br>
"/usr/local/grass-7.4.0svn/gui/wxpython/gui_core/forms.py",
<br>
line 836, in OnRun
<br>
<br>
ret = self._gconsole.RunCmd(cmd, onDone=self.OnDone)
<br>
File
<br>
"/usr/local/grass-7.4.0svn/gui/wxpython/core/gconsole.py",
<br>
line 467, in RunCmd
<br>
<br>
self.UpdateHistoryFile(' '.join(command))
<br>
File
<br>
"/usr/local/grass-7.4.0svn/gui/wxpython/core/gconsole.py",
<br>
line 748, in UpdateHistoryFile
<br>
<br>
{'filePath': filePath, 'error': e},
<br>
UnicodeDecodeError
<br>
:
<br>
'ascii' codec can't decode byte 0xc3 in position 32: ordinal
<br>
not in range(128)
<br>
</blockquote>
<br>
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].
<br>
<br>
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 .
<br>
<br>
Moritz
<br>
<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://trac.osgeo.org/grass/">https://trac.osgeo.org/grass/</a>
<br>
<br>
</blockquote>
Thanks for your reply.
<br>
<br>
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 ?
<br>
</blockquote>
<br>
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.
<br>
<br>
Again, as I said, this is a bug and should be reported.
<br>
<br>
Moritz
<br>
</blockquote>
Thanks for your reply and sorry to have not well understand first...
After changing language without success, I noticed that bash_history
on the root of Grass project database folders was set in read only
(may be because of a our server backup file conflict). Change it to
write has solved the problem. I don't think it was a Grass bug...<br>
<br>
Frank<br>
<br>
<br>
</body>
</html>