<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Andrew,</p>
    <p>you don't need to add autotest/ogr to GDAL_DATA.</p>
    <p>ARCGEN is now a deprecated driver and must be explictly enabled
      with GDAL_ENABLE_DEPRECATED_DRIVER_ARCGEN=YES env variable.</p>
    <p>Normally this is done in autotest/pytest.ini</p>
    <p>I suspect you don't have the pytest-env python module installed.</p>
    <p>You should probably just run:<br>
    </p>
    <p>pip3 install -U -r autotest/requirements.txt</p>
    <p>which will install it<br>
    </p>
    <p>Even<br>
    </p>
    <div class="moz-cite-prefix">Le 26/04/2021 à 16:12, Andrew Bell a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CACJ51z2dXVNVMMzWHB=ynjCZch+my=VBV+2g9xAC9v3eW+E50w@mail.gmail.com">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>I'm trying to run autotests and am failing to find data.
          For instance, I get the error:<br>
          <br>
              def test_ogr_arcgen_points():<br>
          <br>
                  ds = ogr.Open('data/arcgen/points.gen')<br>
          >       assert ds is not None, 'cannot open dataset'<br>
          E       AssertionError: cannot open dataset<br>
          E       assert None is not None</div>
        <div><br>
        </div>
        <div>I see that this file is in the directory
          autotest/ogr/data/arcgen<br>
          <br>
          I tried including this directory in GDAL_DATA, but the error
          persists. My command line is:<br>
          <br>
          DYLD_LIBRARY_PATH=../gdal/.libs
PYTHONPATH=/Users/acbell/gdal/gdal/swig/python/build/lib.macosx-10.9-x86_64-3.9
          GDAL_DATA=../gdal/<a class="moz-txt-link-freetext" href="data:./ogr">data:./ogr</a> pytest ogr/ogr_arcgen.py<br>
          Does anyone have information on how to I might resolve this?<br>
        </div>
        <div><br>
        </div>
        <div>Thanks,<br>
          <div><br>
          </div>
          -- <br>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">Andrew Bell<br>
            <a href="mailto:andrew.bell.ia@gmail.com" target="_blank"
              moz-do-not-send="true">andrew.bell.ia@gmail.com</a></div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>