<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 25, 2013 at 10:55 AM, Yann Chemin <span dir="ltr"><<a href="mailto:ychemin@gmail.com" target="_blank">ychemin@gmail.com</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"><div><div>Hi,<br><br>~/grass_dev$ grass70<br>

Traceback (most recent call last):<br>  File "/usr/local/bin/grass70", line 1267, in <module><br>    load_env()<br>  File "/usr/local/bin/grass70", line 753, in load_env<br>
    os.environ['LD_LIBRARY_PATH'] = libpath + ":" + isislibpath + ":" + isis3rdparty<br>TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'<br><br></div>: is certainly not considered a string, but I cannot force it to be string either... Any idea?<br>


<br></div></div></blockquote><div><br></div><div>Hi Yann,</div><div><br></div><div>I'm not sure if I understand your situation, anyway:</div><div><br></div><div>My line 753 in lib/init/grass.py says:</div><div><br></div>

<div>  ... libpath + os.pathsep + isislibpath + os.pathsep + isis3rdparty<br></div><div> </div><div>os.pathsep is for sure type str as well as ":" literal is type str.</div><div><br></div><div>I would say that one of libpath, isislibpath and isis3rdparty is None although lines above seems that they sets everything.</div>

<div><br></div><div>Can you debug your code? Simple print before line 753 should be enough:<br></div><div><br></div><div>  print libpath, isislibpath, isis3rdparty</div><div><br></div><div>As far as I know, the print will not break the start up, so it should work.</div>

<div><br></div><div>Vaclav</div><div><br></div><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">

<div></div>Thanks<span class=""><font color="#888888"><br clear="all"><div><div><div><br>-- <br>----
</div></div></div></font></span></div>
<br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br></div></div>