Ticket #305 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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@…
Platform: All CPU: All

Description

1. in preferences set "Add created map into layer tree"

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

  Changed 3 years ago by marisn

  • component changed from default to wxGUI

I assume it's a wxGUI issue.

in reply to: ↑ description ; follow-up: ↓ 3   Changed 3 years ago by martinl

  • cc grass-dev@… added
  • owner changed from grass-dev@… to martinl
  • status changed from new to assigned

Replying to msieczka:

1. in preferences set "Add created map into layer tree" 2. 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   Changed 3 years ago by martinl

  • status changed from assigned to closed
  • resolution set to fixed

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.