Opened 16 years ago

Closed 16 years ago

#305 closed defect (fixed)

Add created map into layer tree: errors for import modules

Reported by: msieczka Owned by: martinl
Priority: major Milestone: 6.4.0
Component: wxGUI Version: svn-develbranch6
Keywords: Cc: grass-dev@…
CPU: All Platform: All

Description

  1. in preferences set "Add created map into layer tree"
  1. try to import using any module, in GUI, = errors

For example, 'v.in.ogr dsn=pomiar.shp output=pomiar' yields:

Execution failed: 'd.vect map=pomiar@podklady --q'

Details: 
Error: Vector map <pomiar@podklady> not found

Moreover, re-running the command with ovewrite will add the layer again (so after 2 re-runs you have the layer twice on the list, and so forth). Could this be avoided?

Change History (3)

comment:1 by marisn, 16 years ago

Component: defaultwxGUI

I assume it's a wxGUI issue.

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

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

Replying to msieczka:

  1. in preferences set "Add created map into layer tree"
  1. try to import using any module, in GUI, = errors

should be fixed in r34836 (6.4), r34837 (7.0).

Moreover, re-running the command with ovewrite will add the layer again (so after 2 re-runs you have the layer twice on the list, and so forth). Could this be avoided?

You can always disable adding new layer into layer tree if you re-run the same command...

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

Resolution: fixed
Status: assignedclosed

Replying to martinl:

Moreover, re-running the command with ovewrite will add the layer again (so after 2 re-runs you have the layer twice on the list, and so forth). Could this be avoided?

You can always disable adding new layer into layer tree if you re-run the same command...

It's feature, closing the ticket.

Note: See TracTickets for help on using tickets.