I have updated to CSD Portfolio 2023.1 and now the CSD Python API fails to find the software or data

Modified on Thu, 1 Aug, 2024 at 12:16 PM

This is usually a result of running the CSD Python API in your own Python environment and not updating it to the latest version when you update the CSD Portfolio. Because the filesystem layout was changed for 2023.1, older versions of the Python API are unable to locate the software and data in its new location. We aim to fix this in a future release.

Currently the recommended resolution for this issue is to update your CSD Python API to the latest version (3.0.15 at the date of writing). Installer links for the standalone Python API are obtained by filling out the same CSDS Downloads Form as for the main CSD Portfolio installers.

If you are unable to update your CSD Python API, you can set the environment variables CCDC_TOOLKIT_SQLITE_DATABASE and CCDC_LOCAL_CSD_SQLITE_ASER_FILES as a temporary fix e.g.

setx CCDC_TOOLKIT_SQLITE_DATABASE "C:\Users\Username\CCDC\ccdc-data\csd\as544be_ASER.sqlite"
setx CCDC_LOCAL_CSD_SQLITE_ASER_FILES "C:\Users\Username\CCDC\ccdc-data\csd\as544be_ASER.sqlite"

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article