[GRASS-dev] Python grass script error
Margherita Di Leo
diregola at gmail.com
Thu Jun 29 08:00:44 PDT 2017
Hi,
I have GRASS 7.3.svn (r71212). In python , calling grass.script I get:
>>> import grass.script as grass
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/grass-7.3.svn/etc/python/grass/script/__init__.py", line
5, in <module>
from .core import *
File "/usr/local/grass-7.3.svn/etc/python/grass/script/core.py", line 35,
in <module>
gettext.install('grasslibs', os.path.join(os.getenv("GISBASE"),
'locale'))
File "/usr/lib64/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
Anyone can reproduce this error?
Thank you in advance
--
Margherita Di Leo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20170629/bb50cf51/attachment.html>
More information about the grass-dev
mailing list