Re: [GRASS-dev] m.printws - new module recommendation/announcement

2016-08-03 Thread Vaclav Petras
On Wed, Aug 3, 2016 at 3:47 PM, Veronica Andreo 
wrote:

> extract only the m.printws, zip it and use g.extension
>
> g.extension m.printws url=/home/veroandreo/software/m.printws.zip
>


Zipping is not necessary, g.extension should work on directories as well.
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] m.printws - new module recommendation/announcement

2016-08-03 Thread Veronica Andreo
Thanks much for the instructions, Anna!

In the end, what I did was to download the whole folder, unzip, extract
only the m.printws, zip it and use g.extension

g.extension m.printws url=/home/veroandreo/software/m.printws.zip

and it worked perfectly :)

best,
Vero

2016-08-03 16:14 GMT-03:00 Anna Petrášová :

> On Wed, Aug 3, 2016 at 2:49 PM, Veronica Andreo 
> wrote:
> > Hello Robert,
> >
> > I would like to test this new add-on very much, but I haven't been able
> to
> > install it with g.extension as explained here:
> > https://grass.osgeo.org/grass73/manuals/g.extension.html for the case of
> > repositories other than SVN. This is the command I'm using:
> >
> > g.extension m.printws
> > url=github.com/kuszinger/giscomgrass7addons/tree/master/m.printws
> > Fetching  from
> > <
> https://github.com/kuszinger/giscomgrass7addons/tree/master/m.printws/archive/master.zip
> >
> > (be patient)...
> > ERROR: Extension  not found
> >
> > (I'm using a freshly recompiled grass73 - r69069M under Linux-Fedora24)
> >
> > Am I using g.extension properly? Any ideas?
>
> I think it's because it's not at top level in the repository.
> g.extension expects the module is at top level and creates an URL of
> the zip. Github doesn't seem to allow you to download a subdirectory
> from the repo as a zip, so I don't think we can do anything about it,
> at least not easily.
>
> Either download the module manually and run in the directory with the
> module:
> make MODULE_TOPDIR=/path/to/trunk
> make install MODULE_TOPDIR=/path/to/trunk
>
> or Robert can split the repo into two, one for each addon.
>
> Anna
>
> >
> > Best,
> > Vero
> >
> > 2016-08-03 11:15 GMT-03:00 Robert Kuszinger :
> >>
> >> Hi all,
> >>
> >> I've created a new python script which generates:
> >>
> >> quick printout (pdf) from workspace definitions
> >> supports multiple display definitions in one workspace ( = multiple
> >> printouts in one run)
> >> UTF-8 text could also be printed (ps.map supports only latin1, this was
> >> the initial reason to create alternative print method)
> >>
> >> known major issues:
> >>
> >> barscale and northarrow positioning should be revised in the respective
> >> d.* modules
> >> ImageMagick dependency should be eliminated longer term
> >> regexp processing of workspace files instead of formal XML processing
> >> needs more calibration on txt/symbol resizing according to printout dpi
> >> change
> >>
> >>
> >> This module is NOT for professional prints but for quick and
> >> hopefully comfortable
> >> printout making.
> >>
> >> Tested under:
> >>
> >> Linux: 7.0.4,7.2 latest, 7.3 weekly snapshot
> >> Windows: 7.3 binary OSGeo4W
> >>
> >>
> >> Source and doc are here:
> >>
> >> https://github.com/kuszinger/giscomgrass7addons/tree/master/m.printws
> >>
> >> best regards
> >> Robert
> >>
> >>
> >> ___
> >> grass-dev mailing list
> >> grass-dev@lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/grass-dev
> >
> >
> >
> > ___
> > grass-dev mailing list
> > grass-dev@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-dev
>
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] m.printws - new module recommendation/announcement

2016-08-03 Thread Anna Petrášová
On Wed, Aug 3, 2016 at 2:49 PM, Veronica Andreo  wrote:
> Hello Robert,
>
> I would like to test this new add-on very much, but I haven't been able to
> install it with g.extension as explained here:
> https://grass.osgeo.org/grass73/manuals/g.extension.html for the case of
> repositories other than SVN. This is the command I'm using:
>
> g.extension m.printws
> url=github.com/kuszinger/giscomgrass7addons/tree/master/m.printws
> Fetching  from
> 
> (be patient)...
> ERROR: Extension  not found
>
> (I'm using a freshly recompiled grass73 - r69069M under Linux-Fedora24)
>
> Am I using g.extension properly? Any ideas?

I think it's because it's not at top level in the repository.
g.extension expects the module is at top level and creates an URL of
the zip. Github doesn't seem to allow you to download a subdirectory
from the repo as a zip, so I don't think we can do anything about it,
at least not easily.

Either download the module manually and run in the directory with the module:
make MODULE_TOPDIR=/path/to/trunk
make install MODULE_TOPDIR=/path/to/trunk

or Robert can split the repo into two, one for each addon.

Anna

>
> Best,
> Vero
>
> 2016-08-03 11:15 GMT-03:00 Robert Kuszinger :
>>
>> Hi all,
>>
>> I've created a new python script which generates:
>>
>> quick printout (pdf) from workspace definitions
>> supports multiple display definitions in one workspace ( = multiple
>> printouts in one run)
>> UTF-8 text could also be printed (ps.map supports only latin1, this was
>> the initial reason to create alternative print method)
>>
>> known major issues:
>>
>> barscale and northarrow positioning should be revised in the respective
>> d.* modules
>> ImageMagick dependency should be eliminated longer term
>> regexp processing of workspace files instead of formal XML processing
>> needs more calibration on txt/symbol resizing according to printout dpi
>> change
>>
>>
>> This module is NOT for professional prints but for quick and
>> hopefully comfortable
>> printout making.
>>
>> Tested under:
>>
>> Linux: 7.0.4,7.2 latest, 7.3 weekly snapshot
>> Windows: 7.3 binary OSGeo4W
>>
>>
>> Source and doc are here:
>>
>> https://github.com/kuszinger/giscomgrass7addons/tree/master/m.printws
>>
>> best regards
>> Robert
>>
>>
>> ___
>> grass-dev mailing list
>> grass-dev@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
>
>
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] m.printws - new module recommendation/announcement

2016-08-03 Thread Veronica Andreo
Hello Robert,

I would like to test this new add-on very much, but I haven't been able to
install it with g.extension as explained here:
https://grass.osgeo.org/grass73/manuals/g.extension.html for the case of
repositories other than SVN. This is the command I'm using:

g.extension m.printws url=
github.com/kuszinger/giscomgrass7addons/tree/master/m.printws
Fetching  from
<
https://github.com/kuszinger/giscomgrass7addons/tree/master/m.printws/archive/master.zip
>
(be patient)...
ERROR: Extension  not found

(I'm using a freshly recompiled grass73 - r69069M under Linux-Fedora24)

Am I using g.extension properly? Any ideas?

Best,
Vero

2016-08-03 11:15 GMT-03:00 Robert Kuszinger :

> Hi all,
>
> I've created a new python script which generates:
>
>- quick printout (pdf) from workspace definitions
>- supports multiple display definitions in one workspace ( = multiple
>printouts in one run)
>- UTF-8 text could also be printed (ps.map supports only latin1, this
>was the initial reason to create alternative print method)
>
> known major issues:
>
>- barscale and northarrow positioning should be revised in the
>respective d.* modules
>- ImageMagick dependency should be eliminated longer term
>- regexp processing of workspace files instead of formal XML processing
>- needs more calibration on txt/symbol resizing according to printout
>dpi change
>
>
> This module is NOT for professional prints but for quick and
> hopefully comfortable
> printout making.
>
> Tested under:
>
>- Linux: 7.0.4,7.2 latest, 7.3 weekly snapshot
>- Windows: 7.3 binary OSGeo4W
>
>
> Source and doc are here:
>
> https://github.com/kuszinger/giscomgrass7addons/tree/master/m.printws
>
> best regards
> Robert
>
>
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3112: wxgui scatterplot tool: C++ assertion "m_window" failed at ../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work without window

2016-08-03 Thread GRASS GIS
#3112: wxgui scatterplot tool: C++ assertion "m_window" failed at
../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work
without window
--+-
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.0.5
 Component:  wxGUI|Version:  svn-trunk
Resolution:   |   Keywords:  scatterplot
   CPU:  Unspecified  |   Platform:  Unspecified
--+-
Changes (by annakrat):

 * Attachment "wxlibplot_imports.diff" added.

 changes in imports

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3112: wxgui scatterplot tool: C++ assertion "m_window" failed at ../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work without window

2016-08-03 Thread GRASS GIS
#3112: wxgui scatterplot tool: C++ assertion "m_window" failed at
../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work
without window
--+-
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.0.5
 Component:  wxGUI|Version:  svn-trunk
Resolution:   |   Keywords:  scatterplot
   CPU:  Unspecified  |   Platform:  Unspecified
--+-

Comment (by annakrat):

 I modified the plot.py based on the information in the ticket and now it
 works for me, please test. I added it to gui_core and change all imports
 to:
 {{{import gui_core.wxlibplot as plot}}}

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3112: wxgui scatterplot tool: C++ assertion "m_window" failed at ../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work without window

2016-08-03 Thread GRASS GIS
#3112: wxgui scatterplot tool: C++ assertion "m_window" failed at
../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work
without window
--+-
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.0.5
 Component:  wxGUI|Version:  svn-trunk
Resolution:   |   Keywords:  scatterplot
   CPU:  Unspecified  |   Platform:  Unspecified
--+-
Changes (by annakrat):

 * Attachment "wxlibplot.py" added.

 modified plot.py

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] Fwd: [wxPython-users] 3.0.3 ?

2016-08-03 Thread Michael Barton
This is good news indeed.

Now to work out how to compile it...

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 Aug 3, 2016, at 8:16 AM, 
grass-dev-requ...@lists.osgeo.org 
wrote:

From: Anna Petrášová >
Subject: [GRASS-dev] Fwd: [wxPython-users] 3.0.3 ?
Date: August 3, 2016 at 5:12:01 AM MDT
To: GRASS-dev >


Good news, one of the blockers for using wxPython Phoenix (the
completely new version of wxPython supporting Python 3) was solved, so
we can start testing it.

Anna

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

Re: [GRASS-dev] [GRASS GIS] #3036: Bug with location wizard on OSX (version 7, homebrew)

2016-08-03 Thread GRASS GIS
#3036: Bug with location wizard on OSX (version 7, homebrew)
-+-
  Reporter:  guano   |  Owner:  grass-dev@…
  Type:  defect  | Status:  closed
  Priority:  normal  |  Milestone:  7.0.5
 Component:  wxGUI   |Version:  7.0.3
Resolution:  fixed   |   Keywords:  location
   CPU:  x86-64  |   Platform:  MacOSX
-+-

Comment (by annakrat):

 In [changeset:"69071" 69071]:
 {{{
 #!CommitTicketReference repository="" revision="69071"
 wxGUI: fix #3036 (merge from trunk)
 }}}

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3036: Bug with location wizard on OSX (version 7, homebrew)

2016-08-03 Thread GRASS GIS
#3036: Bug with location wizard on OSX (version 7, homebrew)
-+-
  Reporter:  guano   |  Owner:  grass-dev@…
  Type:  defect  | Status:  closed
  Priority:  normal  |  Milestone:  7.0.5
 Component:  wxGUI   |Version:  7.0.3
Resolution:  fixed   |   Keywords:  location
   CPU:  x86-64  |   Platform:  MacOSX
-+-

Comment (by annakrat):

 In [changeset:"69070" 69070]:
 {{{
 #!CommitTicketReference repository="" revision="69070"
 wxGUI: fix #3036 (merge from trunk)
 }}}

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3036: Bug with location wizard on OSX (version 7, homebrew)

2016-08-03 Thread GRASS GIS
#3036: Bug with location wizard on OSX (version 7, homebrew)
-+-
  Reporter:  guano   |  Owner:  grass-dev@…
  Type:  defect  | Status:  closed
  Priority:  normal  |  Milestone:  7.0.5
 Component:  wxGUI   |Version:  7.0.3
Resolution:  fixed   |   Keywords:  location
   CPU:  x86-64  |   Platform:  MacOSX
-+-
Changes (by annakrat):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"69069" 69069]:
 {{{
 #!CommitTicketReference repository="" revision="69069"
 wxGUI: fix #3036
 }}}

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] Fwd: [wxPython-users] 3.0.3 ?

2016-08-03 Thread Anna Petrášová
On Wed, Aug 3, 2016 at 9:50 AM, Moritz Lennert
 wrote:
> On 03/08/16 13:12, Anna Petrášová wrote:
>>
>> Good news, one of the blockers for using wxPython Phoenix (the
>> completely new version of wxPython supporting Python 3) was solved, so
>> we can start testing it.
>
>
> Sounds great. Do I understand correctly that the Phoenix API is different
> from the classic API and thus wxGUI will have to be rewritten for Phoenix ?
> Or can I just install Phoenix and it should work ?

I think something in between. It's fairly compatible, so we don't have
to rewrite it but some ifs here and there might be needed. At least
that's my guess.

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

Re: [GRASS-dev] [GRASS GIS] #3112: wxgui scatterplot tool: C++ assertion "m_window" failed at ../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work without window

2016-08-03 Thread GRASS GIS
#3112: wxgui scatterplot tool: C++ assertion "m_window" failed at
../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work
without window
--+-
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.0.5
 Component:  wxGUI|Version:  svn-trunk
Resolution:   |   Keywords:  scatterplot
   CPU:  Unspecified  |   Platform:  Unspecified
--+-

Comment (by annakrat):

 Then it makes sense, your version of wxPython has fixed the original
 problem, but now a different problem appears (apparently only for wxGTK).
 There are some clues in the ticket you link, but I am not sure if it
 helps. If I can reproduce it on my system I'll try to look at it.

--
Ticket URL: 
GRASS GIS 

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

[GRASS-dev] m.printws - new module recommendation/announcement

2016-08-03 Thread Robert Kuszinger
Hi all,

I've created a new python script which generates:

   - quick printout (pdf) from workspace definitions
   - supports multiple display definitions in one workspace ( = multiple
   printouts in one run)
   - UTF-8 text could also be printed (ps.map supports only latin1, this
   was the initial reason to create alternative print method)

known major issues:

   - barscale and northarrow positioning should be revised in the
   respective d.* modules
   - ImageMagick dependency should be eliminated longer term
   - regexp processing of workspace files instead of formal XML processing
   - needs more calibration on txt/symbol resizing according to printout
   dpi change


This module is NOT for professional prints but for quick and
hopefully comfortable
printout making.

Tested under:

   - Linux: 7.0.4,7.2 latest, 7.3 weekly snapshot
   - Windows: 7.3 binary OSGeo4W


Source and doc are here:

https://github.com/kuszinger/giscomgrass7addons/tree/master/m.printws

best regards
Robert
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] Memory use in v.in.lidar for points with attributes

2016-08-03 Thread Newcomb, Doug
v.lidar.mcc seems to be running fine without attributes or topology.  Not
sure why I thought it needed a regular point vector layer.  Sorry for the
noise.

Doug

On Fri, Jul 22, 2016 at 11:27 AM, Moritz Lennert <
mlenn...@club.worldonline.be> wrote:

> On 22/07/16 16:05, Newcomb, Doug wrote:
>
>> Hi Folks,
>> My goal is to import a LiDAR point cloud from an LAS file with 152
>> million points.  I would like to use v.lidar.mcc to extract bare earth
>> points from the point cloud for generating a DEM  However, v.lidar.mcc
>> requires that the point layer have an attribute table
>>
>
> Are you sure ? The example in the v.lidar.mcc man page says:
>
> v.in.lidar -tr input=points.las output=points
> v.lidar.mcc points ground=ground_points nonground=non_ground_points
>
> the -t in v.in.lidar means "Do not create attribute table".
>
> > rather than just
> > the raw x,y,z points without topography.
>
> Do you mean topology ?
>
> Attribute table and topology are two seperate issues.
>
>
>> So using v.in.lidar, I am importing  the lidar points as normal points,
>> and the memory usage is steadily climbing.  Less than 1/4 of the points
>> are imported and memory usage is at 5GB . This on a Windows 7 64 bit
>> system with GRASS 7.2 svn
>>
>> I'm suspecting this is not the expected behavior.
>>
>
> I would say that it is expected. YMMMV with different database backends,
> but attribute handling can be memory-heavy.
>
> What does v.in.lidar -t give you ?
>
> If some attribute really need to be conserver, maybe this a good case to
> test Vaclav's additions to v.in.lidar, storing attributes as cat values,
> instead of attributes in a table:
>
> https://lists.osgeo.org/pipermail/grass-dev/2015-September/076490.html
> https://trac.osgeo.org/grass/changeset/66343
>
> Moritz
>



-- 
Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newc...@fws.gov
-
The opinions I express are my own and are not representative of the
official policy of the U.S.Fish and Wildlife Service or Dept. of the
Interior.   Life is too short for undocumented, proprietary data formats.
As a federal employee, my email may be subject to FOIA request.
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] Fwd: [wxPython-users] 3.0.3 ?

2016-08-03 Thread Moritz Lennert

On 03/08/16 13:12, Anna Petrášová wrote:

Good news, one of the blockers for using wxPython Phoenix (the
completely new version of wxPython supporting Python 3) was solved, so
we can start testing it.


Sounds great. Do I understand correctly that the Phoenix API is 
different from the classic API and thus wxGUI will have to be rewritten 
for Phoenix ? Or can I just install Phoenix and it should work ?


Moritz

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

Re: [GRASS-dev] [GRASS GIS] #2558: wxgui: profile surface map, bivariate scatter plot, histogram of raster map broken with wxPython 3.0.2 but work fine fine with 2.8

2016-08-03 Thread GRASS GIS
#2558: wxgui: profile surface map, bivariate scatter plot, histogram of raster 
map
broken with wxPython 3.0.2 but work fine fine with 2.8
---+-
  Reporter:  humu2015  |  Owner:  grass-dev@…
  Type:  defect| Status:  new
  Priority:  major |  Milestone:  6.4.6
 Component:  wxGUI |Version:  7.0.4
Resolution:|   Keywords:  wxgui
   CPU:  All   |   Platform:  All
---+-

Comment (by mlennert):

 Actually, the original problem I had (TypeError: Required argument 'type'
 (pos 2) not found) seems to have been solved in the latest python-wx
 package in Debian (3.0.2.0+dfsg-3). However, I now get the problem
 reported in #3112, so maybe these two bug reports should be merged...

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3112: wxgui scatterplot tool: C++ assertion "m_window" failed at ../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work without window

2016-08-03 Thread GRASS GIS
#3112: wxgui scatterplot tool: C++ assertion "m_window" failed at
../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work
without window
--+-
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.0.5
 Component:  wxGUI|Version:  svn-trunk
Resolution:   |   Keywords:  scatterplot
   CPU:  Unspecified  |   Platform:  Unspecified
--+-

Comment (by mlennert):

 Replying to [comment:2 annakrat]:
 > Replying to [ticket:3112 mlennert]:
 > > Trying to use the bivariate scatterplot tool in the Map Display I get
 the following error and nothing else:
 >
 > Please check if you have any local changes. I've seen this error when I
 was experimenting with #2558.

 I just compiled a completely fresh checkout of trunk now. I don't think
 that the python-wx had any local modifications.

 But the issue seems to be known:

 * http://trac.wxwidgets.org/ticket/17293
 * http://nuand.com/forums/viewtopic.php?t=3604=5820

 Apparently some inconsistencies in python-wx3, IIUC.

 The latest Debian version that I use actually includes a bugfix for the
 lib/plot.py:

 http://metadata.ftp-
 master.debian.org/changelogs//main/w/wxpython3.0/wxpython3.0_3.0.2.0+dfsg-
 3_changelog

 based on a patch proposed in Launchpad:

 https://bugs.launchpad.net/ubuntu/+source/wxpython3.0/+bug/1545698

 which gets rid of the problem reported in #2558, but now I see the problem
 reported here...

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #2558: wxgui: profile surface map, bivariate scatter plot, histogram of raster map broken with wxPython 3.0.2 but work fine fine with 2.8

2016-08-03 Thread GRASS GIS
#2558: wxgui: profile surface map, bivariate scatter plot, histogram of raster 
map
broken with wxPython 3.0.2 but work fine fine with 2.8
---+-
  Reporter:  humu2015  |  Owner:  grass-dev@…
  Type:  defect| Status:  new
  Priority:  major |  Milestone:  6.4.6
 Component:  wxGUI |Version:  7.0.4
Resolution:|   Keywords:  wxgui
   CPU:  All   |   Platform:  All
---+-

Comment (by mlennert):

 Replying to [comment:12 msieczka]:
 > Replying to [comment:11 annakrat]:
 > > I don't think selecting 2.8 is a good solution.
 >
 > Can you explain why you think so?
 >
 > > I suggest copying the plot.py file from wx and distribute it with
 GRASS gui.
 >
 > How exactly? Which particular
 https://github.com/wxWidgets/wxPython/commits/master/wx/lib/plot.py
 version would you use?
 >
 > mlennert complained about some other errors taking place when he tried
 it. I wish we knew what he did and what were those errors.

 I locally applied the patch at [1], but as I said this led to other errors
 and I did not have time to pursue. And, no, I didn't record the other
 errors, just gave up...

 [1] http://trac.wxwidgets.org/changeset/77995/svn-wx

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3038: Decide if validity check in r.in.lidar should be an additional filter or a filter enabled by default

2016-08-03 Thread GRASS GIS
#3038: Decide if validity check in r.in.lidar should be an additional filter or 
a
filter enabled by default
-+-
  Reporter:  wenzeslaus  |  Owner:  grass-dev@…
  Type:  task| Status:  closed
  Priority:  normal  |  Milestone:  7.2.0
 Component:  Raster  |Version:  svn-trunk
Resolution:  fixed   |   Keywords:  r.in.lidar, r3.in.lidar,
   CPU:  |  v.in.lidar, libLAS, PDAL
  Unspecified|   Platform:  Unspecified
-+-
Changes (by wenzeslaus):

 * status:  new => closed
 * resolution:   => fixed


--
Ticket URL: 
GRASS GIS 

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

[GRASS-dev] [GRASS GIS] #3113: g.gui.scatterplot: create startup script for scatterplot tool

2016-08-03 Thread GRASS GIS
#3113: g.gui.scatterplot: create startup script for scatterplot tool
+--
 Reporter:  neteler |  Owner:  grass-dev@…
 Type:  enhancement | Status:  new
 Priority:  normal  |  Milestone:  7.2.0
Component:  wxGUI   |Version:  svn-
|  releasebranch72
 Keywords:  g.gui.scatterplot, scatterplot  |CPU:  Unspecified
 Platform:  Unspecified |
+--
 In order to replace d.correlate (see also #3107) which provides command
 line support, a startup script for the wx scatterplot tool is needed.

 Once available, d.correlate might be removed from trunk or replaced with a
 wrapper to the g.gui.scatterplot.

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3107: d.correlate: add plotting of axes

2016-08-03 Thread GRASS GIS
#3107: d.correlate: add plotting of axes
--+-
  Reporter:  neteler  |  Owner:  grass-dev@…
  Type:  enhancement  | Status:  closed
  Priority:  normal   |  Milestone:  7.2.0
 Component:  Display  |Version:  svn-releasebranch72
Resolution:  wontfix  |   Keywords:  d.correlate
   CPU:  Unspecified  |   Platform:  Unspecified
--+-
Changes (by neteler):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Replying to [comment:2 mlennert]:
 > ... a standalone g.gui.scatterplot tool which would then offer more
 layouting functionality than d.correlate.

 Big +1, no need to further develop d.correlate at this point.
 Seems I forgot about it due to the current absence of a g.gui.scatterplot
 start script :)

 I'll create a new ticket and close this ticket.

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3112: wxgui scatterplot tool: C++ assertion "m_window" failed at ../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work without window

2016-08-03 Thread GRASS GIS
#3112: wxgui scatterplot tool: C++ assertion "m_window" failed at
../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work
without window
--+-
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.0.5
 Component:  wxGUI|Version:  svn-trunk
Resolution:   |   Keywords:  scatterplot
   CPU:  Unspecified  |   Platform:  Unspecified
--+-

Comment (by annakrat):

 Replying to [ticket:3112 mlennert]:
 > Trying to use the bivariate scatterplot tool in the Map Display I get
 the following error and nothing else:

 Please check if you have any local changes. I've seen this error when I
 was experimenting with #2558.

--
Ticket URL: 
GRASS GIS 

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

[GRASS-dev] Fwd: [wxPython-users] 3.0.3 ?

2016-08-03 Thread Anna Petrášová
Good news, one of the blockers for using wxPython Phoenix (the
completely new version of wxPython supporting Python 3) was solved, so
we can start testing it.

Anna

-- Forwarded message --
From: Dietmar Schwertberger 
Date: Sat, Jul 30, 2016 at 5:06 AM
Subject: Re: [wxPython-users] 3.0.3 ?
To: wxpython-us...@googlegroups.com


On 14.07.2016 20:49, Martin Landa wrote:
>
> may be, I was speaking with one colleague of mine, she mentioned that
> Phoenix probably lacks PseudoDC. This would be absolute blocker for

Robin has just added PseudoDC to Phoenix.
So it should be in the next snapshots.

Regards,

Dietmar


--
You received this message because you are subscribed to the Google
Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to wxpython-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] 7.0.5 release planning

2016-08-03 Thread Maris Nartiss
2016-07-19 17:27 GMT+03:00 Moritz Lennert :
> There's also https://trac.osgeo.org/grass/ticket/2252 which has been pushed
> from release to release. I don't really know how to handle the issue. Anyone
> of the wxGUI developers maybe ?
>
> Moritz
It would be better to be fixed at the DBMI level. We can argue about
security aspects of this issue, but ability to enter unescaped
apostrophes into text fields is a must for any data entry forms.
The easiest solution would be to implement add_slashes/strip_slashes
[1], although prepared statements with parameter binding is the way to
go [2].

1. https://en.wikipedia.org/wiki/SQL_injection#Escaping
2. https://en.wikipedia.org/wiki/Prepared_statement

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

Re: [GRASS-dev] [GRASS GIS] #3112: wxgui scatterplot tool: C++ assertion "m_window" failed at ../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work without window

2016-08-03 Thread GRASS GIS
#3112: wxgui scatterplot tool: C++ assertion "m_window" failed at
../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work
without window
--+-
  Reporter:  mlennert |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.0.5
 Component:  wxGUI|Version:  svn-trunk
Resolution:   |   Keywords:  scatterplot
   CPU:  Unspecified  |   Platform:  Unspecified
--+-

Comment (by pvanbosgeo):

 I can confirm that the bivariate scatterplot tool in the Map Display is
 not working (grass 7.3svn, r69054, python 2.7.12, wxpython 3.0.2.0, ubuntu
 16.04). The error I got is slightly different, so adding below.


 {{{
 Traceback (most recent call last):
   File "/usr/local/grass7/grass-7.3.svn/gui/wxpython/mapdisp
 /frame.py", line 1174, in OnScatterplot

 win = ScatterFrame(parent=self, rasterList=raster)
   File "/usr/local/grass7/grass-7.3.svn/gui/wxpython/wxplot/
 scatter.py", line 42, in __init__

 BasePlotFrame.__init__(self, parent, size=size, **kwargs)
   File "/usr/local/grass7/grass-7.3.svn/gui/wxpython/wxplot/
 base.py", line 107, in __init__

 self.client = plot.PlotCanvas(self)
   File "/usr/lib/python2.7/dist-
 packages/wx-3.0-gtk2/wx/lib/plot.py", line 598, in __init__

 self.HandCursor = wx.Cursor(Hand.GetImage())
   File "/usr/lib/python2.7/dist-
 packages/wx-3.0-gtk2/wx/_gdi.py", line 1510, in __init__

 _gdi_.Cursor_swiginit(self,_gdi_.new_Cursor(*args,
 **kwargs))
 TypeError
 :
 Required argument 'type' (pos 2) not found

 }}}

--
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS-PSC] GRASS-GIS PSC-2016 Nominations

2016-08-03 Thread Nikos Alexandris

For the sake of completeness,

Anna's nomination came first by Luca Delucchi.


* Nikos Alexandris  [2016-08-03 10:21:19 +0200]:


Dear all,

Anna Petrášová will stand by as a candidate for the PSC.  Her nomination
has been initiated by Helmut Kurdnovsky.

Best of success,
GRASS-GIS' CRO


[..]
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS-PSC] GRASS-GIS PSC-2016 Nominations

2016-08-03 Thread Nikos Alexandris

Dear community,

Vaclav Petras will be a candidate for the PSC, nominated by Luca
Delucchi.

Good luck,
GRASS-GIS' CRO


- Forwarded message from Vaclav Petras  -


Subject: Re: nominations
From: Vaclav Petras 
To: Nikos Alexandris 
Cc: Anna Petrasova , Luca Delucchi

Date: Tue, 2 Aug 2016 20:14:45 -0400

I accept, thanks!

On Tue, Aug 2, 2016 at 6:33 PM, Nikos Alexandris

wrote:


Dear Anna Petrasova and Vaclav Petras,

Luca Delucchi proposes to both for your candidacy in the PSC
election.

Would you accept, please confirm via a reply to this e-mail.

Kind regards, GRASS-GIS' CRO


* Luca Delucchi  [2016-08-02 09:27:15 +0200]:

Ciao Nikos,


I would like to nominate Anna Petrasova and Vaclav Petras the are
really enthusiastic young GRASS developer and they can help a lot
the
PSC

--
ciao
Luca

www.lucadelu.org


- End forwarded message -

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

Re: [GRASS-dev] [GRASS-PSC] GRASS-GIS PSC-2016 Nominations

2016-08-03 Thread Nikos Alexandris

Dear all,

Anna Petrášová will stand by as a candidate for the PSC.  Her nomination
has been initiated by Helmut Kurdnovsky.

Best of success,
GRASS-GIS' CRO



- Forwarded message from Anna Petrášová  -


Subject: Re: GRASS GIS PSC election 2016: nomination of Anna Petrášová
From: Anna Petrášová 
To: Nikos Alexandris 
Cc: Helmut Kudrnovsky 
Date: Tue, 2 Aug 2016 20:21:07 -0400

Hi Nikos,

thank you all for the nomination, I accept it.

Best,
Anna

On Tue, Aug 2, 2016 at 6:26 PM, Nikos Alexandris
 wrote:

Dear Anna Petrasova,

you have been nominated by Helmut Kurdnovsky and Luca Deluchi (will
include his e-mail in the public announcement if you accept) to stand
as a candidate for GRASS-GIS' Project Steering Committee election.

SHould you accept your candidacy, please confirm via a reply to this
e-mail.

Kind regards, GRASS-GIS' CRO



* Helmut Kudrnovsky  [2016-08-02 18:16:57 +0200]:



  Dear CRO,
 I'm pleased to nominate Anna Petrášová [1] for the GRASS GIS
 PSC
election
  2016. She confirmed the nomination.
 Anna has contributed quite a lot to the improvement of GRASS
 GIS'
wxGUI
  and other modules, spends her time for GSOC mentoring and has
  always a
  helping hand in the mailing lists.
 Best regards
  Helmut
 [1] http://wiki.osgeo.org/wiki/OSGeo_Advocate#Anna_Petrasova
  . .__.. .__.. ..
  helmut kudrnovsky

  mail | alecto...@gmx.at
  internet | www.alectoria.at | www.myricaria.org
  skype | helmut.kudrnovsky
  phone | +43 699 104 657 77
  blog | alectoria.blogspot.com
  osgeo | wiki.osgeo.org/wiki/Helmut_Kudrnovsky

  Now is better than never.
  Although never is often better than *right* now.
  (The Zen of Python)



--
Nikos Alexandris | Remote Sensing & Geomatics
GPG Key Fingerprint 6F9D4506F3CA28380974D31A9053534B693C4FB3


- End forwarded message -
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3107: d.correlate: add plotting of axes

2016-08-03 Thread GRASS GIS
#3107: d.correlate: add plotting of axes
--+-
  Reporter:  neteler  |  Owner:  grass-dev@…
  Type:  enhancement  | Status:  new
  Priority:  normal   |  Milestone:  7.2.0
 Component:  Display  |Version:  svn-releasebranch72
Resolution:   |   Keywords:  d.correlate
   CPU:  Unspecified  |   Platform:  Unspecified
--+-

Comment (by mlennert):

 I think we should decide on whether we want to continue to invest in
 d.correlate, or whether the scatterplot tool currently integrated into the
 Map Display (although it does not work for me: #3112) should be made also
 into a standalone g.gui.scatterplot tool which would then offer more
 layouting functionality than d.correlate.

--
Ticket URL: 
GRASS GIS 

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

[GRASS-dev] [GRASS GIS] #3112: wxgui scatterplot tool: C++ assertion "m_window" failed at ../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work without window

2016-08-03 Thread GRASS GIS
#3112: wxgui scatterplot tool: C++ assertion "m_window" failed at
../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work
without window
-+-
 Reporter:  mlennert |  Owner:  grass-dev@…
 Type:  defect   | Status:  new
 Priority:  normal   |  Milestone:  7.0.5
Component:  wxGUI|Version:  svn-trunk
 Keywords:  scatterplot  |CPU:  Unspecified
 Platform:  Unspecified  |
-+-
 Trying to use the bivariate scatterplot tool in the Map Display I get the
 following error and nothing else:

 {{{
 Traceback (most recent call last):
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-
 linux-gnu/gui/wxpython/mapdisp/frame.py", line 1175, in
 OnScatterplot

 win = ScatterFrame(parent=self, rasterList=raster)
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-
 linux-gnu/gui/wxpython/wxplot/scatter.py", line 42, in
 __init__

 BasePlotFrame.__init__(self, parent, size=size, **kwargs)
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-
 linux-gnu/gui/wxpython/wxplot/base.py", line 113, in
 __init__

 self.client.canvas.Bind(wx.EVT_LEFT_DOWN,
 self.OnMouseLeftDown)
   File "/usr/lib/python2.7/dist-
 packages/wx-3.0-gtk2/wx/_core.py", line 4228, in Bind

 event.Bind(self, id, id2, handler)
   File "/usr/lib/python2.7/dist-
 packages/wx-3.0-gtk2/wx/_core.py", line 4572, in Bind

 target.Connect(id1, id2, et, function)
   File "/usr/lib/python2.7/dist-
 packages/wx-3.0-gtk2/wx/_core.py", line 4182, in Connect

 return _core_.EvtHandler_Connect(*args, **kwargs)
 wx._core
 .
 PyAssertionError
 :
 C++ assertion "m_window" failed at
 ../src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize()
 doesn't work without window

 }}}

 Maybe linked to wx 3 ?

--
Ticket URL: 
GRASS GIS 

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