Package Details: grass 8.3.1-1

Git Clone URL: https://aur.archlinux.org/grass.git (read-only, click to copy)
Package Base: grass
Description: Geospatial data management and analysis, image processing, graphics/maps production, spatial modeling and visualization
Upstream URL: http://grass.osgeo.org/
Keywords: analysis GIS remote sensing spatial
Licenses: GPL
Submitter: Scimmia
Maintainer: kikislater
Last Packager: kikislater
Votes: 38
Popularity: 0.000003
First Submitted: 2015-09-06 15:10 (UTC)
Last Updated: 2023-11-11 13:04 (UTC)

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 Next › Last »

kuszi commented on 2016-01-03 10:20 (UTC)

Hello! I have a GRASS - python, maybe environment problem. I've created a small test module in python. I tried to use g.parser to check it for its gui. It seems that there are python module loading problems.. --------------GRASS specific env - from inside GRASS GRASS 7.0.2 (HUNUTMWgs84):~/grassdata/scripts > env | grep GRASS GRASS_PYTHON=python2 GRASS_GNUPLOT=gnuplot -persist GRASS_PAGER=more GRASS_ADDON_PATH=/home/kuszi/.grass7/addons GRASS_PROJSHARE=/usr/share/proj GRASS_VERSION=7.0.2 GRASS_HTML_BROWSER=xdg-open GRASS_ADDON_BASE=/home/kuszi/.grass7/addons GRASS 7.0.2 (HUNUTMWgs84):~/grassdata/scripts > ------------ g.parser invocation: GRASS 7.0.2 (HUNUTMWgs84):~/grassdata/scripts > g.parser g.sample ----------------------ERROR: Unable to fetch interface description for command 'g.sample'. Details: Traceback (most recent call last): File "/home/kuszi/grassdata/scripts/g.sample", line 18, in <module> import grass.script as grass File "/opt/grass/etc/python/grass/script/__init__.py", line 5, in <module> from db import * ImportError: No module named 'db' Try to set up GRASS_ADDON_PATH or GRASS_ADDON_BASE variable. ------------------- g.sample #!/usr/bin/env python #%module #% description: minimal. #% keyword: testing #%end #%option #% key: table #% type: string #% required: yes #% multiple: no #% key_desc: name #% description: Input table name #% gisprompt: old,dbtable,dbtable #%end import sys import grass.script as grass def main(): # put code here return 0 if __name__ == "__main__": options, flags = grass.parser() sys.exit(main()) ------------------ PATH for my user (outside the grass session) [kuszi@kuszidell ~]$ echo $PATH /home/kuszi/grassdata/scripts:/home/kuszi/scripts:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl ------------------ PATH inside the GRASS session: GRASS 7.0.2 (HUNUTMWgs84):~/grassdata/scripts > echo $PATH /opt/grass/bin:/opt/grass/scripts:/home/kuszi/.grass7/addons/bin:/home/kuszi/.grass7/addons/scripts:/home/kuszi/grassdata/scripts:/home/kuszi/scripts:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl ------------------ YTHON environment vars GRASS 7.0.2 (HUNUTMWgs84):~/grassdata/scripts > env | grep YTHO GRASS_PYTHON=python2 PYTHONPATH=/opt/grass/etc/python:/opt/grass/gui/wxpython I've tested many scripts, simpler, more complicated, etc. It seems to be universal to python scripts. bash script dialogs appear well. What else to test? Thanks for any ideas Robert

Scimmia commented on 2015-11-20 16:24 (UTC)

It's not, but bison is. It seems to do the job for me.

bilthekid commented on 2015-11-20 15:52 (UTC)

I see. Although, the flex is part of base-devel package group, does it also stand for byacc? Because I dont see it in the list: pacman -Ss base-devel|grep -i yacc.

Scimmia commented on 2015-11-20 14:00 (UTC)

@bilthekid, nope. See https://wiki.archlinux.org/index.php/Arch_User_Repository#Prerequisites

bilthekid commented on 2015-11-20 13:02 (UTC)

@Scimmia, could you add as dependencies **flex** and **byacc** because otherwise you will get errors in building? Thanks

PetoP commented on 2015-10-27 07:27 (UTC)

@Scimmia, it works pefect! Thank you very much :)

Scimmia commented on 2015-10-27 02:54 (UTC)

@PetoP, try it now

PetoP commented on 2015-10-26 17:10 (UTC)

Hi guys! I can't resolve issues with g.extension. I tried to install r.stream.* addons, but allways i get compilation error: In file included from local_proto.h:1:0, from stream_vector.c:1: io.h:8:27: fatal error: grass/glocale.h: File does not exists compilation terminated. make: *** [OBJ.x86_64-unknown-linux-gnu/stream_vector.o] Error 1 With r.traveltime I get similar error, but gis.h is missing. Both files are in /opt/grass/include/grass/ and GRASS was build with unmodified PKGBUILD. Both extensions works well with GRASS 6.4.5. Excuse me, if I am just silly. Thank you Peter

Scimmia commented on 2015-10-09 13:25 (UTC)

@kuszi, added, thanks!