0

Shotgun https support for Maya 2009

getting error when trying to do operations from within maya...

using maya 2009

# Error: your version of httplib doesn't support HTTPS
# Traceback (most recent call last):
#   File "<maya console>", line 1, in <module>
#   File "D:/tools/maya/2009/scripts\

shotgun_api3_preview.py", line 279, in find_one
#     result = self.find(entity_type, filters, fields, order, filter_operator, 1)
#   File "D:/tools/maya/2009/scripts\shotgun_api3_preview.py", line 253, in find
#     resp = self._api3.read(req)
#   File "D:/tools/maya/2009/scripts\shotgun_api3_preview.py", line 445, in callable
#     return self.meta_caller(attr, *args, **kwargs)
#   File "D:/tools/maya/2009/scripts\shotgun_api3_preview.py", line 452, in meta_caller
#     (self.__class__.__name__, attr, self.__class__.__name__)
#   File "<string>", line 1, in <module>
#   File "D:/tools/maya/2009/scripts\shotgun_api3_preview.py", line 1741, in __call__
#     return self.__send(self.__name, args)
#   File "D:/tools/maya/2009/scripts\shotgun_api3_preview.py", line 2052, in __request
#     verbose=self.__verbose
#   File "D:/tools/maya/2009/scripts\shotgun_api3_preview.py", line 1771, in request
#     h = self.make_connection(host)
#   File "D:/tools/maya/2009/scripts\shotgun_api3_preview.py", line 1954, in make_connection
#     "your version of httplib doesn't support HTTPS"
# NotImplementedError: your version of httplib doesn't support HTTPS #

 

thank

2 comments

  • 0
    Avatar
    Nephi Sanchez
    • [Post from Isaac Reuben]

    • Hey Menashe,

      The core problem here is that the version of python that Autodesk includes in Maya is missing https support. =( If you want to ping them about that, it might help to encourage them to include it in the future! (I know a number of people have asked them, but more will help.)

      I'm looking into other workarounds (like possibly including our own copy of the https libraries). Will keep you updated!

      I could also enable plain http for your site (we normally force https), but then any data sent through the API would not be encrypted.

      Cheers,

      - Isaac

    -----

    Result:  switching to http solved the issue

  • 0
    Avatar
    KP

    There is also some info in the Shotgun and Nuke thread that might be useful in hacking https support in. Check out https://support.shotgunsoftware.com/entries/48110-shotgun-and-nuke

Please sign in to leave a comment.