[AttributeError: 'NoneType' object has no attribute 'rfind'] in Coastal Vulnerability model

ericnostericnost Member
edited September 30 in General

p, li { white-space: pre-wrap; }

Hello,


I am encountering a stubborn error while trying to run the coastal vulnerability model. I am on a Mac 10.11.6. I have both Python 2.7 and 3.6 installed. Whenever I try to run the coastal vulnerability model with the default data I receive the following error (the entire log is posted below). This happens with both InVEST 3.3.3 and 3.3.2. I am able to execute other models, like pollination, successfully. Any thoughts would be greatly appreciated.


Best,


Eric


Initializing...

09/30/2017 16:48:18 root DEBUG Printing traceback

Traceback (most recent call last):

File "site-packages/natcap/invest/iui/executor.py", line 409, in run

File "site-packages/natcap/invest/iui/executor.py", line 489, in runModel

File "importlib/__init__.py", line 37, in import_module

File "/Users/jenkins/jenkins_build/workspace/natcap.invest/label/Stanford-osx-1/src/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module

File "site-packages/natcap/invest/coastal_vulnerability/coastal_vulnerability.py", line 9, in <module>

File "/Users/jenkins/jenkins_build/workspace/natcap.invest/label/Stanford-osx-1/src/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module

File "site-packages/natcap/invest/coastal_vulnerability/coastal_vulnerability_core.py", line 15, in <module>

File "/Users/jenkins/jenkins_build/workspace/natcap.invest/label/Stanford-osx-1/src/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module

File "/usr/local/lib/python2.7/site-packages/rtree/__init__.py", line 1, in <module>

File "/Users/jenkins/jenkins_build/workspace/natcap.invest/label/Stanford-osx-1/src/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module

File "/usr/local/lib/python2.7/site-packages/rtree/index.py", line 6, in <module>

File "/Users/jenkins/jenkins_build/workspace/natcap.invest/label/Stanford-osx-1/src/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module

File "/usr/local/lib/python2.7/site-packages/rtree/core.py", line 106, in <module>

File "<string>", line 121, in __init__

File "posixpath.py", line 114, in basename

AttributeError: 'NoneType' object has no attribute 'rfind'



09/30/2017 16:48:18 root ERROR Exception <type 'exceptions.AttributeError'>, 'NoneType' object has no attribute 'rfind' found

09/30/2017 16:48:18 root ERROR Exiting due to failures

Post edited by ericnost on

Comments

This discussion has been closed.