[GRASS-dev] [GRASS GIS] #174: Unable to create file [REF] for subgroup [sub-test] of group [test in neuba]

#174: Unable to create file [REF] for subgroup [sub-test] of group [test in
neuba]
---------------------+------------------------------------------------------
Reporter: neuba | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Keywords: |
---------------------+------------------------------------------------------
GRASS 6.4.svn (gis_ehot):~ > i.group group=test subgroup=sub-test
in=bd00.1
Adding raster map <bd00.1@neuba> to group
Raster map <bd00.1@neuba> exists in group. Skipping...
Adding raster map <bd00.1@neuba> to subgroup
WARNING: Unable to create file [REF] for subgroup [sub-test] of group
[test
          in neuba]
i.group complete.

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

#174: Unable to create file [REF] for subgroup [sub-test] of group [test in
neuba]
------------------------+---------------------------------------------------
  Reporter: neuba | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: duplicate | Keywords:
------------------------+---------------------------------------------------
Changes (by neteler):

  * status: new => closed
  * resolution: => duplicate

Comment:

This report replicates #133 which has been fixed today.

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

#174: Unable to create file [REF] for subgroup [sub-test] of group [test in
neuba]
----------------------+-----------------------------------------------------
  Reporter: neuba | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: reopened
  Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Changes (by neuba):

  * status: closed => reopened
  * resolution: duplicate =>

Comment:

Excuse me I think that you solve only one aspect of the problem. There is
not a warning message but the subgroup is still not created. Look at this:
GRASS 6.4.svn (gis_ehot):~ > i.group group=test subgroup=sg_test
in=bd00.1,bd00.2
Adding raster map <bd00.1@neuba> to group
Raster map <bd00.1@neuba> exists in group. Skipping...
Adding raster map <bd00.2@neuba> to group
Raster map <bd00.2@neuba> exists in group. Skipping...
Adding raster map <bd00.1@neuba> to subgroup
Adding raster map <bd00.2@neuba> to subgroup
i.group complete.
GRASS 6.4.svn (gis_ehot):~ > i.group -g group=test
bd00.1@neuba
bd00.2@neuba
i.group complete.
GRASS 6.4.svn (gis_ehot):~ > i.group -lg group=test
bd00.1@neuba
bd00.2@neuba
i.group complete.
GRASS 6.4.svn (gis_ehot):~ > i.group help

Description:
  Creates, edits, and lists groups and subgroups of imagery files.

Keywords:
  imagery

Usage:
  i.group [-rlg] group=name [subgroup=string] [input=name[,name,...]]
    [--verbose] [--quiet]

Flags:
   -r Remove selected files from specified group
   -l List files from specified (sub)group (fancy)
   -g List files from specified (sub)group (shell script style)
  --v Verbose module output
  --q Quiet module output

Parameters:
      group Name of imagery group
   subgroup Name of imagery sub-group
      input Name of raster map(s) to include in group
GRASS 6.4.svn (gis_ehot):~ > i.class

OPTION: Name of raster map to be displayed
      key: map
   format: name
required: YES

Enter the name of an existing raster file
Enter 'list' for a list of existing raster files
Hit RETURN to cancel request
> carte3
<carte3>

OPTION: Name of input imagery group
      key: group
   format: name
required: YES

Enter the name of an existing group file
Enter 'list' for a list of existing group files
Hit RETURN to cancel request
> test
<test>

OPTION: Name of input imagery subgroup
      key: subgroup
   format: name
required: YES

Enter the name of an existing subgroup file
Enter 'list' for a list of existing subgroup files
Hit RETURN to cancel request
> sg_test
<sg_test>

** sg_test - not found **

Enter the name of an existing subgroup file
Enter 'list' for a list of existing subgroup files
Hit RETURN to cancel request
> list
<list>
----------------------------------------------

no subgroup files available in current mapset
----------------------------------------------

Enter the name of an existing subgroup file
Enter 'list' for a list of existing subgroup files
Hit RETURN to cancel request

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

#174: Unable to create file [REF] for subgroup [sub-test] of group [test in
neuba]
------------------------+---------------------------------------------------
  Reporter: neuba | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: default | Version: unspecified
Resolution: duplicate | Keywords:
------------------------+---------------------------------------------------
Changes (by neteler):

  * status: reopened => closed
  * resolution: => duplicate

Comment:

You indicate a problem of i.class which is discussed in #70. i.group
should work (please check the directory directly: the file will be
present). But i.class does not find it due to a bug in
I_fopen_sigset_file_new() in lib/imagery/sigsetfile.c. Let's continue in
#70. G_fopen_new_misc() therein is failing.

Markus

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