Hi, 2009/6/18 G. Allegri <[email protected]>: > /home/giova/grass/grass_trunk/raster/r.li/r.li.setup > /home/giova/grass/grass_trunk/scripts/v.in.garmin > /home/giova/grass/grass_trunk/scripts/v.in.gpsbabel > /home/giova/grass/grass_trunk/scripts/v.out.gps > /home/giova/grass/grass_trunk/swig/python > -- > > Ok, I will solve the scripts but I wondered if the Python swig
Shell scripts are not supported in GRASS7. The scripts mentioned above needs to be ported to Python. > libraries are necessary to the Python infrastructure of grass 7. I > thought it wasn't but I have a doubt because when I start grass I get: > > Starting GRASS ... > Traceback (most recent call last): > File "/usr/local/grass-7.0.svn/etc/wxpython/gis_set.py", line > 845, in <module> > import gui_modules.gcmd as gcmd > File "/usr/local/grass-7.0.svn/etc/wxpython/gui_modules/gcmd.py", > line 59, in <module> > from grass.script import core as grass > File "/usr/local/grass-7.0.svn/etc/python/grass/__init__.py", > line 2, in <module> > import lib > ImportError: No module named lib > > and the /usr/local/grass-7.0.svn/etc/python/grass/lib folder is empty. That's because compilation of Python swig failed. Then etc/python/grass/__init__.py shouldn't contain "import lib" - it's bug. Anyway Python swig interface is not currently used in wxGUI. Martin -- Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
