[GRASS-dev] [GRASS-trac] #18: Grass63 -wx gui function r.in.xyz form not updating input fields.

#18: Grass63 -wx gui function r.in.xyz form not updating input fields.
------------------------------+---------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.3.0
Component: default | Version: svn-trunk
Keywords: r.in.xyz wxgrass |
------------------------------+---------------------------------------------
Grass63 -wx gui function r.in.xyz form not updating input fields.

Tried to import two xyz files, one after the other. The first import
worked correctly, but the second import still had the same input file name
as the first import, i.e:

First import cmd
r.in.xyz input=/home/xxxx/data/mbes_comp_200m_grid.xyz
output=mbes_comp_200m fs=,

Second import cmd should have been:
r.in.xyz input=/home/xxxx/data/mbes_comp_50m_grid.xyz output=mbes_comp_50m
fs=,

Second import cmd was as follows:
r.in.xyz input=/home/xxxx/data/mbes_comp_200m_grid.xyz
output=mbes_comp_50m fs=,

Also tried to exec the correct second import command from the layer
manager CMD > interface. Unfortunately the command output showed that it
still had the input file name from the first import.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/18&gt;
GRASS-trac <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#18: Grass63 -wx gui function r.in.xyz form not updating input fields.
----------------------+-----------------------------------------------------
  Reporter: brian | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: svn-trunk
Resolution: | Keywords: r.in.xyz wxgrass
----------------------+-----------------------------------------------------
Changes (by martinl):

  * milestone: 6.3.0 => 6.4.0

Comment:

Replying to [ticket:18 brian]:

> First import cmd
> r.in.xyz input=/home/xxxx/data/mbes_comp_200m_grid.xyz
output=mbes_comp_200m fs=,
>
> Second import cmd should have been:
> r.in.xyz input=/home/xxxx/data/mbes_comp_50m_grid.xyz
output=mbes_comp_50m fs=,
>
> Second import cmd was as follows:
> r.in.xyz input=/home/xxxx/data/mbes_comp_200m_grid.xyz
output=mbes_comp_50m fs=,
>
> Also tried to exec the correct second import command from the layer
manager CMD > interface. Unfortunately the command output showed that it
still had the input file name from the first import.

Sorry, I do not fully understand, I launched r.in.xyz

* select first file
* run the command
* then selected the second file
* run the command again

Everything seems OK for me, from command output tab...

$ r.in.xyz input=/home/martin/src/grass_trunk/in.txt output=r00
Scanning data ...
Writing to map ...
r.in.xyz complete. 0 points found in region.
$ r.in.xyz input=/home/martin/src/grass_trunk/in1.txt output=r01
Scanning data ...
Writing to map ...
r.in.xyz complete. 0 points found in region.

Are you using compiled svn-trunk?

Martin

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/18#comment:1&gt;
GRASS-trac <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#18: Grass63 -wx gui function r.in.xyz form not updating input fields.
----------------------+-----------------------------------------------------
  Reporter: brian | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: svn-trunk
Resolution: | Keywords: r.in.xyz wxgrass
----------------------+-----------------------------------------------------
Comment (by brian):

Hi Martin

Am using compiled svn-trunk.

Setup two systems at work with grass_trunk at identical builds (29702),
one a Ubuntu 7.10 and the other Mandriva 2008.

I can repeat the fault on the Ubuntu system, however the Mandriva system
performs the test ok.

The configure options are different between systems, see attached files.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/18#comment:2&gt;
GRASS-trac <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#18: Grass63 -wx gui function r.in.xyz form not updating input fields.
---------------------+------------------------------------------------------
  Reporter: brian | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: r.in.xyz wxgrass
---------------------+------------------------------------------------------
Changes (by martinl):

  * component: default => Python

Comment:

Replying to [comment:2 brian]:
> Am using compiled svn-trunk.
>
> Setup two systems at work with grass_trunk at identical builds (29702),
one a Ubuntu 7.10 and the other Mandriva 2008.
>
> I can repeat the fault on the Ubuntu system, however the Mandriva system
performs the test ok.
>
> The configure options are different between systems, see attached files.

Hm, strange, are you using the same version of wxPython on Ubuntu and
Mandriva?

$ python
import wx
wx.__version__

?

Martin

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/18#comment:3&gt;
GRASS-trac <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#18: Grass63 -wx gui function r.in.xyz form not updating input fields.
---------------------+------------------------------------------------------
  Reporter: brian | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: r.in.xyz wxgrass
---------------------+------------------------------------------------------
Comment (by brian):

Yes, they are slightly different:

Ubuntu
$ python
Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.__version__
'2.8.4.0'

Mandriva
$ python
Python 2.5.1 (r251:54863, Sep 13 2007, 09:06:49)
[GCC 4.2.1 20070828 (prerelease) (4.2.1-6mdv2008.0)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.__version__
'2.8.4.2'

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/18#comment:4&gt;
GRASS-trac <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#18: Grass63 -wx gui function r.in.xyz form not updating input fields.
---------------------+------------------------------------------------------
  Reporter: brian | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: r.in.xyz wxgrass
---------------------+------------------------------------------------------
Comment (by brian):

Hi Martin

Took your hint and upgraded wxpython on the Ubuntu system, using the
wxwidgets.org Ubuntu Gutsy repository. Now at version 2.8.7.1

Ran the tests and all worked ok. Think we can close this ticket.

Thanks very much for your good work.

Brian

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/18#comment:5&gt;
GRASS-trac <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#18: Grass63 -wx gui function r.in.xyz form not updating input fields.
---------------------+------------------------------------------------------
  Reporter: brian | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: fixed | Keywords: r.in.xyz wxgrass
---------------------+------------------------------------------------------
Changes (by brian):

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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/18#comment:6&gt;
GRASS-trac <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/