[GRASS-dev] [GRASS GIS] #2726: v.unpack fails when importing into a cartesian CRS

#2726: v.unpack fails when importing into a cartesian CRS
---------------------+-------------------------
Reporter: micha | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.2
Component: Default | Version: 7.0.1
Keywords: | CPU: Unspecified
Platform: Linux |
---------------------+-------------------------
WHen using v.pack/v.unpack to move vector maps to a different machine, and
the LOCATION is a cartesian, unprojected, X-Y coordinate system , the
operation fails with:

{{{
GRASS 7.0.1 (XY):~ > v.unpack ~/Desktop/Allkavels.pack
Traceback (most recent call last):
   File "/usr/lib/grass70/scripts/v.unpack", line 211, in <module>
     sys.exit(main())
   File "/usr/lib/grass70/scripts/v.unpack", line 114, in main
     filename_b=loc_proj, proj=True):
   File "/usr/lib/grass70/etc/python/grass/script/core.py", line 895, in
compare_key_value_text_files
     checkunits=units)
   File "/usr/lib/grass70/etc/python/grass/script/core.py", line 822, in
_text_to_key_value_dict
     text = open(filename, "r").readlines()
IOError: [Errno 2] No such file or directory:
'/home/micha/GIS/grass/XY/test/.tmp/work-vm/23766.0/PROJ_INFO'
}}}

The PROJ_INFO file ideed does not exist in an unprojected LOCATION.

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

#2726: v.unpack fails when importing into a cartesian CRS
--------------------------+------------------------------
  Reporter: micha | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.2
Component: Default | Version: 7.0.1
Resolution: | Keywords: v.pack, v.unpack
       CPU: Unspecified | Platform: Linux
--------------------------+------------------------------
Changes (by martinl):

* keywords: => v.pack, v.unpack

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

#2726: v.unpack fails when importing into a cartesian CRS
--------------------------+------------------------------
  Reporter: micha | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.2
Component: Default | Version: 7.0.1
Resolution: | Keywords: v.pack, v.unpack
       CPU: Unspecified | Platform: Linux
--------------------------+------------------------------

Comment (by annakrat):

I fixed it yesterday in r66019, not yet backported, please test.

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

#2726: v.unpack fails when importing into a cartesian CRS
--------------------------+------------------------------
  Reporter: micha | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.2
Component: Default | Version: 7.0.1
Resolution: | Keywords: v.pack, v.unpack
       CPU: Unspecified | Platform: Linux
--------------------------+------------------------------

Comment (by annakrat):

I backported it in r66358, however I don't know if anyone else tested it.
If yes, please close it.

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

#2726: v.unpack fails when importing into a cartesian CRS
--------------------------+------------------------------
  Reporter: micha | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.2
Component: Default | Version: 7.0.1
Resolution: fixed | Keywords: v.pack, v.unpack
       CPU: Unspecified | Platform: Linux
--------------------------+------------------------------
Changes (by neteler):

* status: new => closed
* resolution: => fixed
* milestone: 7.0.3 => 7.0.2

Comment:

No response, closing.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2726#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>