Opened 9 years ago
Closed 9 years ago
#2723 closed defect (fixed)
error when running v.krige
| Reported by: | pvanbosgeo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0.1 |
| Component: | Default | Version: | svn-trunk |
| Keywords: | Cc: | ||
| CPU: | Unspecified | Platform: | Linux |
Description
When I use the "plot/refresh variogram" button, I am getting an error message:
Command: v.out.ogr
... usual text about v.out.ogr
...
/usr/lib/python2.7/dist-packages/rpy2/robjects/functions.py:106: UserWarning: Error in insert_required(pcmd = pcmd, parameters = parameters, pt = pt, :
required parameters with no defaults missing: output
res = super(Function, self).__call__(*new_args, **new_kwargs)
Traceback (most recent call last):
File "/usr/local/grass7/grass-7.1.svn/gui/wxpython/modules/vkrige.py", line 456, in OnPlotButton
column = column)
File "/usr/local/grass7/grass-7.1.svn/scripts/v.krige", line 143, in ImportMap
Rpointmap = robjects.r.readVECT6(map, type = 'point')
File "/usr/lib/python2.7/dist-packages/rpy2/robjects/functions.py", line 178, in __call__
return super(SignatureTranslatedFunction, self).__call__(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/rpy2/robjects/functions.py", line 106, in __call__
res = super(Function, self).__call__(*new_args, **new_kwargs)
rpy2.rinterface.RRuntimeError: Error in insert_required(pcmd = pcmd, parameters = parameters, pt = pt, :
required parameters with no defaults missing: output
I am getting a similar error message when running the kriging module using
Attachments (2)
Change History (6)
comment:1 by , 9 years ago
| Milestone: | → 7.0.1 |
|---|
by , 9 years ago
| Attachment: | v.krige.patch added |
|---|
changes to make the script work with the R package rgrass7
comment:2 by , 9 years ago
You are right Markus, just added a patch file that seems to resolve the problem with "plot/refresh variogram" when running with rgrass7.
comment:3 by , 9 years ago
Thanks, patch applied in r66386.
Would you mind to also update the HTML page?
by , 9 years ago
| Attachment: | v.krige.html.patch added |
|---|
Corrections, mostly to reflect the change in dependency from spgrass6 to rgrass7
comment:4 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

I briefly looked at the code.
calls
which calls
which ain't work with rgrass7. In essence, scripts/v.krige/v.krige.py needs to be updated to rgrass7 (not a complicated task at all).