Knowledge Base

Article ID: 1603 - Last Modified:

I get an error mentioning HTTPSHandler when I try to import a PDB file or use the proxy_config.py utility. Is there a fix for this problem?

On some Linux platforms such as Ubuntu or CentOS 6, getting a PDB file from the web, or using a workflow that does this, may fail with an error similar to the following error from the Protein Preparation Wizard:

Error in executing: ' prepwizard_gui.panel' :
Error type: <type 'exceptions.AttributeError'>
Error message: 'module' object has no attribute 'HTTPSHandler'

Similarly, following the Installation Guide instructions to run proxy_config.py to configure the web proxy may also fail with a Python error:

from schrodinger.utils.urllib import HTTPSHandler, get_opener, \
ImportError: cannot import name HTTPSHandler

The problem is that certain bundled libraries in our installation are incompatible with your Linux distribution. Disabling them as follows should permit your commands to succeed:

cd $SCHRODINGER/mmshare-vversion/lib/Linux-x86_64
mv libselinux.so.1 ../../disabled_lib/Linux-x86_64/
mv libsepol.so.1 ../../disabled_lib/Linux-x86_64/

Depending on the ownership settings for your installation, you may need root (superuser) privileges to execute these commands.

This problem has been fixed in Suite 2013-1.

Keywords: Maestro, library

Back to Search Results

Was this information helpful?

What can we do to improve this information?


To ask a question or get help, please submit a support ticket or email us at help@schrodinger.com.
Knowledge Base Search

Type the words or phrases on which you would like to search, or click here to view a list of all
Knowledge Base articles