Opened 11 years ago

Closed 11 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 Changed 11 years ago by marisn

Component: defaultwxGUI

I assume it's a wxGUI issue.

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

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...

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

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.