You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason the server won't run.
I changed the data directory in services/init.py as well as tokenizer = 'corenlp'
with timeout set to 1000, drqa loads but then an error pops up for the timeout is finished.
`
Process ForkPoolWorker-32:
Traceback (most recent call last):
File "/home/redact/testWebUI/lib/python3.6/site-packages/pexpect/expect.py", line 99, in expect_loop
incoming = spawn.read_nonblocking(spawn.maxread, timeout)
File "/home/redact/lib/python3.6/site-packages/pexpect/pty_spawn.py", line 462, in read_nonblocking
raise TIMEOUT('Timeout exceeded.')
pexpect.exceptions.TIMEOUT: Timeout exceeded.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.6/multiprocessing/pool.py", line 103, in worker
initializer(*initargs)
File "/home/redact/testWebUI/drqa/pipeline/drqa.py", line 39, in init
PROCESS_TOK = tokenizer_class(**tokenizer_opts)
File "/home/domainproxy/redact/drqa/tokenizers/corenlp_tokenizer.py", line 33, in init
self._launch()
File "/home/redact/testWebUI/drqa/tokenizers/corenlp_tokenizer.py", line 61, in _launch
self.corenlp.expect_exact('NLP>', searchwindowsize=100)
File "/home/redact/testWebUI/lib/python3.6/site-packages/pexpect/spawnbase.py", line 390, in expect_exact
return exp.expect_loop(timeout)
File "/home/domainproxy/redact/lib/python3.6/site-packages/pexpect/expect.py", line 107, in expect_loop
return self.timeout(e)
File "/home/redact/testWebUI/lib/python3.6/site-packages/pexpect/expect.py", line 70, in timeout
raise TIMEOUT(msg)
pexpect.exceptions.TIMEOUT: Timeout exceeded.
<pexpect.pty_spawn.spawn object at 0x7f9936f446d8>
command: /bin/bash
args: ['/bin/bash']
buffer (last 100 chars): b'0;domainproxy@hostcomp: /redact/webUICode\x07domainproxy@hostcomp:/redact/webUICode$ '
before (last 100 chars): b'0;domainproxy@hostcomp: /redact/webUICode\x07domainproxy@hostcomp:/redact/webUICode$ '
after: <class 'pexpect.exceptions.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 27958
child_fd: 47
closed: False
timeout: 60
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 100000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_string:
0: "b'NLP>'"
`
Any help is appreciated
The text was updated successfully, but these errors were encountered:
For some reason the server won't run.
I changed the data directory in services/init.py as well as tokenizer = 'corenlp'
with timeout set to 1000, drqa loads but then an error pops up for the timeout is finished.
`
Process ForkPoolWorker-32:
Traceback (most recent call last):
File "/home/redact/testWebUI/lib/python3.6/site-packages/pexpect/expect.py", line 99, in expect_loop
incoming = spawn.read_nonblocking(spawn.maxread, timeout)
File "/home/redact/lib/python3.6/site-packages/pexpect/pty_spawn.py", line 462, in read_nonblocking
raise TIMEOUT('Timeout exceeded.')
pexpect.exceptions.TIMEOUT: Timeout exceeded.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.6/multiprocessing/pool.py", line 103, in worker
initializer(*initargs)
File "/home/redact/testWebUI/drqa/pipeline/drqa.py", line 39, in init
PROCESS_TOK = tokenizer_class(**tokenizer_opts)
File "/home/domainproxy/redact/drqa/tokenizers/corenlp_tokenizer.py", line 33, in init
self._launch()
File "/home/redact/testWebUI/drqa/tokenizers/corenlp_tokenizer.py", line 61, in _launch
self.corenlp.expect_exact('NLP>', searchwindowsize=100)
File "/home/redact/testWebUI/lib/python3.6/site-packages/pexpect/spawnbase.py", line 390, in expect_exact
return exp.expect_loop(timeout)
File "/home/domainproxy/redact/lib/python3.6/site-packages/pexpect/expect.py", line 107, in expect_loop
return self.timeout(e)
File "/home/redact/testWebUI/lib/python3.6/site-packages/pexpect/expect.py", line 70, in timeout
raise TIMEOUT(msg)
pexpect.exceptions.TIMEOUT: Timeout exceeded.
<pexpect.pty_spawn.spawn object at 0x7f9936f446d8>
command: /bin/bash
args: ['/bin/bash']
buffer (last 100 chars): b'0;domainproxy@hostcomp:
/redact/webUICode\x07domainproxy@hostcomp:/redact/webUICode$ 'before (last 100 chars): b'0;domainproxy@hostcomp:
/redact/webUICode\x07domainproxy@hostcomp:/redact/webUICode$ 'after: <class 'pexpect.exceptions.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 27958
child_fd: 47
closed: False
timeout: 60
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 100000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_string:
0: "b'NLP>'"
`
Any help is appreciated
The text was updated successfully, but these errors were encountered: