[GRASS-user] error instaling addons in Grass 7

Luís Mário Ribeiro luis.mario at adai.pt
Mon Mar 4 03:38:36 PST 2013


Hello all,

Reply to myself: downloaded i.histo.match.zip from http://wingrass.fsv.cvut.cz/grass70/addons/ and unziped i.histo.match.py to C:\GRASSGIS70svn\scripts.

Working properly now so I guess something is wrong in the grass instalation procedure.

Best regards
luis 




-----Mensagem original-----
De: grass-user-bounces at lists.osgeo.org [mailto:grass-user-bounces at lists.osgeo.org] Em nome de Luís Mário Ribeiro
Enviada: segunda-feira, 4 de Março de 2013 10:35
Para: 'GRASS user list'
Assunto: Re: [GRASS-user] error instaling addons in Grass 7

Good morning list,

I installed Grass7 (WinGRASS-7.0.svn-r55270-516-Setup.exe ) on a winxp as i need to use i.histo.match (not present in 6). Installing from menu (gui) doesn't work (see att).

Tried manually and although it installs correctly this error message shows when executing it:

g.extension ext=i.histo.match                                                   
Downloading precompiled GRASS Addons <i.histo.match>...
Updating metadata file...
Installation of <i.histo.match> successfully finished
(Mon Mar 04 10:19:01 2013) Command finished (5 sec)     
                        
Traceback (most recent call last):
  File
"C:\GRASSGIS70svn\etc\gui\wxpython\gui_core\prompt.py", line 271, in OnItemSelected

self.cmdDesc = gtask.parse_interface(GetRealCmd(cmd))
  File "C:\GRASSGIS70svn\etc\python\grass\script\task.py",
line 484, in parse_interface

tree = etree.fromstring(get_interface_description(name))
  File "C:\GRASSGIS70svn\etc\python\grass\script\task.py",
line 461, in get_interface_description

"\n\nDetails: %(det)s") % { 'cmd' : cmd, 'det' :
decode(cmderr) }
grass.script.core
.
ScriptError
:
Unable to fetch interface description for command 'i.histo.match.py'.
Details: C:\GRASSGIS70svn\extrabin\python.exe: can't open file 'i.histo.match.py': [Errno 2] No such file or directory



Any thoughts?
Thanks in advance
luis 

Luís Mário Ribeiro
ADAI | CEIF
www.adai.pt/ceif
Forest Fire Research Centre | Univ. of Coimbra Rua Pedro Hispano n12 | 3030 - 289 Coimbra
Telf: +351 239 708580 | Fax: +351 239 708589



-----Mensagem original-----
De: grass-user-bounces at lists.osgeo.org [mailto:grass-user-bounces at lists.osgeo.org] Em nome de Vincent Bain
Enviada: segunda-feira, 4 de Março de 2013 06:34
Para: Hamish
Cc: GRASS user list
Assunto: Re: [GRASS-user] bypassing the "arrowhead" problem of ps.map

Hi Hamish,

Le dimanche 03 mars 2013 à 13:22 -0800, Hamish a écrit :
> Vincent wrote:
> > maybe among you some people deplore the absence of easy solution in 
> > ps.map for line-end symbology, e.g. adding arrow heads to lines.

my poor knowledge of C dissuaded me to investigate in this way...


> another self-hack possibility is to extract the start/end nodes to a 
> points file, then, maybe with the help of v.generalize, find the trend 
> direction (azimuth) at those two ends, and use vpoints or point 
> instruction there with appropriate rotation angle.

in a way (except recourse to v.generalize), this is what is performed in my stack of commands.

> You'll probably need to make your own symbol, but that's pretty easy.
> 

Here again it points to the power of ps.map. With a couple of postscript lines you can do nearly whatever you want.

Yours,
Vincent


_______________________________________________
grass-user mailing list
grass-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user



More information about the grass-user mailing list