[GRASS-user] i.segment.hierarchical on windows?
Helmut Kudrnovsky
hellik at web.de
Tue Dec 9 13:38:29 PST 2014
> What is your error message if any?
from the winGRASS-wxcommand line:
-------------
Traceback (most recent call last):
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\gui
_core\prompt.py", line 263, in OnItemSelected
self.cmdDesc = gtask.parse_interface(cmd)
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass
\script\task.py", line 509, in parse_interface
tree = etree.fromstring(get_interface_description(name))
File "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass
\script\task.py", line 489, in get_interface_description
"\n\nDetails: %(det)s") % {'cmd': cmd, 'det':
decode(cmderr)}
grass.exceptions
.
ScriptError
:
Unable to fetch interface description for command
'i.segment.hierarchical'.
Details: C:\OSGeo4W\bin\python.exe: can't open file
'i.segment.hierarchical': [Errno 2] No such file or
directory
-------------
from the windows console:
-------------
C:\>i.segment.hierarchical
Traceback (most recent call last):
File
"C:\Users\myricaria\AppData\Roaming\GRASS7\addons/scripts/i.segment.hiera
rchical.py", line 146, in <module>
from grass.pygrass.modules.grid import GridModule
File
"C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\gri
d\__init__.py", line 2, in <module>
from grass.pygrass.modules.grid.grid import GridModule
File
"C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\gri
d\grid.py", line 17, in <module>
from grass.pygrass.modules.grid.patch import rpatch_map
File
"C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\gri
d\patch.py", line 10, in <module>
from grass.pygrass.raster import RasterRow
File
"C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\raster\__in
it__.py", line 32, in <module>
from grass.pygrass.raster.buffer import Buffer
File
"C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\raster\buff
er.py", line 8, in <module>
FCELL = (np.float, np.float16, np.float32)
AttributeError: 'module' object has no attribute 'float16'
-------------
the same issue as in
http://wingrass.fsv.cvut.cz/grass71/addons/grass-7.1.svn/logs/i.segment.hierarchical.log
some more issues:
- it seems the html manual is empty:
http://trac.osgeo.org/grass/browser/grass-addons/grass7/imagery/i.segment.hierarchical/i.segment.hierarchical.html
therefore g.extension claims an error
- there is a lib dependency:
http://trac.osgeo.org/grass/browser/grass-addons/grass7/imagery/i.segment.hierarchical/isegpatch.py
but the zip-file for winGRASS-g.extension
http://wingrass.fsv.cvut.cz/grass71/addons/grass-7.1.svn/i.segment.hierarchical.zip
doesn't include isegpatch.py; therefore winGRASS-i.segment.hierarchical
can't find this dependency in e.g.
C:\Users\xxx\AppData\Roaming\GRASS7\addons\etc
maybe some make issue.
for errors mentioned above I've put all the addon files manually in
C:\Users\xxx\AppData\Roaming\GRASS7\addons accordingly and added a bat file.
-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/i-segment-hierarchical-on-windows-tp5177091p5177120.html
Sent from the Grass - Users mailing list archive at Nabble.com.
More information about the grass-user
mailing list