TypeError: 'NoneType' object has no attribute '__getitem__'

Hi there,

I am getting the following error when trying to run the HRA model:

TypeError: ‘NoneType’ object has no attribute ‘getitem’.

Please see attached log and csv files: exposure_consequence_criteria.csv (7.2 KB) InVEST-Habitat-Risk-Assessment-log-2020-01-10–12_42_39.txt (8.6 KB)

Can you use kml files or do you need UTM projected SHP files for each vector file?

Nevermind I got it working.

Hi @LucStrydom -

Glad you got it working, and can you share how, in case it helps someone else?

~ Stacie

Sure. The problem was that one of my “stressor” vector files was a line feature (kml). I created a small buffer to convert it to a polygon and that seemed to do the trick.