<div dir="ltr"><div dir="ltr"><div>Hi Martin,</div><div><br></div><div>I did not have this environment variable set, but I set it and it still does not work.<br><br>Anyway, I don't remember the last time I used GRASS GUI 
on this machine, but it was about 2 weeks ago.<br><br>Then this problem must have resulted from a recent change / update.</div><div><br></div><div>Thanks Martin.</div><div><br></div><div>Best regards,</div><div>Pedro<br></div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Martin Landa <<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>> escreveu no dia segunda, 5/11/2018 à(s) 16:40:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
po 5. 11. 2018 v 17:36 odesílatel Pedro Venâncio<br>
<<a href="mailto:pedrongvenancio@gmail.com" target="_blank">pedrongvenancio@gmail.com</a>> napsal:<br>
>     os.getenv('HOMEPATH'))<br>
>   File "C:\OSGEO4~1\apps\Python27\lib\ntpath.py", line 65, in join<br>
>     result_drive, result_path = splitdrive(path)<br>
>   File "C:\OSGEO4~1\apps\Python27\lib\ntpath.py", line 115, in splitdrive<br>
>     if len(p) > 1:<br>
> TypeError: object of type 'NoneType' has no len()<br>
<br>
it seems that HOMEPATH environmental variable is not defined for your account.<br>
<br>
> I'm using Windows 10.<br>
<br>
Based on [1] HOMEPATH should be defined on Windows 10 too.<br>
<br>
Haven't you unset HOMEPATH for your account by chance? Try to set<br>
HOMEPATH pointing to your home directory.<br>
<br>
Martin<br>
<br>
[1] <a href="https://www.tenforums.com/tutorials/3234-environment-variables-windows-10-a.html" rel="noreferrer" target="_blank">https://www.tenforums.com/tutorials/3234-environment-variables-windows-10-a.html</a><br>
<br>
-- <br>
Martin Landa<br>
<a href="http://geo.fsv.cvut.cz/gwiki/Landa" rel="noreferrer" target="_blank">http://geo.fsv.cvut.cz/gwiki/Landa</a><br>
<a href="http://gismentors.cz/mentors/landa" rel="noreferrer" target="_blank">http://gismentors.cz/mentors/landa</a><br>
</blockquote></div>