-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workbench crash reported on Windows #1559
Comments
The same error occurred after I downloaded and installed the software. |
@asoluer are you building and running the workbench yourself? Or are you running the workbench binary downloaded from here? We use Pyinstaller to bundle all dependencies including GDAL into the binary executable, so it should be independent of your environment or IDE settings. It would be very strange if your IDE settings affected the InVEST binary. But if that is the case, please let us know! Thanks for investigating |
@emlys This indeed seems to be a peculiar issue. Initially, I downloaded the workbench version of the software directly from the website. After installing it, the software wouldn't open properly. I then attempted to run invest.exe via the command prompt, which led to the aforementioned error: (Partial log found on a community forum, similar to my situation)
I tried adding the USE_PATH_FOR_GDAL_PYTHON environment variable, but the error persisted (I'm unclear on the specific reasons and details). Subsequently, I installed the software again on a colleague's computer and the problem disappeared. So, I checked my colleague's system environment variables, adjusted my settings accordingly, and removed the related anaconda paths, after which the software started working normally. In an effort to understand the root cause, I tried building invest with conda after removing the anaconda path: |
A user reported
Their
main.log
file is attached:main.log
The server fails to start up because of an error loading GDAL:
The text was updated successfully, but these errors were encountered: