<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Javier,</p>
    <p>I don't recall there being any exception message exposed. It was
      simply a RuntimeError.</p>
    <p>I guessed it's probably installation/configuration, but surely
      GDAL should Just Work? Especially if it's coming via Conda? (I
      don't live in the Linux world; I just used a wheel).</p>
    <p>Cheers,</p>
    <p>Jonathan<br>
    </p>
    <div class="moz-cite-prefix">On 18/09/2023 12:51, Javier Jimenez
      Shaw wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADRrdKsLXou+m5mU3wOPm68C==bXKoC5N9vbBXvRGMGZdu=e1w@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi Jonathan</div>
        <div><br>
        </div>
        <div>Which exact RuntimeError are you getting? It can be for
          several reasons (probably an installation or configuration
          issue).</div>
        <div><br>
        </div>
        <div>Best,</div>
        <div>Javier<br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, 18 Sept 2023 at 11:06,
          Jonathan Moules <<a
            href="mailto:jonathan-lists@lightpear.com"
            moz-do-not-send="true" class="moz-txt-link-freetext">jonathan-lists@lightpear.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi
          List,<br>
          <br>
          I'm trying to get vector layer information via OGR and Python:<br>
          <br>
          ```<br>
          <br>
          layer.GetSpatialRef()<br>
          <br>
          ```<br>
          <br>
          This works fine for me on Windows with GDAL 3.7.1 on various
          different <br>
          types of files (Shapefile, GPKG, GML, KML, GDB).<br>
          <br>
          But for my colleague on Ubuntu 22.0.4.3, also on GDAL 3.7.1
          (via Conda), <br>
          they get a Python RuntimeError for all shapefiles (the exact
          same <br>
          shapefiles that work fine for me). It works for Geopackages
          for them.<br>
          <br>
          Anyone have any thoughts?<br>
          Thanks,<br>
          Jonathan<br>
          <br>
          _______________________________________________<br>
          gdal-dev mailing list<br>
          <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">gdal-dev@lists.osgeo.org</a><br>
          <a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>