[GRASS-dev] [GRASS GIS] #305: Add created map into layer tree: errors for import modules

#305: Add created map into layer tree: errors for import modules
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: svn-develbranch6
Keywords: | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------
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?

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

#305: Add created map into layer tree: errors for import modules
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by marisn):

  * component: default => wxGUI

Comment:

I assume it's a wxGUI issue.

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

#305: Add created map into layer tree: errors for import modules
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: martinl
      Type: defect | Status: assigned
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by martinl):

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

Comment:

Replying to [ticket:305 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...

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

#305: Add created map into layer tree: errors for import modules
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: martinl
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by martinl):

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

Comment:

Replying to [comment:2 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.

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