Ungrounded Semantic Parser Demo

Please enter the input text to be parsed.


Semantic Parses extracted from top 10 syntactic parses*:

--> -->
 
 
<type 'exceptions.IOError'>
Python 2.7.5: /usr/bin/python
Tue Sep 26 01:13:47 2017

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

 /public/homepages/s1051585/cgi/graph-parser in ()
     33 
     34 print "<h3><font color=#006400>Semantic Parses extracted from top 10 syntactic parses*: </font></h3>"
=>   35 f = urllib.urlopen("http://kinloch:8080/graph-parser-app/UngroundedSemanticParserServlet?", params)
     36 print f.read()
     37 #print params
f undefined, urllib = <module 'urllib' from '/usr/lib64/python2.7/urllib.pyc'>, urllib.urlopen = <function urlopen>, params = 'query=Google+is+the+company+which+Larry+Page+co-founded+with++Sergey+Bin.'
 /usr/lib64/python2.7/urllib.py in urlopen(url='http://kinloch:8080/graph-parser-app/UngroundedSemanticParserServlet?', data='query=Google+is+the+company+which+Larry+Page+co-founded+with++Sergey+Bin.', proxies=None)
     87         return opener.open(url)
     88     else:
=>   89         return opener.open(url, data)
     90 def urlretrieve(url, filename=None, reporthook=None, data=None):
     91     global _urlopener
opener = <urllib.FancyURLopener instance>, opener.open = <bound method FancyURLopener.open of <urllib.FancyURLopener instance>>, url = 'http://kinloch:8080/graph-parser-app/UngroundedSemanticParserServlet?', data = 'query=Google+is+the+company+which+Larry+Page+co-founded+with++Sergey+Bin.'
 /usr/lib64/python2.7/urllib.py in open(self=<urllib.FancyURLopener instance>, fullurl='http://kinloch:8080/graph-parser-app/UngroundedSemanticParserServlet?', data='query=Google+is+the+company+which+Larry+Page+co-founded+with++Sergey+Bin.')
    208                 return getattr(self, name)(url)
    209             else:
=>  210                 return getattr(self, name)(url, data)
    211         except socket.error, msg:
    212             raise IOError, ('socket error', msg), sys.exc_info()[2]
builtin getattr = <built-in function getattr>, self = <urllib.FancyURLopener instance>, name = 'open_http', url = '//kinloch:8080/graph-parser-app/UngroundedSemanticParserServlet?', data = 'query=Google+is+the+company+which+Larry+Page+co-founded+with++Sergey+Bin.'
 /usr/lib64/python2.7/urllib.py in open_http(self=<urllib.FancyURLopener instance>, url='//kinloch:8080/graph-parser-app/UngroundedSemanticParserServlet?', data='query=Google+is+the+company+which+Larry+Page+co-founded+with++Sergey+Bin.')
    343         if realhost: h.putheader('Host', realhost)
    344         for args in self.addheaders: h.putheader(*args)
=>  345         h.endheaders(data)
    346         errcode, errmsg, headers = h.getreply()
    347         fp = h.getfile()
h = <httplib.HTTP instance>, h.endheaders = <bound method HTTPConnection.endheaders of <httplib.HTTPConnection instance>>, data = 'query=Google+is+the+company+which+Larry+Page+co-founded+with++Sergey+Bin.'
 /usr/lib64/python2.7/httplib.py in endheaders(self=<httplib.HTTPConnection instance>, message_body='query=Google+is+the+company+which+Larry+Page+co-founded+with++Sergey+Bin.')
   1011         else:
   1012             raise CannotSendHeader()
=> 1013         self._send_output(message_body)
   1014 
   1015     def request(self, method, url, body=None, headers={}):
self = <httplib.HTTPConnection instance>, self._send_output = <bound method HTTPConnection._send_output of <httplib.HTTPConnection instance>>, message_body = 'query=Google+is+the+company+which+Larry+Page+co-founded+with++Sergey+Bin.'
 /usr/lib64/python2.7/httplib.py in _send_output(self=<httplib.HTTPConnection instance>, message_body=None)
    862             msg += message_body
    863             message_body = None
=>  864         self.send(msg)
    865         if message_body is not None:
    866             #message_body was not a string (i.e. it is a file) and
self = <httplib.HTTPConnection instance>, self.send = <bound method HTTPConnection.send of <httplib.HTTPConnection instance>>, msg = 'POST /graph-parser-app/UngroundedSemanticParserS...any+which+Larry+Page+co-founded+with++Sergey+Bin.'
 /usr/lib64/python2.7/httplib.py in send(self=<httplib.HTTPConnection instance>, data='POST /graph-parser-app/UngroundedSemanticParserS...any+which+Larry+Page+co-founded+with++Sergey+Bin.')
    824         if self.sock is None:
    825             if self.auto_open:
=>  826                 self.connect()
    827             else:
    828                 raise NotConnected()
self = <httplib.HTTPConnection instance>, self.connect = <bound method HTTPConnection.connect of <httplib.HTTPConnection instance>>
 /usr/lib64/python2.7/httplib.py in connect(self=<httplib.HTTPConnection instance>)
    805         """Connect to the host and port specified in __init__."""
    806         self.sock = socket.create_connection((self.host,self.port),
=>  807                                              self.timeout, self.source_address)
    808 
    809         if self._tunnel_host:
self = <httplib.HTTPConnection instance>, self.timeout = <object object>, self.source_address = None
 /usr/lib64/python2.7/socket.py in create_connection(address=('kinloch', 8080), timeout=<object object>, source_address=None)
    569 
    570     if err is not None:
=>  571         raise err
    572     else:
    573         raise error("getaddrinfo returns an empty list")
err = error(111, 'Connection refused')

<type 'exceptions.IOError'>: [Errno socket error] [Errno 111] Connection refused
      args = ('socket error', error(111, 'Connection refused'))
      errno = 'socket error'
      filename = None
      message = ''
      strerror = error(111, 'Connection refused')