Annual_Water_Yield model reported an UnicodeDecodeError

it keeps reporting errors like this:"pygeoprocessing.geoprocessing ERROR exception encountered in raster_calculator."or"taskgraph.Task ERROR Something went wrong when adding task create_Kc_raster (1), terminating taskgraph.“or"Something went wrong when adding task align input rasters (0), terminating taskgraph.”
Several models have similar errors,for instance HabitatQuality or SDR.
I would greatly appreciate it if this problem could be resolved.
InVEST-natcap.invest.annual_water_yield-log-2023-04-13–15_17_20.txt (29.5 KB)

Hi @caijailu , thank you for reporting this problem. It sounds like the same issue we are working on over here Crop Pollination error "utf-8" - #39 by jdouglass

If you don’t mind helping us try to resolve it, could you please try installing this development version of invest and then uploading the logfile again after running a model?

https://storage.googleapis.com/natcap-dev-build-artifacts/invest/phargogh/3.13.0.post47%2Bg5b2c9125c/workbench/invest_3.13.0.post47%2Bg5b2c9125c_workbench_win32_x64.exe

We hope the logfile will contain extra information that will help us solve the problem. Thank you,

1 Like

I wanted to update this thread as well about a workaround: Installing InVEST for all users during the installation process will bypass this issue.

We are still investigating the root cause.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.