{"action":"reopened","issue":{"url":"https://api.github.com/repos/conda-forge/gdal-feedstock/issues/83","repository_url":"https://api.github.com/repos/conda-forge/gdal-feedstock","labels_url":"https://api.github.com/repos/conda-forge/gdal-feedstock/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/conda-forge/gdal-feedstock/issues/83/comments","events_url":"https://api.github.com/repos/conda-forge/gdal-feedstock/issues/83/events","html_url":"https://github.com/conda-forge/gdal-feedstock/issues/83","id":162911573,"number":83,"title":"vsizip behaves strangely: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".","user":{"login":"akorosov","id":5230179,"avatar_url":"https://avatars.githubusercontent.com/u/5230179?v=3","gravatar_id":"","url":"https://api.github.com/users/akorosov","html_url":"https://github.com/akorosov","followers_url":"https://api.github.com/users/akorosov/followers","following_url":"https://api.github.com/users/akorosov/following{/other_user}","gists_url":"https://api.github.com/users/akorosov/gists{/gist_id}","starred_url":"https://api.github.com/users/akorosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akorosov/subscriptions","organizations_url":"https://api.github.com/users/akorosov/orgs","repos_url":"https://api.github.com/users/akorosov/repos","events_url":"https://api.github.com/users/akorosov/events{/privacy}","received_events_url":"https://api.github.com/users/akorosov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-29T12:22:32Z","updated_at":"2016-07-29T15:54:27Z","closed_at":null,"body":"**Problem**\r\nAfter Installing gdal from conda-forge on fresh linux and attempting to open zip file with Sentinel data I got the following errors:\r\n```\r\ngdalinfo /vsizip//vagrant/shared/test_data/sentinel1a_l1/S1A_EW_GRDM_1SDH_20150702T172954_20150702T173054_006635_008DA5_55D1.zip/S1A_EW_GRDM_1SDH_20150702T172954_20150702T173054_006635_008DA5_55D1.SAFE/measurement/s1a-ew-grd-hv-20150702t172954-20150702t173054-006635-008da5-002.tiff\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\nWarning 1: Recode from CP437 to UTF-8 failed with the error: \"Invalid argument\".\r\ngdalinfo failed - unable to open '/vsizip//vagrant/shared/test_data/sentinel1a_l1/S1A_EW_GRDM_1SDH_20150702T172954_20150702T173054_006635_008DA5_55D1.zip/S1A_EW_GRDM_1SDH_20150702T172954_20150702T173054_006635_008DA5_55D1.SAFE/measurement/s1a-ew-grd-hv-20150702t172954-20150702t173054-006635-008da5-002.tiff'.\r\n```\r\n**Workaround.**\r\nFollowing the hint in this [ticket](https://trac.osgeo.org/gdal/ticket/6410#no1) I've set environment variable:\r\n`export CPL_ZIP_ENCODING=UTF-8`\r\nThen it works as expected.\r\n\r\nBut why does it happen? It did not happen with gdal binaries from other [channles](https://anaconda.org/Nersc/nansat-gdal) ([recipe](https://github.com/nansencenter/conda-recipes/blob/master/nansat-libgdal/meta.yaml))\r\n\r\n**Fix?**"}}
{"actor":{"display_login":"ocefpaf"}}