I am getting this error when i am trying to parse multiple sentences parallely. Everything works fine if i perform parsing sequentially.
parseResult = nlp.parse(sentences)
File "/Users/Vikram/Kiwi/django/app/app/app/coreNlpUtil.py", line 18, in parse
return json.loads(self.server.parse(text))
File "/Users/Vikram/Kiwi/django/app/app/app//jsonrpc.py", line 933, in call
return self.req(self.name, args, kwargs)
File "/Users/Vikram/Kiwi/django/app/app/app//jsonrpc.py", line 906, in req
resp = self.data_serializer.loads_response( resp_str )
File "/Users/Vikram/Kiwi/django/app/app/app/jsonrpc.py", line 594, in loads_response
\ raise RPCParseError("No valid JSON. (%s)" % str(err))
RPCParseError: <RPCFault -32700: 'Parse error.' ('No valid JSON. (No JSON object could be decoded)')>**
parseResult = nlp.parse(sentences)
File "/Users/Vikram/Kiwi/django/app/app/app/coreNlpUtil.py", line 18, in parse
return json.loads(self.server.parse(text))
File "/Users/Vikram/Kiwi/django/app/app/app/jsonrpc.py", line 933, in call
return self.req(self.name, args, kwargs)
File "/Users/Vikram/Kiwi/django/app/app/app/jsonrpc.py", line 905, in __req
raise RPCTransportError(err)
RPCTransportError: argument must be an int, or have a fileno() method.
Hi Guys,
I am getting this error when i am trying to parse multiple sentences parallely. Everything works fine if i perform parsing sequentially.
parseResult = nlp.parse(sentences)
File "/Users/Vikram/Kiwi/django/app/app/app/coreNlpUtil.py", line 18, in parse return json.loads(self.server.parse(text)) File "/Users/Vikram/Kiwi/django/app/app/app//jsonrpc.py", line 933, in call return self.req(self.name, args, kwargs) File "/Users/Vikram/Kiwi/django/app/app/app//jsonrpc.py", line 906, in req resp = self.data_serializer.loads_response( resp_str ) File "/Users/Vikram/Kiwi/django/app/app/app/jsonrpc.py", line 594, in loads_response \ raise RPCParseError("No valid JSON. (%s)" % str(err)) RPCParseError: <RPCFault -32700: 'Parse error.' ('No valid JSON. (No JSON object could be decoded)')>**
parseResult = nlp.parse(sentences) File "/Users/Vikram/Kiwi/django/app/app/app/coreNlpUtil.py", line 18, in parse return json.loads(self.server.parse(text)) File "/Users/Vikram/Kiwi/django/app/app/app/jsonrpc.py", line 933, in call return self.req(self.name, args, kwargs) File "/Users/Vikram/Kiwi/django/app/app/app/jsonrpc.py", line 905, in __req raise RPCTransportError(err) RPCTransportError: argument must be an int, or have a fileno() method.
How can i fix the issue?