Re: [GRASS-dev] [GRASS GIS] #3224: broken links to source code and history in add-ons user manuals

2017-02-16 Thread GRASS GIS
#3224: broken links to source code and history in add-ons user manuals
-+-
  Reporter:  veroandreo  |  Owner:  martinl
  Type:  defect  | Status:  reopened
  Priority:  normal  |  Milestone:  7.2.1
 Component:  Addons  |Version:  svn-releasebranch72
Resolution:  |   Keywords:  add-ons, links, user manual
   CPU:  x86-64  |   Platform:  Linux
-+-

Comment (by martinl):

 In [changeset:"70605" 70605]:
 {{{
 #!CommitTicketReference repository="" revision="70605"
 broken links to source code and history in add-ons user manuals (see
 #3224)
(merge r70546 from trunk)
 }}}

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] GRASS working under Mac El Capitan with SIP/rootless?

2017-02-16 Thread Michael Barton
I don't remember where this was from originally. Many months back. I *think* it 
may have been when I was trying to use wxPython3. SIP was already off.

Michael

C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu















On Feb 16, 2017, at 8:54 PM, Vaclav Petras 
mailto:wenzesl...@gmail.com>> wrote:


On Wed, Sep 14, 2016 at 11:14 AM, Michael Barton 
mailto:michael.bar...@asu.edu>> wrote:
Oddly, the only things I've run into that don't work so far are 3D mode, vector 
digitizer, and raster digitizer. The only errors are the following in the 
terminal at startup:

Launching  GUI in the background, please wait...
GRASS 7.3.svn (nc_spm_08_grass7):~ > Unable to import pyGRASS: 
grass_gis.7.3.svn not found.
Some functionality will be not accessible

And the following in the console after startup:

3D view mode not available
Reason: grass_gis.7.3.svn not found.

Vector digitizer not available
Reason: cannot import name GV_LINES
Note that the wxGUI's vector digitizer is currently disabled
(hopefully this will be fixed soon). Please keep an eye out
for updated versions of GRASS. In the meantime you can use
"v.digit" from the Develop Vector menu.

The 3D mode error seems similar to the pyGRASS not importing error
I'm not sure where GV_LINES comes from.

Any ideas on this? If these turn out to be the only problems, we are close to 
finally getting this issue resolved.

This is likely caused by the fact that the dynamic libraries are not loaded 
because the DYLD_LIBRARY_PATH is ignored. If you disable SIP you will get past 
that.

Anyway I don't understand why the modules are working (e.g. GRASS and GUI 
starts) and ctypes are not (v digitizer, 3D, PyGRASS depend on ctypes loading 
the GRASS libs). It seems that that's the part needed to resolve this issue. 
(It is actually the same for Homebrew as well.)

PyGRASS should not be touched during startup and in GUI, so I don't know where 
"Unable to import pyGRASS" is coming from but that's a secondary issue not 
spotted elsewhere (it is also an old version).

Vaclav

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

Re: [GRASS-dev] GRASS working under Mac El Capitan with SIP/rootless?

2017-02-16 Thread Vaclav Petras
On Wed, Sep 14, 2016 at 11:14 AM, Michael Barton 
wrote:

> Oddly, the only things I've run into that don't work so far are 3D mode,
> vector digitizer, and raster digitizer. The only errors are the following
> in the terminal at startup:
>
> Launching  GUI in the background, please wait...
> GRASS 7.3.svn (nc_spm_08_grass7):~ > Unable to import pyGRASS:
> grass_gis.7.3.svn not found.
> Some functionality will be not accessible
>
> And the following in the console after startup:
>
> 3D view mode not available
>
> Reason: grass_gis.7.3.svn not found.
>
> Vector digitizer not available
>
> Reason: cannot import name GV_LINES
>
> Note that the wxGUI's vector digitizer is currently disabled
> (hopefully this will be fixed soon). Please keep an eye out
> for updated versions of GRASS. In the meantime you can use
> "v.digit" from the Develop Vector menu.
>
> The 3D mode error seems similar to the pyGRASS not importing error
> I'm not sure where GV_LINES comes from.
>
> Any ideas on this? If these turn out to be the only problems, we are close
> to finally getting this issue resolved.
>

This is likely caused by the fact that the dynamic libraries are not loaded
because the DYLD_LIBRARY_PATH is ignored. If you disable SIP you will get
past that.

Anyway I don't understand why the modules are working (e.g. GRASS and GUI
starts) and ctypes are not (v digitizer, 3D, PyGRASS depend on ctypes
loading the GRASS libs). It seems that that's the part needed to resolve
this issue. (It is actually the same for Homebrew as well.)

PyGRASS should not be touched during startup and in GUI, so I don't know
where "Unable to import pyGRASS" is coming from but that's a secondary
issue not spotted elsewhere (it is also an old version).

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

Re: [GRASS-dev] [GRASS GIS] #2750: LZ4 when writing raster rows; better than double I/O bound r.mapcalc speed

2017-02-16 Thread GRASS GIS
#2750: LZ4 when writing raster rows; better than double I/O bound r.mapcalc 
speed
--+---
  Reporter:  sprice   |  Owner:  grass-dev@…
  Type:  enhancement  | Status:  new
  Priority:  normal   |  Milestone:  7.2.1
 Component:  Raster   |Version:  svn-trunk
Resolution:   |   Keywords:  ZLIB LZ4 ZSTD
   CPU:  OSX/Intel|   Platform:  MacOSX
--+---

Comment (by wenzeslaus):

 This seems like a great success!

 Seth, do you want to add another method?

 MarkusM, is there something else remaining?

 MarkusN, anything you want to change or document?

 If everybody is OK, we can close this.

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] g.gui.timeline Bad file descriptor on exit

2017-02-16 Thread Anna Petrášová
On Thu, Feb 16, 2017 at 4:48 AM, Markus Neteler  wrote:
> On Thu, Feb 16, 2017 at 4:03 AM, Anna Petrášová  wrote:
>> On Wed, Feb 15, 2017 at 4:59 PM, Markus Neteler  wrote:
>>> # test case
>>> grass72 ~/grassdata/nc_climate_spm_2000_2012/climate_1970_2012/
>>> g.gui.timeline tempmean_2012
> ...
>>> IOError: [Errno 9] Bad file descriptor
>>>
>>> Shall I open a ticket or is that easy to fix?
>>
>> Fortunately it was easy, please test and I will backport.
>
> Well done, works! Please backport.

Done!

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

Re: [GRASS-dev] Temporal framework: error when trying to register vector maps using register_map_object_list()

2017-02-16 Thread Anna Petrášová
On Thu, Feb 16, 2017 at 9:28 PM, Laurent C.  wrote:
> Hello all,
>
> I'm trying to register a list of VectorDataset objects in a STVDS
> using tgis.register.register_map_object_list().
>
> The same function works fine when trying to register a list of
> RasterDataset objects.
> However, when using it with VectorDataset objects, I get the following error:
> ```
>   File "/usr/lib/grass72/etc/python/grass/temporal/register.py", line
> 480, in register_map_object_list
> if map_layer.metadata.get_min() is None and \
> AttributeError: 'VectorMetadata' object has no attribute 'get_min'
> ```
>
> Do I do something wrong or should I fill up a Trac issue?

I didn't investigate, but that looks like a bug to me, so yes, please
create a ticket.

Anna

>
> Thanks for your help,
>
> Laurent
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] Temporal framework: error when trying to register vector maps using register_map_object_list()

2017-02-16 Thread Laurent C.
Hello all,

I'm trying to register a list of VectorDataset objects in a STVDS
using tgis.register.register_map_object_list().

The same function works fine when trying to register a list of
RasterDataset objects.
However, when using it with VectorDataset objects, I get the following error:
```
  File "/usr/lib/grass72/etc/python/grass/temporal/register.py", line
480, in register_map_object_list
if map_layer.metadata.get_min() is None and \
AttributeError: 'VectorMetadata' object has no attribute 'get_min'
```

Do I do something wrong or should I fill up a Trac issue?

Thanks for your help,

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

Re: [GRASS-dev] [GRASS GIS] #3246: r.in.srtm: patch to support SRTM water bodies import (SWBD)

2017-02-16 Thread GRASS GIS
#3246: r.in.srtm: patch to support SRTM water bodies import (SWBD)
--+-
  Reporter:  stjo |  Owner:  grass-dev@…
  Type:  enhancement  | Status:  new
  Priority:  normal   |  Milestone:  7.2.1
 Component:  Python   |Version:  svn-releasebranch72
Resolution:   |   Keywords:  r.in.srtm
   CPU:  Unspecified  |   Platform:  All
--+-

Comment (by stjo):

 I'm really sorry for the wrong link.

 If you still want to test my changes, the correct link is:
 https://e4ftl01.cr.usgs.gov/SRTM/SRTMSWBD.003/2000.02.11/

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] g.gui.timeline Bad file descriptor on exit

2017-02-16 Thread Markus Neteler
On Thu, Feb 16, 2017 at 4:03 AM, Anna Petrášová  wrote:
> On Wed, Feb 15, 2017 at 4:59 PM, Markus Neteler  wrote:
>> # test case
>> grass72 ~/grassdata/nc_climate_spm_2000_2012/climate_1970_2012/
>> g.gui.timeline tempmean_2012
...
>> IOError: [Errno 9] Bad file descriptor
>>
>> Shall I open a ticket or is that easy to fix?
>
> Fortunately it was easy, please test and I will backport.

Well done, works! Please backport.

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