[SOLVED]Amazon EC2 error

   2133   4   2
User Avatar
Member
22 posts
Joined: 12月 2010
Offline
Hi !
i'm in trouble
I get this error when i try to launch a job with
I'm using debian jessie with H14.0.444
I'm surprise because I use H14 with amazon with success for a while now

I get this error when i try to launch a job with :
could you help me ?

Traceback (most recent call last):
File “/opt/hfs14.0.444/houdini/python2.7libs/hdefereval.py”, line 114, in _processDeferred
result = code(*args, **kwargs)
File “/opt/hfs14.0.444/houdini/python2.7libs/cloud.py”, line 967, in _onShowFileReferenceDialog
num_cloud_machines, machine_type)
File “/opt/hfs14.0.444/houdini/python2.7libs/cloud.py”, line 995, in _onCloseFileReferenceDialog
if not _readAWSKey(project_parms, prompt_user=True):
File “/opt/hfs14.0.444/houdini/python2.7libs/cloud.py”, line 258, in _readAWSKey
succeeded, prompt_for_key = _readExistingAWSKey(cloud_region, prompt_user)
File “/opt/hfs14.0.444/houdini/python2.7libs/cloud.py”, line 305, in _readExistingAWSKey
access_key_id, encrypted_secret_access_key, cloud_region)
File “/opt/hfs14.0.444/houdini/python2.7libs/cloud.py”, line 345, in _promptForPassphrase
access_key_id, secret_access_key, cloud_region)
File “/opt/hfs14.0.444/houdini/python2.7libs/cloud.py”, line 130, in setAccessKeyAndGetError
access_key_id, secret_access_key, cloud_region)
File “/opt/hfs14.0.444/houdini/python2.7libs/cloud.py”, line 248, in _createRawAWSAuthConnection
server=“%s.ec2.amazonaws.com” % cloud_region)
File “/opt/hfs14.0.444/houdini/python2.7libs/EC2.py”, line 53, in __init__
self.connection = httplib.HTTPSConnection(“%s:%d” % (server, port))
AttributeError: ‘module’ object has no attribute ‘HTTPSConnection’ 8)
Edited by - 2015年9月23日 16:28:47

Attachments:
pic.gif (47.8 KB)

User Avatar
Member
818 posts
Joined: 9月 2013
Offline
There's probably a problem with importing the ssl module. In the Python shell, what do you get if you run:
import ssl

It'd also be helpful to see what libraries are loaded. You can get this list by running:
print open(“/proc/self/maps”).read()
This is rather long, so maybe put them into a text file attachment.
Andrew / アンドリュー
User Avatar
Member
22 posts
Joined: 12月 2010
Offline
Thx to help me awong!

you right there is a probleme with my ssl module
when I type “import ss” in the houdini python shell, i get :

Traceback (most recent call last):
File “<console>”, line 1, in <module>
File “/home/colin/Softwares/gaffer-0.13.1.0-linux/lib/python2.7/ssl.py”, line 60, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: No module named _ssl

I attach to my post the outpout of the command “print open(”/proc/self/maps“).read()”

Attachments:
outpout.txt (88.0 KB)

User Avatar
Member
818 posts
Joined: 9月 2013
Offline
It's looks like Houdini is trying to load some python modules from gaffer. Do you have something in your environment that points to the gaffer directory? This might be PYTHONHOME or PYTHONPATH. If so, try removing the directory from the environment variable.
Andrew / アンドリュー
User Avatar
Member
22 posts
Joined: 12月 2010
Offline
thanks so much
you just save my live

BEST REGARDS
  • Quick Links