Any Python developer here?
The script that we used to use last year for checking reservation availability is now breaking at the PushBullet send command:
Here is the link to the script:
http://pastebin.com/raw/TAi79uJX
The script that we used to use last year for checking reservation availability is now breaking at the PushBullet send command:
Code:
File "iphone.py", line 166, in <module>
tmp2.sendNote("Stock Checker", "iPhone Stock checker is up and running!\n\nYou will be notifed immediately once stock is found for your locations!")
File "iphone.py", line 132, in sendNote
return urllib2.urlopen(req).read()
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1222, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 8] _ssl.c:510: EOF occurred in violation of protocol>
Here is the link to the script:
http://pastebin.com/raw/TAi79uJX