Running deadline V6.0.0.44986
Under deadline 5 I had issues with shotgun integration with importing hashlib libraries which was resolved I think with some symbolic links around the 2.6.7 pythomn which was shipped with deadline 5.
This time I seem to have the same issues (upgraded from Centos 5.8 to Centos6.3) although hashlib loads, but md5 doesnt and thats why the shotguntestconnection script falls over.
Here are python and deadline outputs
[root@z600-11 lib64]# python
Python 2.6.6 (r266:84292, Jun 18 2012, 14:18:47)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
import _hashlib
import _md5
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named _md5
[root@z600-11 tmp]# cat deadline
Traceback (most recent call last):
File “none”, line 737, in main
File “/mnt/DeadlineRepository6/events/Shotgun/ShotgunUtils.py”, line 5, in
import shotgun_api3.shotgun
File “/mnt/DeadlineRepository6/events/Shotgun/shotgun_api3/init.py”, line 1, in
from shotgun import (Shotgun, ShotgunError, Fault, ProtocolError, ResponseError,
File “/mnt/DeadlineRepository6/events/Shotgun/shotgun_api3/shotgun.py”, line 47, in
import urllib2 # used for image upload
File “/opt/Thinkbox/Deadline6/bin/python/lib/python2.6/urllib2.py”, line 93, in
import hashlib
File “/opt/Thinkbox/Deadline6/bin/python/lib/python2.6/hashlib.py”, line 136, in
md5 = __get_builtin_constructor(‘md5’)
File “/opt/Thinkbox/Deadline6/bin/python/lib/python2.6/hashlib.py”, line 63, in __get_builtin_constructor
import _md5
ImportError: No module named _md5
[root@z600-11 tmp]#
[root@z600-11 tmp]# python
Python 2.6.6 (r266:84292, Jun 18 2012, 14:18:47)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
import md5
main:1: DeprecationWarning: the md5 module is deprecated; use hashlib insteadimport _md5
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named _md5
So it’s looking like the Md5 module has been deprecated for hashlib.
From memory I am sure deadline was calling hashlib module, then if that failed to load drop to md5, but I cannot find the python module deadline is using this time to check.
Suggestions please?
Chris