--> --> -->
 
 
<class 'urllib2.URLError'>
Python 2.7.6: /usr/bin/python
Wed Nov 21 12:38:14 2018

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/gsnedders/gsnedders.html5.org/outliner/process.py in ()
     77     print s.render(walker(treeToc), encoding="utf-8")
     78     
     79 
     80 if __name__ == "__main__":
=>   81     main()
main = <function main>
 /home/gsnedders/gsnedders.html5.org/outliner/process.py in main()
     51         fromTree(tree)
     52     elif "url" in form and form["url"].value.strip().startswith("http"):
=>   53         tree = html5lib.parse(urllib2.urlopen(form["url"].value), "lxml", namespaceHTMLElements=False)
     54         fromTree(tree)
     55     else:
tree undefined, global html5lib = <module 'html5lib' from '/home/gsnedders/.python...ml5lib-0.95_dev-py2.5.egg/html5lib/__init__.pyc'>, html5lib.parse = <function parse>, global urllib2 = <module 'urllib2' from '/usr/lib/python2.7/urllib2.pyc'>, urllib2.urlopen = <function urlopen>, form = FieldStorage(None, None, [MiniFieldStorage('url', 'http://nlabs.com.tw/jumpstart/home/semantics')]), ].value = [MiniFieldStorage('url', 'http://nlabs.com.tw/jumpstart/home/semantics')], namespaceHTMLElements undefined, builtin False = False
 /usr/lib/python2.7/urllib2.py in urlopen(url='http://nlabs.com.tw/jumpstart/home/semantics', data=None, timeout=<object object>)
    125     if _opener is None:
    126         _opener = build_opener()
=>  127     return _opener.open(url, data, timeout)
    128 
    129 def install_opener(opener):
global _opener = <urllib2.OpenerDirector instance>, _opener.open = <bound method OpenerDirector.open of <urllib2.OpenerDirector instance>>, url = 'http://nlabs.com.tw/jumpstart/home/semantics', data = None, timeout = <object object>
 /usr/lib/python2.7/urllib2.py in open(self=<urllib2.OpenerDirector instance>, fullurl='http://nlabs.com.tw/jumpstart/home/semantics', data=None, timeout=<object object>)
    402             req = meth(req)
    403 
=>  404         response = self._open(req, data)
    405 
    406         # post-process response
response undefined, self = <urllib2.OpenerDirector instance>, self._open = <bound method OpenerDirector._open of <urllib2.OpenerDirector instance>>, req = <urllib2.Request instance>, data = None
 /usr/lib/python2.7/urllib2.py in _open(self=<urllib2.OpenerDirector instance>, req=<urllib2.Request instance>, data=None)
    420         protocol = req.get_type()
    421         result = self._call_chain(self.handle_open, protocol, protocol +
=>  422                                   '_open', req)
    423         if result:
    424             return result
req = <urllib2.Request instance>
 /usr/lib/python2.7/urllib2.py in _call_chain(self=<urllib2.OpenerDirector instance>, chain={'file': [<urllib2.FileHandler instance>], 'ftp': [<urllib2.FTPHandler instance>], 'http': [<urllib2.HTTPHandler instance>], 'https': [<urllib2.HTTPSHandler instance>], 'unknown': [<urllib2.UnknownHandler instance>]}, kind='http', meth_name='http_open', *args=(<urllib2.Request instance>,))
    380             func = getattr(handler, meth_name)
    381 
=>  382             result = func(*args)
    383             if result is not None:
    384                 return result
result undefined, func = <bound method HTTPHandler.http_open of <urllib2.HTTPHandler instance>>, args = (<urllib2.Request instance>,)
 /usr/lib/python2.7/urllib2.py in http_open(self=<urllib2.HTTPHandler instance>, req=<urllib2.Request instance>)
   1212 
   1213     def http_open(self, req):
=> 1214         return self.do_open(httplib.HTTPConnection, req)
   1215 
   1216     http_request = AbstractHTTPHandler.do_request_
self = <urllib2.HTTPHandler instance>, self.do_open = <bound method HTTPHandler.do_open of <urllib2.HTTPHandler instance>>, global httplib = <module 'httplib' from '/usr/lib/python2.7/httplib.pyc'>, httplib.HTTPConnection = <class httplib.HTTPConnection>, req = <urllib2.Request instance>
 /usr/lib/python2.7/urllib2.py in do_open(self=<urllib2.HTTPHandler instance>, http_class=<class httplib.HTTPConnection>, req=<urllib2.Request instance>)
   1182         except socket.error, err: # XXX what error?
   1183             h.close()
=> 1184             raise URLError(err)
   1185         else:
   1186             try:
global URLError = <class 'urllib2.URLError'>, err = gaierror(-5, 'No address associated with hostname')

<class 'urllib2.URLError'>: <urlopen error [Errno -5] No address associated with hostname>
      args = (gaierror(-5, 'No address associated with hostname'),)
      errno = None
      filename = None
      message = ''
      reason = gaierror(-5, 'No address associated with hostname')
      strerror = None