This script aggregates all new TV, movie and music releases for the past configured time then optionally writes to your web directory and sends out an email.
Traceback (most recent call last):
File "plexEmail.py", line 1076, in
imageInfo = processImage(hash, imageInfo['thumb'], 'movie', 0, 0)
File "plexEmail.py", line 426, in processImage
cloudinaryURL = uploadToCloudinary(imgLocation)
File "plexEmail.py", line 484, in uploadToCloudinary
response = cloudinary.uploader.upload(imgToUpload)
File "/opt/PlexEmail/scripts/cloudinary/uploader.py", line 16, in upload
return call_api("upload", params, file = file, options)
File "/opt/PlexEmail/scripts/cloudinary/uploader.py", line 201, in call_api
response = urllib2.urlopen(request, kw).read()
File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(args)
File "/opt/PlexEmail/scripts/cloudinary/poster/streaminghttp.py", line 144, in http_open
return self.do_open(StreamingHTTPConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1202, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib64/python2.7/httplib.py", line 1136, in getresponse
response.begin()
File "/usr/lib64/python2.7/httplib.py", line 453, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.7/httplib.py", line 409, in _read_status
line = self.fp.readline(_MAXLINE + 1)
File "/usr/lib64/python2.7/socket.py", line 480, in readline
cloudinaryURL = uploadToCloudinary(imgLocation)
File "plexEmail.py", line 484, in uploadToCloudinary
response = cloudinary.uploader.upload(imgToUpload)
File "/opt/PlexEmail/scripts/cloudinary/uploader.py", line 16, in upload
return call_api("upload", params, file = file, options)
File "/opt/PlexEmail/scripts/cloudinary/uploader.py", line 201, in call_api
response = urllib2.urlopen(request, kw).read()
File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(args)
File "/opt/PlexEmail/scripts/cloudinary/poster/streaminghttp.py", line 144, in http_open
return self.do_open(StreamingHTTPConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1202, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib64/python2.7/httplib.py", line 1136, in getresponse
response.begin()
File "/usr/lib64/python2.7/httplib.py", line 453, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.7/httplib.py", line 409, in _read_status
line = self.fp.readline(_MAXLINE + 1)
File "/usr/lib64/python2.7/socket.py", line 480, in readline
data = self._sock.recv(self._rbufsize)
Any Idea what I'm doing wrong here?
Traceback (most recent call last): File "plexEmail.py", line 1076, in
imageInfo = processImage(hash, imageInfo['thumb'], 'movie', 0, 0)
File "plexEmail.py", line 426, in processImage
cloudinaryURL = uploadToCloudinary(imgLocation)
File "plexEmail.py", line 484, in uploadToCloudinary
response = cloudinary.uploader.upload(imgToUpload)
File "/opt/PlexEmail/scripts/cloudinary/uploader.py", line 16, in upload
return call_api("upload", params, file = file, options)
File "/opt/PlexEmail/scripts/cloudinary/uploader.py", line 201, in call_api
response = urllib2.urlopen(request, kw).read()
File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(args)
File "/opt/PlexEmail/scripts/cloudinary/poster/streaminghttp.py", line 144, in http_open
return self.do_open(StreamingHTTPConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1202, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib64/python2.7/httplib.py", line 1136, in getresponse
response.begin()
File "/usr/lib64/python2.7/httplib.py", line 453, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.7/httplib.py", line 409, in _read_status
line = self.fp.readline(_MAXLINE + 1)
File "/usr/lib64/python2.7/socket.py", line 480, in readline
cloudinaryURL = uploadToCloudinary(imgLocation)
File "plexEmail.py", line 484, in uploadToCloudinary
response = cloudinary.uploader.upload(imgToUpload)
File "/opt/PlexEmail/scripts/cloudinary/uploader.py", line 16, in upload
return call_api("upload", params, file = file, options)
File "/opt/PlexEmail/scripts/cloudinary/uploader.py", line 201, in call_api
response = urllib2.urlopen(request, kw).read()
File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(args)
File "/opt/PlexEmail/scripts/cloudinary/poster/streaminghttp.py", line 144, in http_open
return self.do_open(StreamingHTTPConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1202, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib64/python2.7/httplib.py", line 1136, in getresponse
response.begin()
File "/usr/lib64/python2.7/httplib.py", line 453, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.7/httplib.py", line 409, in _read_status
line = self.fp.readline(_MAXLINE + 1)
File "/usr/lib64/python2.7/socket.py", line 480, in readline
data = self._sock.recv(self._rbufsize)