[GRASS-dev] Errored: GRASS-GIS/grass-ci#2213 (master - eb71f33)

2017-06-29 Thread Travis CI
Build Update for GRASS-GIS/grass-ci
-

Build: #2213
Status: Errored

Duration: 1 minute and 27 seconds
Commit: eb71f33 (master)
Author: Markus Metz
Message: r.regression.multi: +RMSE, MAE

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71235 
15284696-431f-4ddb-bdfa-cd5b030d7da7

View the changeset: 
https://github.com/GRASS-GIS/grass-ci/compare/d81b64ffd569...eb71f338b036

View the full build log and details: 
https://travis-ci.org/GRASS-GIS/grass-ci/builds/248533963?utm_source=email_medium=notification

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] r.timestamp: missing support for ISO 8601 strings

2017-06-29 Thread Luca Delucchi
On 28 June 2017 at 18:29, Nikos Alexandris  wrote:
> Currently, `r.timestamp` does not understand combined date and time
> expressions, for example in UTC:
>
> 2017-06-28T15:10:33+00:00
> 2017-06-28T15:10:33Z
> 20170628T151033Z
>
> Support for such would make it easier, for example, to use date and time
> expressions from Landsat metadata files.
>
> Is there interest to, at least, create a ticket?
>

yes please

> Nikos
>

-- 
ciao
Luca

www.lucadelu.org
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] Python grass script error

2017-06-29 Thread Margherita Di Leo
Hi,

I have GRASS 7.3.svn (r71212). In python , calling grass.script I get:

>>> import grass.script as grass
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/local/grass-7.3.svn/etc/python/grass/script/__init__.py", line
5, in 
from .core   import *
  File "/usr/local/grass-7.3.svn/etc/python/grass/script/core.py", line 35,
in 
gettext.install('grasslibs', os.path.join(os.getenv("GISBASE"),
'locale'))
  File "/usr/lib64/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Anyone can reproduce this error?

Thank you in advance


-- 
Margherita Di Leo
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] Improve icon set

2017-06-29 Thread Robert Szczepanek
With regard to upcoming QGIS 3 [1], I want to ask your for opinions and 
proposals on updating current icon set.
As proposed by Markus, we will focus however not only on icons for QGIS, 
but consider also other OSGeo projects, like GRASS.
Please write your comments in *OSGeo Graphics* mailing list [2] or 
directly in GIS-icons issues [3].


This message is cross-posted, so please open new threads in Graphics ML.

regards
Robert Szczepanek

[1] https://lists.osgeo.org/pipermail/qgis-psc/2017-June/005387.html
[2] https://lists.osgeo.org/listinfo/graphics]
[3] https://github.com/Cracert/GIS-icons
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GRASS GIS installation on Mac OSX [was : Re: [GRASS GIS] #2942: Startup after Novice Install]

2017-06-29 Thread Anna Petrášová
On Jun 29, 2017 3:38 AM, "Rainer Krug"  wrote:


On 29 Jun 2017, at 06:09, Anna Petrášová  wrote:

On Wed, Jun 28, 2017 at 3:17 AM, Rainer Krug  wrote:


On 27 Jun 2017, at 14:32, Anna Petrášová  wrote:

On Tue, Jun 27, 2017 at 3:26 AM, Moritz Lennert
 wrote:

On 27/06/17 01:02, GRASS GIS wrote:


#2942: Startup after Novice Install
+-
Reporter:  pactriglo  |  Owner:  grass-dev@…
Type:  defect | Status:  new
Priority:  normal |  Milestone:  7.0.6
Component:  Startup|Version:  7.0.3
Resolution: |   Keywords:
 CPU:  OSX/Intel  |   Platform:  MacOSX
+-

Comment (by annakrat):

Use homebrew from osgeo4mac:

{{{
brew tap osgeo/osgeo4mac
brew install grass7
}}}

--
Ticket URL: 
GRASS GIS 



Is this the official recommendation on how to install GRASS GIS on Mac OSX
these days ?


I was recommending this way in our recent workshops because it's the
only way which works with SIP enabled. It's far from ideal because it
doesn't always work, sometimes people have several Python
installations on Mac which complicates things


I have the system python, Python 2 (home-brew) and python-3 (also home-brew
install), and it installs without problems. Maybe because I have the hebrew
python install.

It usually get’s tricky if you are mixing different approaches of installing
programs (same on Linux). That is the reason why, where possible, am using
home-brew. I have, for example, no idea how home-brew / grass works together
with python installed via the apple way go MacPorts. This is something which
should be asked on the home-brew mailing list, or better, stackexchange.


also people have Anaconda these days. You have to be careful about the
order of Pythons in your PATH. (It sort of brings the actual meaning
of word python to my mind…)


I have the following python defined:

08:53:45 ~$ which python
/usr/local/bin/python
09:15:36 ~$ python --version
Python 2.7.13
09:15:43 ~$


which is the home-brew python.


Related to this, GRASS uses GRASS_PYTHON to force which Python is used.


GRASS 7.2.0 (grass):~ > echo $GRASS_PYTHON
python
[Raster MASK present]
GRASS 7.2.0 (grass):~ > which python
/usr/local/bin/python
[Raster MASK present]
GRASS 7.2.0 (grass):~ > python --version
Python 2.7.13
[Raster MASK present]
GRASS 7.2.0 (grass):~ >



and for some reason, ctypes don't work there (so no PyGRASS or digitizer or
3D view).


Never used them, but how can I test? Could you give me an example and I
could try on my machine.


Pretty simple, run any of the examples here:

https://grass.osgeo.org/grass73/manuals/libpython/pygrass_vector.html


OK - I am new to python (wrote my first lines of python code about two
weeks ago…). So I am getting

importError: No module named grass.pygrass.vector

in a fresh python session.


Do you run this in GRASS session? Outside it won't work.



The rest is to be tested in the GUI, digitizer and 3D view are
switched on in Map Display.



I see the following in the Map Display menu - does this mean, that they are
not working?




Sorry, I meant Map Display toolbar. There is drop down widget to select
digitizer and 3d view.



And the installation takes time on slower computers because it's compiling
everything.


Actually, there is a bottle (binary) available for grass 7 Sierra

09:02:43 ~$ brew info grass7
osgeo/osgeo4mac/grass7: stable 7.2.0 (bottled)
Geographic Resources Analysis Support System
http://grass.osgeo.org/
/usr/local/Cellar/grass7/7.2.0 (3,751 files, 69.6MB) *
 Poured from bottle on 2017-06-28 at 08:54:11
From:
https://github.com/osgeo/homebrew-osgeo4mac/blob/master/Formula/grass7.rb
==> Dependencies
Build: pkg-config ✔
Required: gettext ✔, readline ✔, flex ✔, bison ✔, lbzip2 ✔, gdal2 ✔, libtiff
✔, unixodbc ✔, fftw ✔, wxpython ✔, cairo ✔, ghostscript ✔
Optional: openblas ✔, liblas ✔, netcdf ✔, ffmpeg ✔
==> Requirements
Required: unlinkedgrass7 ✘, python ✔, numpy (python module) ✔, x11 ✔
Optional: postgresql ✔, mysql ✔
==> Options
--with-ffmpeg
Build with ffmpeg support
--with-gdal-1
Build with GDAL/OGR v1.x instead of v2.x
--with-liblas
Build with liblas support
--with-mysql
Build with mysql support
--with-netcdf
Build with netcdf support
--with-openblas
Build with openblas support
--with-postgresql
Build with postgresql support
--without-gui
Build without WxPython interface. Command line tools still available.
09:03:02 ~$


I just re-installed it. If you use non-default options, grass7 get’s usually
compiled - that is correct.


I see. On a recent workshop we did, a lot of people had problems with
installing GRASS with homebrew, and the most annoying part was that
they had all kinds of errors and we were able to figure out only some
of them.