Invest 产水量模型出现 [errno 1] PROJ: proj_identify: Cannot find proj.db
What can i do?Thank you!
Welcome, @zhangmin , please review our Posting Guidelines and upload your invest logfile. Thank you,
@dave Today I tried again and looked at the model’s instructions, but still couldn’t solve the problem. Could you please help me take a look? Thank you! I have uploaded the running log, please check it again!
InVEST-natcap.invest.annual_water_yield-log-2024-08-07–14_26_25.txt (41.7 KB)
Hi @zhangmin , thanks for sharing your logs and continuing to try to solve the problem. This problem is a bit difficult to troubleshoot. There is one other person who reported this “invest模型产水量运行出现报错:[errno 1]PROJ: proj create from name”
The Workbench installation should come with the “proj.db” file, but for some reason GDAL is looking in the wrong location for this file, and not finding it. It is possible that your system has some GDAL-related environment variables set that are pointing to a wrong location. These could have been set by some other other software that you may have installed in the past. Does that sound possible?
In the Workbench, can you please go the “About > Report a problem” menu at the top of the window, and then click the “Find my logs” button. There should be a “main.log” file that you could upload here. It might contain the values of those environment variables, if they exist.
You could also try adding a new environment variable: PROJ_DEBUG=3
which will hopefully add more details to the error messages in your invest logfile. To do this:
- search “env” in the windows start menu
- “Edit the system environment variables”
- Click “Environment Variables”
- Click “New” under the System Variables
- Variable Name: PROJ_DEBUG
- Variable Value: 3
- Try closing and re-opening the Workbench and re-running the model
Thank you,
Hello, @Zhanmin. When i invest carbon storage, i have meet the same question. Do you know how to solve thie problem?
Hi, thanks for you suggestion. I have try to this method that you provided. While, this method seems are not slove this problems. Do you have any advice?
Hello, I have already resolved this issue. As he said, it is indeed a problem with the computer, which may be due to some software we have installed before, and not related to the variables we input.
My solution is to change a new computer and use the same data without any problems. At the same time, I found a very mysterious phenomenon that the running results of my two computers are identical, even if the first computer runs with this error.
I hope I can help you. Best wishes!
Hi, thank you so much for writing back. This is a fantastic result and it looks like the error won’t affect my final result, which is great news. Good luck!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.