-
Notifications
You must be signed in to change notification settings - Fork 3
Invalid mmcifValidator.pythonPath setting #16
Description
Hello,
Thank you for this very useful extension!
After installation, no errors were reported for clearly invalid mmCIF files. I only had "mmCIF validation: no errors" in the status bar, "no problems have been detected in this workspace" in the Problems panel, and the "Metadata completeness" box was empty.
I needed to set the following in settings.json:
"mmcifValidator.pythonPath": "python3"
Now things to work properly, I can see errors and the metadata completeness box is populated.
I am running Cursor (VS Code-compatible editor) on Ubuntu 24.04, where python is not available.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.4 LTS
Release: 24.04
Codename: noble
$ python
Command 'python' not found, did you mean:
command 'python3' from deb python3
command 'python' from deb python-is-python3
PDBEurope.pdbe-mmcif-validator version 0.1.81.
If I may, you could consider making python3 the default, as that should always be available.
In addition, it would be nice to display a clear error indicating Python executable not found (or non-zero process exit) when the process failed, and not “No errors” message.