#3256: v.krige fails to start due to missing core module -------------------------+------------------------- Reporter: marisn | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.2.1 Component: Addons | Version: svn-trunk Keywords: v.krige | CPU: Unspecified Platform: Unspecified | -------------------------+------------------------- Since v.krige was moved to addons (see #3136), I am unable to start it. It seems that code was not changed to work as an addon.
{{{ GRASS 7.3.svn (Latvija_LKS):~/soft/grass_trunk > v.krige Loading dependencies, please wait... /usr/lib64/python2.7/site-packages/rpy2/robjects/functions.py:106: UserWarning: rgeos version: 0.3-22, (SVN revision 544) GEOS runtime version: 3.5.0-CAPI-1.9.0 r4084 Linking to sp version: 1.2-4 Polygon checking: TRUE res = super(Function, self).__call__(*new_args, **new_kwargs) /usr/lib64/python2.7/site-packages/rpy2/robjects/functions.py:106: UserWarning: Attaching package: ‘XML’ res = super(Function, self).__call__(*new_args, **new_kwargs) /usr/lib64/python2.7/site-packages/rpy2/robjects/functions.py:106: UserWarning: The following object is masked from ‘package:tools’: toHTML res = super(Function, self).__call__(*new_args, **new_kwargs) /usr/lib64/python2.7/site-packages/rpy2/robjects/functions.py:106: UserWarning: GRASS GIS interface loaded with GRASS version: GRASS 7.3.svn (2016) and location: Latvija_LKS res = super(Function, self).__call__(*new_args, **new_kwargs) /usr/lib64/python2.7/site-packages/rpy2/robjects/functions.py:106: UserWarning: Checking rgeos availability: TRUE res = super(Function, self).__call__(*new_args, **new_kwargs) Traceback (most recent call last): File "/home/maris/.grass7/addons/scripts/v.krige", line 457, in <module> main() File "/home/maris/.grass7/addons/scripts/v.krige", line 333, in main from core import globalvar ImportError: No module named core }}} {{{ env | grep PYTHON GRASS_PYTHON=python PYTHONPATH=/home/maris/soft/grass_trunk/dist.x86_64-pc-linux- gnu/etc/python }}} core module is located in gui/wxpython/, still it is not in PYTHONPATH by default. Workaround till this issue is fixed: copy v.krige file from addons folder to GISBASE/gui/wxpython/ Move to addons is also "interesting", as gui/wxpython/modules still contains vkriege.py GUI file. -- Ticket URL: <https://trac.osgeo.org/grass/ticket/3256> GRASS GIS <https://grass.osgeo.org> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev