---------------------------------------------------------------------------
gaierror Traceback (most recent call last)
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, **response_kw)
543 timeout=timeout_obj,
--> 544 body=body, headers=headers)
545
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, **httplib_request_kw)
340 try:
--> 341 self._validate_conn(conn)
342 except (SocketTimeout, BaseSSLError) as e:
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py in _validate_conn(self, conn)
761 if not getattr(conn, 'sock', None): # AppEngine might not have `.sock`
--> 762 conn.connect()
763
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/connection.py in connect(self)
203 # Add certificate verification
--> 204 conn = self._new_conn()
205
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/connection.py in _new_conn(self)
133 conn = connection.create_connection(
--> 134 (self.host, self.port), self.timeout, **extra_kw)
135
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/util/connection.py in create_connection(address, timeout, source_address, socket_options)
63 err = None
---> 64 for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
65 af, socktype, proto, canonname, sa = res
/usr/lib/python3.4/socket.py in getaddrinfo(host, port, family, type, proto, flags)
529 addrlist = []
--> 530 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
531 af, socktype, proto, canonname, sa = res
gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
ProtocolError Traceback (most recent call last)
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
369 retries=self.max_retries,
--> 370 timeout=timeout
371 )
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, **response_kw)
596 retries = retries.increment(method, url, error=e, _pool=self,
--> 597 _stacktrace=sys.exc_info()[2])
598 retries.sleep()
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/util/retry.py in increment(self, method, url, response, error, _pool, _stacktrace)
244 if read is False:
--> 245 raise six.reraise(type(error), error, _stacktrace)
246 elif read is not None:
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/packages/six.py in reraise(tp, value, tb)
308 if value.__traceback__ is not tb:
--> 309 raise value.with_traceback(tb)
310 raise value
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, **response_kw)
543 timeout=timeout_obj,
--> 544 body=body, headers=headers)
545
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, **httplib_request_kw)
340 try:
--> 341 self._validate_conn(conn)
342 except (SocketTimeout, BaseSSLError) as e:
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py in _validate_conn(self, conn)
761 if not getattr(conn, 'sock', None): # AppEngine might not have `.sock`
--> 762 conn.connect()
763
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/connection.py in connect(self)
203 # Add certificate verification
--> 204 conn = self._new_conn()
205
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/connection.py in _new_conn(self)
133 conn = connection.create_connection(
--> 134 (self.host, self.port), self.timeout, **extra_kw)
135
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/packages/urllib3/util/connection.py in create_connection(address, timeout, source_address, socket_options)
63 err = None
---> 64 for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
65 af, socktype, proto, canonname, sa = res
/usr/lib/python3.4/socket.py in getaddrinfo(host, port, family, type, proto, flags)
529 addrlist = []
--> 530 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
531 af, socktype, proto, canonname, sa = res
ProtocolError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))
During handling of the above exception, another exception occurred:
ConnectionError Traceback (most recent call last)
<ipython-input-8-ee9ef9da0a66> in <module>()
4 'layout': {
5 'barmode': 'stack',
----> 6 'title': title
7 }
8 })
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/plotly/plotly/plotly.py in iplot(figure_or_data, **plot_options)
137 if 'auto_open' not in plot_options:
138 plot_options['auto_open'] = False
--> 139 res = plot(figure_or_data, **plot_options)
140 urlsplit = res.split('/')
141 username, plot_id = urlsplit[-2][1:], urlsplit[-1] # TODO: HACKY!
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/plotly/plotly/plotly.py in plot(figure_or_data, validate, **plot_options)
189 pass
190 plot_options = _plot_option_logic(plot_options)
--> 191 res = _send_to_plotly(figure, **plot_options)
192 if res['error'] == '':
193 if plot_options['auto_open']:
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/plotly/plotly/plotly.py in _send_to_plotly(figure, **plot_options)
1253
1254 r = requests.post(url, data=payload,
-> 1255 verify=get_config()['plotly_ssl_verification'])
1256 r.raise_for_status()
1257 r = json.loads(r.text)
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/api.py in post(url, data, json, **kwargs)
106 """
107
--> 108 return request('post', url, data=data, json=json, **kwargs)
109
110
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/api.py in request(method, url, **kwargs)
48
49 session = sessions.Session()
---> 50 response = session.request(method=method, url=url, **kwargs)
51 # By explicitly closing the session, we avoid leaving sockets open which
52 # can trigger a ResourceWarning in some cases, and look like a memory leak
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/sessions.py in request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json)
462 }
463 send_kwargs.update(settings)
--> 464 resp = self.send(prep, **send_kwargs)
465
466 return resp
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/sessions.py in send(self, request, **kwargs)
574
575 # Send the request
--> 576 r = adapter.send(request, **kwargs)
577
578 # Total elapsed time of the request (approximately)
/home/phyng/dev/zuobiao/zuobiaoenv/lib/python3.4/site-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
413
414 except (ProtocolError, socket.error) as err:
--> 415 raise ConnectionError(err, request=request)
416
417 except MaxRetryError as e:
ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))