Opened 16 years ago

Closed 16 years ago

#18 closed defect (fixed)

Grass63 -wx gui function r.in.xyz form not updating input fields.

Reported by: brian Owned by: grass-dev@…
Priority: major Milestone: 6.4.0
Component: Python Version: svn-trunk
Keywords: r.in.xyz wxgrass Cc:
CPU: Unspecified Platform: Unspecified

Description

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.

Attachments (2)

ubuntu_configure.sh (507 bytes ) - added by brian 16 years ago.
configure options for grass63 on ubuntu 7.10
mdv_configure.sh (353 bytes ) - added by brian 16 years ago.
Mandriva configure options

Download all attachments as: .zip

Change History (8)

in reply to:  description comment:1 by martinl, 16 years ago

Milestone: 6.3.06.4.0

Replying to 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

by brian, 16 years ago

Attachment: ubuntu_configure.sh added

configure options for grass63 on ubuntu 7.10

comment:2 by brian, 16 years ago

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.

by brian, 16 years ago

Attachment: mdv_configure.sh added

Mandriva configure options

in reply to:  2 comment:3 by martinl, 16 years ago

Component: defaultPython

Replying to 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

comment:4 by brian, 16 years ago

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'

comment:5 by brian, 16 years ago

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

comment:6 by brian, 16 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.