Hi, I’m trying to run the HQ model (version 3.7) but I receive all the time the same error “TypeError: cannot concatenate ‘str’ and ‘long’ objects”. I can not understand what are the file that creates the problem and how I can solve it.
See Log file reported below
2019-11-11 18:12:24,996 utils.prepare_workspace(109) INFO Writing log messages to D:\GIS\Re\0_SE\HQ\OUTPUT\InVEST-Habitat-Quality-log-2019-11-11–18_12_24.txt
2019-11-11 18:12:24,997 model._logged_target(1633) Level 100 Starting model with parameters:
Arguments for InVEST natcap.invest.habitat_quality 3.7.0:
half_saturation_constant 0.5
lulc_cur_path D:/GIS/Re/0_SE/HQ/INPUT/Threats/LULC31.tif.ovr
n_workers -1
sensitivity_table_path D:/GIS/Re/0_SE/HQ/INPUT/SensitivityRLSE.csv
suffix
threat_raster_folder D:\GIS\Re\0_SE\HQ\INPUT\Threats
threats_table_path D:/GIS/Re/0_SE/HQ/INPUT/ThreatsRLSE.csv
workspace_dir D:\GIS\Re\0_SE\HQ\OUTPUT
2019-11-11 18:12:25,125 model._logged_target(1639) ERROR Exception while executing <function execute at 0x0F8B8430>
Traceback (most recent call last):
File “Z:\opt\atlassian\pipelines\agent\build\env\lib\site-packages\natcap\invest\ui\model.py”, line 1636, in _logged_target
File “Z:\opt\atlassian\pipelines\agent\build\env\lib\site-packages\natcap\invest\habitat_quality.py”, line 106, in execute
TypeError: cannot concatenate ‘str’ and ‘long’ objects
2019-11-11 18:12:25,127 model._logged_target(1642) INFO Execution finished
2019-11-11 18:12:25,128 utils.prepare_workspace(115) INFO Elapsed time: 0.13s