Just for testing purposes I’ve installed GRASS 7 nightly build for Windows from Martin.
I’m evaluating the python scripting system, and I’ve found that on my Windows 7 machine no windows are opened inside the GUI for whatevere script.
E.g. v.report, v.db.join, etc. don’t show up.
The problem seems due to “collections” python module missing from the bundled python.
GRASS 7.0.svn> Traceback (most recent call last):
File “C:\Program Files\GRASS 7.0.SVN\etc\gui\wxpython\wxgui.py”, line 547, in
OnMenuCmd
menuform.GUI(parent = self).ParseCommand(cmd)
File “C:\Program Files\GRASS 7.0.SVN\etc\gui\wxpython\gui_modules\menuform.py”
, line 1903, in ParseCommand
blackList = _blackList)
File “C:\Program Files\GRASS 7.0.SVN\etc\python\grass\script\task.py”, line 45
1, in parse_interface
tree = etree.fromstring(get_interface_description(name))
File “C:\Program Files\GRASS 7.0.SVN\etc\python\grass\script\task.py”, line 43
8, in get_interface_description
“\n\nDetails: %(det)s”) % { ‘cmd’: cmd, ‘det’ : decode(cmderr) }
grass.script.core.ScriptError: u’Unable to fetch interface description for command 'v.report'.
Details: Traceback (most recent call last):
File “C:\Program Files\GRASS 7.0.SVN\scripts\v.report.py”, line 47, in \r\nimport grass.script as grass\r\n File “C:\Program Files\GRASS 7.0.SVN\etc\python\grass\script\init.py”, line 1, in
from core import *
File “C:\Program Files\GRASS 7.0.SVN\etc\python\grass\script\core.py”, line 31, in
import subprocess
File “C:\Program Files\GRASS 7.0.SVN\Python25\lib\subprocess.py”, line 376, in
import threading
File “C:\Program Files\GRASS 7.0.SVN\Python25\lib\threading.py”, line 13, in
from collections import deque
ImportError: No module named collections
Giovanni