[GRASS-dev] [GRASS GIS] #177: wxpython gui for v.in.dxf defaults to overwrite

#177: wxpython gui for v.in.dxf defaults to overwrite
----------------------+-----------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: minor | Milestone:
Component: default | Version: svn-trunk
Keywords: wxpython |
----------------------+-----------------------------------------------------
wxpython gui for v.in.dxf defaults to --overwrite.

See attached screenshot:

O/S
Ubuntu Hardy

Grass SVN Trunk
Build 31507

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/177&gt;
GRASS GIS <http://grass.osgeo.org>

#177: wxpython gui for v.in.dxf defaults to overwrite
----------------------+-----------------------------------------------------
  Reporter: brian | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.4.0
Component: default | Version: svn-trunk
Resolution: | Keywords: wxpython
----------------------+-----------------------------------------------------
Changes (by martinl):

  * milestone: => 6.4.0

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/177#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#177: wxpython gui for v.in.dxf defaults to overwrite
---------------------+------------------------------------------------------
  Reporter: brian | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxpython
---------------------+------------------------------------------------------
Changes (by martinl):

  * component: default => Python

Comment:

Replying to [ticket:177 brian]:
> wxpython gui for v.in.dxf defaults to --overwrite.
>
>
> See attached screenshot:
>
> O/S
> Ubuntu Hardy
>
> Grass SVN Trunk
> Build 31507

Strange I cannot reproduce this bug. Anyone else? Martin

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/177#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#177: wxpython gui for v.in.dxf defaults to overwrite
---------------------+------------------------------------------------------
  Reporter: brian | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxpython
---------------------+------------------------------------------------------
Comment (by brian):

This may be relavent:
When opening the v.in.dxf form after displaying a map on the map display,
the name of the active map is in the input dxf file field. See screenshot:

This behaviour also occurs with Jachym's grass63 ubuntu hardy build.

Am I missing a dependency?
Is this related to ticket 40?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/177#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#177: wxpython gui for v.in.dxf defaults to overwrite
---------------------+------------------------------------------------------
  Reporter: brian | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxpython
---------------------+------------------------------------------------------
Comment (by martinl):

Replying to [comment:3 brian]:
> This may be relavent:
> When opening the v.in.dxf form after displaying a map on the map
display, the name of the active map is in the input dxf file field. See
screenshot:
>
> This behaviour also occurs with Jachym's grass63 ubuntu hardy build.

It was the bug, hopefully fixed trunk/devbr6 r31517, r31516. Martin

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/177#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#177: wxpython gui for v.in.dxf defaults to overwrite
---------------------+------------------------------------------------------
  Reporter: brian | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxpython
---------------------+------------------------------------------------------
Comment (by brian):

Thanks Martin
There is a slight change in behaviour of this bug. The --overwrite does
not appear until after selecting the input dxf file.

Cheers
Brian

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/177#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#177: wxpython gui for v.in.dxf defaults to overwrite
---------------------+------------------------------------------------------
  Reporter: brian | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxpython
---------------------+------------------------------------------------------
Comment (by martinl):

Replying to [comment:5 brian]:

> There is a slight change in behaviour of this bug. The --overwrite does
not appear until after selecting the input dxf file.

I guess the fixed bug is unrelated. You can enable/disable default value
for 'overwrite' in

{{{
Config->Preferences->Command->Allow output files to overwrite existing
files
}}}

When you launch GUI dialog for v.in.dxf you need to enter required
parameters ('Enter parameter for v.in.dxf' in dialog statusbar). You get

{{{
v.in.dxf --overwrite input=/home/martin/src/grass6_devel/x4.dxf
}}}

disabling/enabling 'Allow output files to overwrite existing files' in
'Optional' tab removes/adds '--overwrite' flag to the command.

Martin

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/177#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>

#177: wxpython gui for v.in.dxf defaults to overwrite
---------------------+------------------------------------------------------
  Reporter: brian | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxpython
---------------------+------------------------------------------------------
Comment (by brian):

Tested with svn-trunk build 31519.

Enabling / disabling Config-> Preferences-> Command-> "Allow output files
to overwrite existing files" has no effect on the v.in.dxf form, it
always defaults to --overwrite when the input dxf file is selected.

Cheers
Brian

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/177#comment:7&gt;
GRASS GIS <http://grass.osgeo.org>

#177: wxpython gui for v.in.dxf defaults to overwrite
---------------------+------------------------------------------------------
  Reporter: brian | Owner: martinl
      Type: defect | Status: assigned
  Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxpython
---------------------+------------------------------------------------------
Changes (by martinl):

  * status: new => assigned
  * owner: grass-dev@lists.osgeo.org => martinl
* cc: grass-dev@lists.osgeo.org (added)

Comment:

Replying to [comment:7 brian]:
> Tested with svn-trunk build 31519.
>
> Enabling / disabling Config-> Preferences-> Command-> "Allow output
files to overwrite existing files" has no effect on the v.in.dxf form, it
always defaults to --overwrite when the input dxf file is selected.

Now hopefully fixed in trunk/devbr6 r31521, r31520. Martin

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/177#comment:8&gt;
GRASS GIS <http://grass.osgeo.org>

#177: wxpython gui for v.in.dxf defaults to overwrite
---------------------+------------------------------------------------------
  Reporter: brian | Owner: martinl
      Type: defect | Status: assigned
  Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxpython
---------------------+------------------------------------------------------
Comment (by brian):

Tested with svn-trunk build 31534.
Confirmed fixed.

Thanks
Brian

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/177#comment:9&gt;
GRASS GIS <http://grass.osgeo.org>

#177: wxpython gui for v.in.dxf defaults to overwrite
---------------------+------------------------------------------------------
  Reporter: brian | Owner: martinl
      Type: defect | Status: closed
  Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: fixed | Keywords: wxpython
---------------------+------------------------------------------------------
Changes (by martinl):

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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/177#comment:10&gt;
GRASS GIS <http://grass.osgeo.org>