I'm using GRASS 6.4.3(installed with OSGeo4W) under Windows 8.1 x64.
When I type commands in the command console below, I often face these problems:
type command which has "space", like:g.list rast, as I type "space" (the command was not finished), the output window always shows error message like this:
Traceback (most recent call last): File "C:\PROGRA~2\QUANTU~1\apps\grass\grass-6.4.3RC2\etc\w xpython\gui_core\prompt.py", line 1133, in OnKeyPressed
self.cmdDesc = gtask.parse_interface(GetRealCmd(cmd)) File "C:\PROGRA~2\QUANTU~1\apps\grass\grass-6.4.3RC2\etc\p ython\grass\script\task.py", line 470, in parse_interface
tree = etree.fromstring(get_interface_description(name)) File "C:\PROGRA~2\QUANTU~1\apps\Python27\lib\xml\etree\Ele mentTree.py", line 1282, in XML
parser.feed(text) File "C:\PROGRA~2\QUANTU~1\apps\Python27\lib\xml\etree\Ele mentTree.py", line 1624, in feed
self._raiseerror(v) File "C:\PROGRA~2\QUANTU~1\apps\Python27\lib\xml\etree\Ele mentTree.py", line 1488, in _raiseerror
raise err xml.etree.ElementTree . ParseError : unknown encoding: line 1, column 30
As I finish the command, I press "enter", and the same error message shows. In many times, I press "enter" to run the module more than one time or I clear the output window before I run the module, the same error message still came out.
Although I could get results what I want, but it's very annoying having these problems, and I don't know why the same error message show up? And how to fix it?
Are these problems in relation to WIN8.1 or something else?
My GRASS GUI is very unstable as it often shows problems I post above, here's the detailed output log as I use r.category command,
(Tue Mar 25 10:59:11 2014)
r.category b1
1
(Tue Mar 25 10:59:12 2014) Command finished (0 sec)
Traceback (most recent call last):
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\prompt.py", line 1122, in OnKeyPressed
self._runCmd(self.GetCurLine()[0].strip())
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\prompt.py", line 623, in _runCmd
self.parent.RunCmd(cmd)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\goutput.py", line 554, in RunCmd
task = GUI(show = None).ParseCommand(command)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\forms.py", line 1871, in ParseCommand
blackList = _blackList)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\python\grass\s
cript\task.py", line 470, in parse_interface
tree = etree.fromstring(get_interface_description(name))
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1300, in XML
parser.feed(text)
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1642, in feed
self._raiseerror(v)
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1506, in _raiseerror
raise err
xml.etree.ElementTree
.
ParseError
:
unknown encoding: line 1, column 30
Traceback (most recent call last):
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\prompt.py", line 1122, in OnKeyPressed
self._runCmd(self.GetCurLine()[0].strip())
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\prompt.py", line 623, in _runCmd
self.parent.RunCmd(cmd)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\goutput.py", line 554, in RunCmd
task = GUI(show = None).ParseCommand(command)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\forms.py", line 1871, in ParseCommand
blackList = _blackList)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\python\grass\s
cript\task.py", line 470, in parse_interface
tree = etree.fromstring(get_interface_description(name))
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1300, in XML
parser.feed(text)
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1642, in feed
self._raiseerror(v)
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1506, in _raiseerror
raise err
xml.etree.ElementTree
.
ParseError
:
unknown encoding: line 1, column 30
Traceback (most recent call last):
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\prompt.py", line 1122, in OnKeyPressed
self._runCmd(self.GetCurLine()[0].strip())
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\prompt.py", line 623, in _runCmd
self.parent.RunCmd(cmd)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\goutput.py", line 554, in RunCmd
task = GUI(show = None).ParseCommand(command)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\forms.py", line 1871, in ParseCommand
blackList = _blackList)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\python\grass\s
cript\task.py", line 470, in parse_interface
tree = etree.fromstring(get_interface_description(name))
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1300, in XML
parser.feed(text)
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1642, in feed
self._raiseerror(v)
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1506, in _raiseerror
raise err
xml.etree.ElementTree
.
ParseError
:
unknown encoding: line 1, column 30
Traceback (most recent call last):
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\prompt.py", line 1122, in OnKeyPressed
self._runCmd(self.GetCurLine()[0].strip())
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\prompt.py", line 623, in _runCmd
self.parent.RunCmd(cmd)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\goutput.py", line 554, in RunCmd
task = GUI(show = None).ParseCommand(command)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\forms.py", line 1871, in ParseCommand
blackList = _blackList)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\python\grass\s
cript\task.py", line 470, in parse_interface
tree = etree.fromstring(get_interface_description(name))
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1300, in XML
parser.feed(text)
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1642, in feed
self._raiseerror(v)
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1506, in _raiseerror
raise err
xml.etree.ElementTree
.
ParseError
:
unknown encoding: line 1, column 30
Traceback (most recent call last):
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\prompt.py", line 1122, in OnKeyPressed
self._runCmd(self.GetCurLine()[0].strip())
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\prompt.py", line 623, in _runCmd
self.parent.RunCmd(cmd)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\goutput.py", line 554, in RunCmd
task = GUI(show = None).ParseCommand(command)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\forms.py", line 1871, in ParseCommand
blackList = _blackList)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\python\grass\s
cript\task.py", line 470, in parse_interface
tree = etree.fromstring(get_interface_description(name))
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1300, in XML
parser.feed(text)
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1642, in feed
self._raiseerror(v)
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1506, in _raiseerror
raise err
xml.etree.ElementTree
.
ParseError
:
unknown encoding: line 1, column 30
Traceback (most recent call last):
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\prompt.py", line 1122, in OnKeyPressed
self._runCmd(self.GetCurLine()[0].strip())
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\prompt.py", line 623, in _runCmd
self.parent.RunCmd(cmd)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\goutput.py", line 554, in RunCmd
task = GUI(show = None).ParseCommand(command)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\wxpython\gui_c
ore\forms.py", line 1871, in ParseCommand
blackList = _blackList)
File "C:\OSGeo4W\apps\grass\grass-6.4.3\etc\python\grass\s
cript\task.py", line 470, in parse_interface
tree = etree.fromstring(get_interface_description(name))
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1300, in XML
parser.feed(text)
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1642, in feed
self._raiseerror(v)
File
"C:\OSGeo4W\apps\Python27\lib\xml\etree\ElementTree.py",
line 1506, in _raiseerror
raise err
xml.etree.ElementTree
.
ParseError
:
unknown encoding: line 1, column 30
(Tue Mar 25 10:59:16 2014)
r.category b4
1
(Tue Mar 25 10:59:17 2014) Command finished (0 sec)
The log shows that after r.category b1 successfully runs, I try to run r.category b4 but get the same error once I press enter. After error messages show up many times, I finally get the result.
I don't know the meaning of the error, and how to fix it or improve its stability via these errors. Does this in relation with my platform?, and are there someone successfully and smoothly using GRASS under Windows 8.1 x64?