Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Your YASARA installation is now updated to the latest stable version.

Using the YASARA plugin with a proxy

...

Using the YASARA plugin with your proxy is easier than ever with our integrated proxy settings screen. You can find this settings screen under 3DM > Info > Set proxy information. You do not need to be logged in to set your proxy settings. Simply enter your HTTP(S) proxy urls in the text fields, click Test proxy to verify your proxy works, and click OK to apply the settings. You do not need to restart YASARA for the settings to take effect.

...

Code Block
languagejs
{
	"http": "http://<username>:<password>@<proxy_server>/",
	"https": "https://<username>:<password>@<proxy_server>/"
}

Using the YASARA plugin with a proxy. [Old method - <3.1.9]

The procedure for working with the YASARA plugin through an HTTP proxy is the same as that for YASARA (please refer to page RYwwataHp.html in your YASARA documentation for more in-depth instructions and a background), except with HTTPS. To reiterate the procedure: It requires setting the https_proxy environment variable on your system.

Windows

In Windows, you can add it to the autoexec.bat file:

code
set http_proxy=http://yourproxy.yourdomain.com:3128
set https_proxy=http://yourproxy.yourdomain.com:3128

Alternatively start the control panel, search for 'env' and click 'Edit the system environment variables' (Windows 10, setting variables for your own account may be broken), or search the settings for 'environment' (Windows 8), or enter the Start menu, right-click on Computer, then click Properties > Advanced system settings > Advanced tab > Environment variables > New (Windows 7 and older), or enter the Start menu, type 'Accounts' into the search box, go to 'User Accounts' and 'Change my environment variables' in the bottom left corner (Windows 7 without admin privileges).

Having made the change, restart your computer.

Linux

In Linux, it depends on your shell, e.g. bash users can add it to the ~/.bashrc file. If you launch YASARA with a desktop shortcut, please consult the documentation of your Linux distribution how environment variables are set there.

...

Instructions have been copied (with small alterations) from the YASARA documentation.

SSL Errors

If you encounter the following error:

bioprodict.shared.vendors.requests.exceptions.SSLError: hostname 'api.bio-prodict.nl' doesn't match either of 'bio-prodict.com', 'bio-prodict.nl', 'bioprodict.com', 'bioprodict.nl', 'www.bio-prodict.com', 'www.bio-prodict.nl', 'www.bioprodict.com', 'www.bioprodict.nl'

It appears that the version of Python that is installed on your system is does not support SNI. Version 2.7.10 or higher is required to run the plugin, in order to ensure a safe connection between our servers and your computer.

Windows

If you are running Windows, this can be resolved by installing the latest version of Python from their main website. Please visit https://www.python.org/downloads/ and find the link for "Python 2.7.17". You will be prompted to download an executable installer. Save the file and execute it when the download has finished. Follow the instructions of the installer. When you arrive at the screen "Customize Python 2.7.17", please scroll to the end of the list to find the option "Add python.exe to Path", marked by a red cross. Click on the dropdown menu and select "Will be installed on local hard drive". I have attached a screenshot of this procedure. Once that is done, continue with the installation. When it is finished, restart YASARA for the changes to take effect.

Linux

If you are using Linux, please open a terminal and run python2 --version to confirm your Python version. If it is below 2.7.10, please update it by running sudo apt-get update; sudo apt-get install python2.7; . When it is finished, restart YASARA for the changes to take effect.

If problems persist...

It appears that your company uses a self signed certificate to encrypt traffic inside the network. You must disable SSL verification for YASARA 3DM to work. For security reasons we do not recommend this recourse for computers that may move outside the company network.

Windows

1. Navigate to the location where you installed PyMol in Explorer. This is likely C:\Program Files\YASARA .
2. Inside this directory, navigate to plg\bioprodict
3. Open the config.json file in notepad (or your favorite plain text editor)
4. Find the line that says: "verify_https": true , change true to falseto disable this setting.
5. Save the file.
6. Restart YASARA, the plugin should now work.

Linux

1. Navigate to the location where you installed PyMol in Explorer. This is likely ~/yasara
2. Inside this directory, navigate to plg\bioprodict
3. Open the config.json file in gedit (or your favorite plain text editor)
4. Find the line that says: "verify_https": true , change true to falseto disable this setting.
5. Save the file.
6. Restart YASARA, the plugin should now work.

Adjusting API URLs in the configuration

...