0

Error with core update

Hi There,

I updated the core for one of our projects, and I'm now getting this error...

Any suggestions?

---------------------------------------------------------

The following was reported from the Shotgun Pipeline Tookit:
Error reported while caching Toolkit actions:

Traceback (most recent call last):
  File "/net/server/eng/uSystem/pipeline/sgtk/studio/install/core/scripts/tank_cmd.py", line 16, in <module>
    import tank
  File "/net/server/eng/uSystem/pipeline/sgtk/studio/install/core/python/tank/__init__.py", line 13, in <module>
    from . import platform
  File "/net/server/eng/uSystem/pipeline/sgtk/studio/install/core/python/tank/platform/__init__.py", line 13, in <module>
    from .engine import start_engine, current_engine, get_engine_path, find_app_settings
  File "/net/server/eng/uSystem/pipeline/sgtk/studio/install/core/python/tank/platform/engine.py", line 24, in <module>
    from ..deploy import descriptor
  File "/net/server/eng/uSystem/pipeline/sgtk/studio/install/core/python/tank/deploy/descriptor.py", line 21, in <module>
    from ..util import shotgun
  File "/net/server/eng/uSystem/pipeline/sgtk/studio/install/core/python/tank/util/__init__.py", line 12, in <module>
    from .shotgun import register_publish
  File "/net/server/eng/uSystem/pipeline/sgtk/studio/install/core/python/tank/util/shotgun.py", line 21, in <module>
    from tank_vendor.shotgun_api3 import Shotgun
  File "/net/server/eng/uSystem/pipeline/sgtk/studio/install/core/python/tank_vendor/shotgun_api3/__init__.py", line 1, in <module>
    from shotgun import (Shotgun, ShotgunError, ShotgunFileDownloadError, Fault,
  File "/net/server/eng/uSystem/pipeline/sgtk/studio/install/core/python/tank_vendor/shotgun_api3/shotgun.py", line 54, in <module>
    from sg_25 import *
  File "/net/server/eng/uSystem/pipeline/sgtk/studio/install/core/python/tank_vendor/shotgun_api3/sg_25.py", line 5, in <module>
    from .lib.httplib2 import Http, ProxyInfo, socks
  File "/net/server/eng/uSystem/pipeline/sgtk/studio/install/core/python/tank_vendor/shotgun_api3/lib/httplib2/__init__.py", line 801, in <module>
    class HTTPSConnectionWithTimeout(httplib.HTTPSConnection):
AttributeError: 'module' object has no attribute 'HTTPSConnection'

2 comments

  • 0
    Avatar
    KP

    Hi Andy,

    What version of Python are you running? Was it compiled with ssl enabled? To check, try running 

    $ python
    > import ssl

    If you get an error there then it would seem Python was built without SSL enabled. You can find some tips on how to fix this here: http://www.webtop.com.au/blog/compiling-python-with-ssl-support-fedora-10-2009020237

    You said you were just updating core though so not sure if it was working before, if you changed anything with your python installation?

  • 0
    Avatar
    Nils Lerin

    Hi

    I've seen this error with Motionbuilder 2015. Updating to service pack 1 fixes the problem. I also remember replacing one of the ssl related files in the mobu install directory with one from maya and got it working to but I can't remember which one. Just throwing it out the in case anyone still has the problem.

Please sign in to leave a comment.