<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi devs,<div><br></div><div>this issue still occurred with the current master branch and I have managed that in a virtualenv only by applying the workaround suggested by Paolo. For this reason I’ve created a small PR [1] in the documentation to avoiding that.</div><div><br></div><div>If you agreed then someone can merge.</div><div><br></div><div>Thx</div><div><br></div><div>Francesco</div><div><br></div><div>[1] <a href="https://github.com/GeoNode/geonode/pull/2527">#2527</a></div><div><br><div><div>Il giorno 09/lug/2015, alle ore 15:16, Vicente <<a href="mailto:deluca.vicente@gmail.com">deluca.vicente@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">You are right Paolo Corti, in my case I have gdal 1.11.2 installed by QGIS.<div>The following documentation is mostly right: <a href="http://geonode.readthedocs.org/en/latest/tutorials/devel/install_devmode/gdal_install.html">http://geonode.readthedocs.org/en/latest/tutorials/devel/install_devmode/gdal_install.html</a></div><div>Pay attention to point 3: </div><div>$ pip install --no-install GDAL==1.10.0<br></div><div>$ nano build/GDAL/setup.cfg <br></div><div><br></div><div>First download, not install, then edit setup.cfg to get the gdal file configuration from the system, gdal 1.11.2 in my case.</div><div><br></div><div>The error in the above documentation is on how to download and install the library, $pip install --no-download GDAL==1.10.0 just not work because I never could locate the package downloaded by $ pip install --no-install GDAL==1.10.0.</div><div><br></div><div>These were my steps to move forward:</div><div><br></div><div>1) In my (venv) download with wget the right gdal library</div><div>2) Edit setup.cfg like doc</div><div>3) Compile with $python setup.py build_ext --include-dirs=/usr/include/gdal</div><div>4) Move to gdal dir and run $pip install .</div><div>5) Get a fresh coffee</div><div><br></div><div>Saludos!</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 9, 2015 at 5:29 AM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">For me the steps in the Jeff's script work well. although pygdal seems good.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2015-07-09 9:57 GMT+02:00 Paolo Pasquali <span dir="ltr"><<a href="mailto:paolo.pasquali@ithaca.polito.it" target="_blank">paolo.pasquali@ithaca.polito.it</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Sorry Paolo,<div>I've just seen your reply after sending my email.</div><div>The <span style="font-size:12.8000001907349px">pip install pygdal==1.10.1 works for me so I was able to run paver sync.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Thank you!</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Ciao<span><font color="#888888"><br><br>P.</font></span></span></div><div><div><span style="font-size:12.8000001907349px"><br></span></div><div class="gmail_extra"><br clear="all"><div><br></div>
<br><div class="gmail_quote">On Thu, Jul 9, 2015 at 9:43 AM, Paolo Corti <span dir="ltr"><<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On Thu, Jul 9, 2015 at 9:34 AM, Paolo Pasquali <span dir="ltr"><<a href="mailto:paolo.pasquali@ithaca.polito.it" target="_blank">paolo.pasquali@ithaca.polito.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hey all,<div>I think I am facing the same issue.</div><div>I am trying to install GeoNode on a fresh Ubuntu 14 in virtualenv but I get the ImportError: No module named osgeo</div><div>So I've tried to pip install GDAL==1.10.0</div><div>but I get UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 42: ordinal not in range(128)</div><div>and I am stuck here.</div><div><br></div><div>Thanks for your help!</div><div><br></div><div><br></div></div></blockquote><div><br></div></span><div>ciao Paolo</div><div>if you did not customize things, Ubuntu 14 LTS comes with GDAL 1.10.1, therefore try to install pygdal 1.10.1 (there is not the corresponding package for gdal)</div><div><br></div><div><div>$ yolk -V gdal</div><div>GDAL 2.0.0</div><div>(env)capooti@ubuntu:~/git/github$ yolk -V pygdal</div><div>pygdal 1.11.2.1</div><div>pygdal 1.11.1.1</div><div>pygdal 1.11.0.1</div><div>pygdal 1.10.1.1</div><div>pygdal 1.10.0.1</div><div>pygdal 1.9.2.1</div><div>pygdal 1.8.1.1</div></div><div><br></div><div>not sure why previous gdal versions where removed for the gdal package.</div><div>cheers</div><div>p</div><div><br></div><div>[1] </div><div>[2] </div><div> </div></div><span>-- <br><div>Paolo Corti<br>Geospatial software developer<br>web: <a href="http://www.paolocorti.net/" target="_blank">http://www.paolocorti.net</a><br>twitter: @capooti<br>skype: capooti</div>
</span></div></div>
</blockquote></div><br></div></div></div>
<br></div></div><span class="">_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Simone </div>
</font></span></div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:12px;color:rgb(51,51,51);white-space:pre-wrap!important"><table border="0" cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:Verdana,Geneva,sans-serif;font-size:13.3333330154419px;white-space:normal"><tbody><tr><td><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding-right:6px"><a title="Ir al Sitio" href="http://www.estudiomanta.com/" style="color:rgb(17,85,204)" target="_blank"><img src="http://www.estudiomanta.com/images/logo-manta_mail.png" alt="MANTA" border="0" style="float:left"></a></pre></td><td bgcolor="#e7f4f9" style="width:1px;padding:0px"><pre style="white-space:pre-wrap"> </pre></td><td><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px"><span style="color:rgb(0,157,223);font-family:helvetica;font-weight:bold;margin:0px;padding-left:6px"><span style="font-size: 14px;">Vicente Deluca</span><br></span></pre><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px"><strong><span style="color:rgb(0,87,130);font-family:helvetica;margin:0px;padding-left:6px"><span style="font-size:small"><a href="tel:%2B54%2011%206091%204579" value="+541160914579" style="color:rgb(17,85,204)" target="_blank">+54 11 6091 4579</a></span></span></strong></pre></td></tr></tbody></table></pre></div></div>
</div>
_______________________________________________<br>geonode-users mailing list<br><a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users<br></blockquote></div><br></div></body></html>