Im having trouble connecting for some reason:
import Deadline
a = Jobs.Jobs(r'deadline.scanlinevfxla.com')
b = a.GetJobs()
---------------------------------------------------------------------------
error Traceback (most recent call last)
C:\python26_64\<ipython-input-18-2033faeb787c> in <module>()
----> 1 b = a.GetJobs()
\\inferno2.scanlinevfxla.com\deadline\repository6\api\python\Deadline\Jobs.py in GetJobs(self, ids)
43 if ids != None:
44 script = script +"?JobID=" + ArrayToCommaSeperatedString(ids)
---> 45 return self.__get__(script)
46
47 def GetJob(self, id):
\\inferno2.scanlinevfxla.com\deadline\repository6\api\python\Deadline\Jobs.py in __get__(self, commandString)
14 def __get__(self, commandString):
15
---> 16 return DeadlineSend.send(self.address,commandString, "GET")
17
18 def __put__(self, commandString, body):
\\inferno2.scanlinevfxla.com\deadline\repository6\api\python\Deadline\DeadlineSend.py in send(address, message, requestType)
10 """
11 conn = httplib.HTTPConnection(address)
---> 12 conn.request(requestType, message)
13
14 response = conn.getresponse()
C:\python26_64\lib\httplib.py in request(self, method, url, body, headers)
896
897 try:
--> 898 self._send_request(method, url, body, headers)
899 except socket.error, v:
900 # trap 'Broken pipe' if we're allowed to automatically reconnect
C:\python26_64\lib\httplib.py in _send_request(self, method, url, body, headers)
933 for hdr, value in headers.iteritems():
934 self.putheader(hdr, value)
--> 935 self.endheaders()
936
937 if body:
C:\python26_64\lib\httplib.py in endheaders(self)
890 raise CannotSendHeader()
891
--> 892 self._send_output()
893
894 def request(self, method, url, body=None, headers={}):
C:\python26_64\lib\httplib.py in _send_output(self)
762 msg = "\r\n".join(self._buffer)
763 del self._buffer[:]
--> 764 self.send(msg)
765
766 def putrequest(self, method, url, skip_host=0, skip_accept_encoding=0):
C:\python26_64\lib\httplib.py in send(self, str)
721 if self.sock is None:
722 if self.auto_open:
--> 723 self.connect()
724 else:
725 raise NotConnected()
C:\python26_64\lib\httplib.py in connect(self)
702 """Connect to the host and port specified in __init__."""
703 self.sock = socket.create_connection((self.host,self.port),
--> 704 self.timeout)
705
706 if self._tunnel_host:
C:\python26_64\lib\socket.pyc in create_connection(address, timeout)
512 sock.close()
513
--> 514 raise error, msg
error: [Errno 10061] No connection could be made because the target machine actively refused it
We dont need to run the webservice for the python api to work, right?