Opened 11 years ago

Closed 11 years ago

#177 closed defect (fixed)

wxpython gui for v.in.dxf defaults to overwrite

Reported by: brian Owned by: martinl
Priority: minor Milestone: 6.4.0
Component: Python Version: svn-trunk
Keywords: wxpython Cc: grass-dev@…
CPU: Unspecified Platform: Unspecified

Description

wxpython gui for v.in.dxf defaults to --overwrite.

See attached screenshot:

O/S Ubuntu Hardy

Grass SVN Trunk Build 31507

Attachments (2)

Screenshot-v.in.dxf [vector, import]-2.png (55.8 KB) - added by brian 11 years ago.
wxpython v.in.dxf screenshot
v.in.dxf [vector, import].png (33.7 KB) - added by brian 11 years ago.
v.in.dxf form showing file input field

Download all attachments as: .zip

Change History (12)

Changed 11 years ago by brian

wxpython v.in.dxf screenshot

comment:1 Changed 11 years ago by martinl

Milestone: 6.4.0

comment:2 in reply to:  description Changed 11 years ago by martinl

Component: defaultPython

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

Changed 11 years ago by brian

v.in.dxf form showing file input field

comment:3 Changed 11 years ago 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?

comment:4 in reply to:  3 Changed 11 years ago by martinl

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

comment:5 Changed 11 years ago 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

comment:6 in reply to:  5 Changed 11 years ago by martinl

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

comment:7 Changed 11 years ago 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

comment:8 in reply to:  7 Changed 11 years ago by martinl

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

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

comment:9 Changed 11 years ago by brian

Tested with svn-trunk build 31534. Confirmed fixed.

Thanks Brian

comment:10 Changed 11 years ago by martinl

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