<div dir="ltr">Hi everyone,<div><br></div><div>I have the strangest issue and I don't know how to address it.</div><div>I'm running on a <b>mac</b>. I have <b>gdal 2.2.0</b> installed on the system.</div><div>I have a python 3.5.2 <b>virtualenv</b> (same behavior in 3.6.1)</div><div>inside I have a number of libraries, including django and the <b>GDAL bindings</b>.</div><div><br></div><div>If from this virtualenv I open a <b>ipython</b> console and try to gdal.Open a TIFF, <b>all works well</b>.</div><div>If I open a <b>django console</b> (django manage.py shell) in this virtualenv and try to perform the same operation, I get</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace, monospace">TIFFReadDirectory: Warning, Unknown field with tag 42112 (0xa480) encountered.<br>TIFFReadDirectory: Warning, Unknown field with tag 42113 (0xa481) encountered.<br>[1] 15947 bus error python manage.py shell</font></blockquote><div><br></div><div>This happens also if I go through the django.contrib.gis.gdal module that django embarks (that is a subpart, old? of gdal bindings)</div><div><br></div><div>This <b>does not</b> seem to <b>happen on my production Linux</b> install.</div><div><br></div><div>I have no idea how to investigate this. I don't know what django could do at startup that could have this kind of adverse effect.</div><div>(if there are django knowledgeable people, I get the same error when launching the code through celery)</div><div><br></div><div>According to the django code, launching a django shell should basically be equivalent to launching a ipython</div><div><a href="https://github.com/django/django/blob/master/django/core/management/commands/shell.py">https://github.com/django/django/blob/master/django/core/management/commands/shell.py</a><br></div><div><br></div><div>Any idea what I can try to do?</div><div><br></div><div>Thanks</div><div><div class="gmail_signature"><div dir="ltr"><div><font color="#999999"><br></font></div><div><font color="#999999">---</font></div><div><font color="#999999">Gregory Bataille</font><br></div></div></div></div>
</div></div>