Re: [GRASS-user] 7.9.dev: which wxPython versions supprted?

2020-05-25 Thread Maris Nartiss
tl;dr Only master branch (7.9) has some wxPython-4.1 related fixes.
Unless you are ready to provide fixes, do not mix GRASS with wxPython
>4.0.

Māris.
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Status of pdal-2.1 support? [UPDATE]

2020-05-25 Thread Maris Nartiss
otrd., 2020. g. 26. maijs, plkst. 01:00 — lietotājs Rich Shepard
() rakstīja:
>
> When I run 'make' it eventually fails because,
> v.in.pdal: error while loading shared libraries: libproj.so.15: cannot open
> shared object file: No such file or directory
>
> That's because proj-7.0.1 provides libproj.so.19.
>
> Please help me understand.

After upgrading to proj-7 you forgot to recompile all libraries
linking to proj. If you are running a system with pre-built packages,
go bark on your GIS package maintainer.
Be ware — mixing proj 6 and 7 in a single system is a road to failure.

> Regards,
>
> Rich

Good luck,
Māris.
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] 7.9.dev: which wxPython versions supprted?

2020-05-25 Thread Rich Shepard

From nete...@osgeo.org Mon May 25 14:35:42 2020


Rich,

did you see
https://github.com/OSGeo/grass/issues/649
?

To which I responded,


Nope. I'll grab wxPython-4.1.0 and see if it builds with the SBo script.


Here's the latest;

I'm moving this to the user mail list because I'm not subscribed to the dev
mail list.

I downloaded wxPython-7.1.0 source code, changed the version number in the
SlackBuilds.org (SBo) build script, and the build completed without errors
other than a couple of empty metadata files.

However, when I try to start 'grass79 -gui' it fails with these errors:

$ grass79 -gui
Starting GRASS GIS...

(gis_set.py:20526): Gtk-WARNING **: Theme parsing error: :1:96: 
'caret-color' is not a valid property name


(gis_set.py:20526): Gtk-WARNING **: Theme parsing error: :1:97: 
'caret-color' is not a valid property name


(gis_set.py:20526): Gtk-WARNING **: Theme parsing error: :1:97: 
'caret-color' is not a valid property name


(gis_set.py:20526): Gtk-WARNING **: Theme parsing error: :1:97: 
'caret-color' is not a valid property name


(gis_set.py:20526): Gtk-WARNING **: Theme parsing error: :1:94: 
'caret-color' is not a valid property name


(gis_set.py:20526): Gtk-WARNING **: Theme parsing error: :1:122: 
'caret-color' is not a valid property name


(gis_set.py:20526): Gtk-WARNING **: Theme parsing error: :1:135: 
'caret-color' is not a valid property name


(gis_set.py:20526): Gtk-WARNING **: Theme parsing error: :1:94: 
'caret-color' is not a valid property name


(gis_set.py:20526): Gtk-WARNING **: Theme parsing error: :1:122: 
'caret-color' is not a valid property name


(gis_set.py:20526): Gtk-WARNING **: Theme parsing error: :1:135: 
'caret-color' is not a valid property name

Traceback (most recent call last):
  File "/usr/local/grass79/gui/wxpython/gis_set.py", line 1148, in OnInit
StartUp = GRASSStartup()
  File "/usr/local/grass79/gui/wxpython/gis_set.py", line 224, in __init__
self._do_layout()
  File "/usr/local/grass79/gui/wxpython/gis_set.py", line 399, in _do_layout
description=self.llocation)
  File "/usr/local/grass79/gui/wxpython/gis_set.py", line 376, in 
layout_list_box

border=1)
wx._core.wxAssertionError: C++ assertion "!(flags & wxALIGN_CENTRE_HORIZONTAL)" 
failed at /tmp/SBo/wxPython-4.1.0/ext/wxWidgets/src/common/sizer.cpp(2106) in 
DoInsert(): Horizontal alignment flags are ignored in horizontal sizers

OnInit returned false, exiting...
ERROR: Error in GUI startup. See messages above (if any) and if necessary, 
please report this error to the GRASS developers.
On systems with package manager, make sure you have the right GUI package, 
probably named grass-gui, installed.

To run GRASS GIS in text mode use the --text flag.
Use '--help' for further options
 grass79 --help
See also: https://grass.osgeo.org/grass79/manuals/helptext.html
Exiting...

Is this a grass issue or an SBo issue? If the latter I'll let the package
maintainer know and he'll probably have it fixed tomorrow.

Regards,

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

Re: [GRASS-user] Status of pdal-2.1 support? [UPDATE]

2020-05-25 Thread Rich Shepard

On Mon, 25 May 2020, Rich Shepard wrote:


Thanks! If I read this correctly GRASS has adopted proj7 and the future
but it's PDAL (which I assume is shown in the list as PDL) that's hanging
things up. Sigh.


Well, now I'm thoroughly confused. The PDAL web landing page says they've
released version 2.1.0. Perhaps the proj adoption page refers to PDL, the
Program Design Language and not PDAL?

Grass 7.9.dev source code, when configured, reports it's using new PROJ 5+
API, but the web page on who's using which proj header file says that grass
has adopted proj.h which is the most recent since project.h was dropped with
proj6 and proj-api.h was supposed to be dropped with proj7.

When I run 'make' it eventually fails because,
v.in.pdal: error while loading shared libraries: libproj.so.15: cannot open
shared object file: No such file or directory

That's because proj-7.0.1 provides libproj.so.19.

Please help me understand.

Regards,

Rich

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

Re: [GRASS-user] Status of pdal-2.1 support? [UPDATE]

2020-05-25 Thread Rich Shepard

On Mon, 25 May 2020, Jeff McKenna wrote:


Here's the recorded status for the adoption of PROJ throughout projects:
https://github.com/OSGeo/PROJ/wiki/proj.h-adoption-status


Jeff,

Thanks! If I read this correctly GRASS has adopted proj7 and the future but
it's PDAL (which I assume is shown in the list as PDL) that's hanging things
up. Sigh.

Stay well,

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

Re: [GRASS-user] Status of pdal-2.1 support? [UPDATE]

2020-05-25 Thread Jeff McKenna

On 2020-05-25 5:29 p.m., Rich Shepard wrote:

On Mon, 25 May 2020, Rich Shepard wrote:


I understand that work's in progress to support pdal-2.1 ...


Mea culpa! It's support for proj 7 that's holding up the build. How's that
coming along?



Here's the recorded status for the adoption of PROJ throughout projects: 
https://github.com/OSGeo/PROJ/wiki/proj.h-adoption-status


-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://gatewaygeo.com/





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

Re: [GRASS-user] Status of pdal-2.1 support? [UPDATE]

2020-05-25 Thread Rich Shepard

On Mon, 25 May 2020, Rich Shepard wrote:


I understand that work's in progress to support pdal-2.1 ...


Mea culpa! It's support for proj 7 that's holding up the build. How's that
coming along?

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

[GRASS-user] 7.9.dev: which wxPython versions supprted?

2020-05-25 Thread Rich Shepard

On my Slackware-14.2/x86_64 systems wxPython4-4.0.7.post2 is installed. When
I try to start grass79 -gui it fails with this error:
Starting GRASS GIS...
ERROR: wxGUI requires wxPython. No module named 'wx'
You can still use GRASS GIS modules in the command line or in Python.
ERROR: Error in GUI startup. See messages above (if any) and if necessary, 
please report this error to the GRASS developers.
On systems with package manager, make sure you have the right GUI package, 
probably named grass-gui, installed.
To run GRASS GIS in text mode use the --text flag.
Use '--help' for further options
 grass79 --help
See also: https://grass.osgeo.org/grass79/manuals/helptext.html
Exiting...

In ~/.bash_profile I
export GRASS_WXVERSION=4.0.7.post2

What wxPython version do I need to use with 7.9.svn?

Regards,

Rich

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

[GRASS-user] Status of pdal-2.1 support?

2020-05-25 Thread Rich Shepard

I understand that work's in progress to support pdal-2.1 and higher in the
development branch, and I'm curious if there's an estimated date when it
might be available.

Regards,

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

Re: [GRASS-user] Error in v.distance when running from R (in a container)

2020-05-25 Thread Markus Neteler
Hi Mehrdad,

On Mon, May 25, 2020 at 10:24 AM Mehrdad Varedi  wrote:
>
> Hi Everyone,
> I can run the R program with no problem from a Shiny app I have in Rstudio. 
> Although when running the program from a container, I receive an error when 
> running the v.distance and program halts.
>
> here is the error dump I receive, not so much informative, although I 
> appreciate to know if you have ever seen such an issue: (FYI many other grass 
> functions are executed before this error happens)
>
> Warning: Error in execGRASS: The command:
> v.distance --overwrite --verbose from=WM_End from_layer=1 from_type=point 
> to=WM_start to_layer=1 to_type=point dmax=0.5 dmin=-1 upload=to_attr 
> column=LinkedWMID to_column=WMAINID separator=tab
> produced an error (1) during execution:
> Finds the nearest element in vector map 'to' for elements in vector map 
> 'from'.
>
> Usage:
>  v.distance [-pas] from=name [from_layer=string]
>[from_type=string[,string,...]] to=name [to_layer=string]
>[to_type=string[,string,...]] [output=name] [dmax=value] [dmin=value]
>upload=string[,string,...] [column=name[,name,...]] [to_column=name]
>[table=name] [separator=character] [--overwrite] [--help] [--verbose]
>[--quiet] [--ui]
>
> Flags:
>   -p   Print output to stdout, don't update attribute table
>   -a   Calculate distances to all features within the threshold
>   -s   Print output as square matrix (only possible for one single upload 
> variable)
>
> Parameters:
> from   Name of existing vector map (from)
>   from_layer   Laye [... truncated]

^--- and chance to expand this "truncated"? Exactly therein you will
find the error message :-)
It is in the last line of the truncated part.

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

Re: [GRASS-user] Error in v.distance when running from R (in a container)

2020-05-25 Thread Mehrdad Varedi
Hi Everyone,
I can run the R program with no problem from a Shiny app I have in Rstudio.
Although when running the program from a container, I receive an error when
running the v.distance and program halts.

here is the error dump I receive, not so much informative, although I
appreciate to know if you have ever seen such an issue: (FYI many other
grass functions are executed before this error happens)

Warning: Error in execGRASS: The command:
v.distance --overwrite --verbose from=WM_End from_layer=1 from_type=point
to=WM_start to_layer=1 to_type=point dmax=0.5 dmin=-1 upload=to_attr
column=LinkedWMID to_column=WMAINID separator=tab
produced an error (1) during execution:
Finds the nearest element in vector map 'to' for elements in vector map
'from'.

Usage:
 v.distance [-pas] from=name [from_layer=string]
   [from_type=string[,string,...]] to=name [to_layer=string]
   [to_type=string[,string,...]] [output=name] [dmax=value] [dmin=value]
   upload=string[,string,...] [column=name[,name,...]] [to_column=name]
   [table=name] [separator=character] [--overwrite] [--help] [--verbose]
   [--quiet] [--ui]

Flags:
  -p   Print output to stdout, don't update attribute table
  -a   Calculate distances to all features within the threshold
  -s   Print output as square matrix (only possible for one single upload
variable)

Parameters:
from   Name of existing vector map (from)
  from_layer   Laye [... truncated]
  80: stop
  79: execGRASS
  78: MarkTheEnds
  77: GetBaseNetworkNTransform

Thanks and Kind regards,

Mehrdad


Mehrdad Varedi, M.A.Sc.
Waterlix  Inc. Founder
www.waterlix.com
Cell: +1 (519)722-7057
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user