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
Traceback (most recent call last):
File "test_wabbit_wappa.py", line 146, in
training()
File "test_wabbit_wappa.py", line 73, in training
('b', -1 - random.random())]
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/wabbit_wappa/init.py", line 290, in send_example
result = self.send_line(line, parse_result=parse_result)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/wabbit_wappa/init.py", line 259, in send_line
self.vw_process.sendline(line) # Send line, along with newline
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/wabbit_wappa/active_learner.py", line 64, in sendline
self.sock.sendall(line) BrokenPipeError: [Errno 32] Broken pipe
command arg. activer_learning should just be active
self.vw_process = pexpect.spawn(command)
active_learner.py line 47
should spawn a process, but nothing happens: using command in terminal work as intended
Adding time.sleep(5) right after self.vw_process = pexpect.spawn(command) solves the problem
The text was updated successfully, but these errors were encountered:
MrMathias
changed the title
Test fail in active mode
Test "training" case fail in active mode
Sep 17, 2015
Traceback (most recent call last):
File "test_wabbit_wappa.py", line 146, in
training()
File "test_wabbit_wappa.py", line 73, in training
('b', -1 - random.random())]
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/wabbit_wappa/init.py", line 290, in send_example
result = self.send_line(line, parse_result=parse_result)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/wabbit_wappa/init.py", line 259, in send_line
self.vw_process.sendline(line) # Send line, along with newline
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/wabbit_wappa/active_learner.py", line 64, in sendline
self.sock.sendall(line)
BrokenPipeError: [Errno 32] Broken pipe
command arg. activer_learning should just be active
self.vw_process = pexpect.spawn(command)
active_learner.py line 47
should spawn a process, but nothing happens: using command in terminal work as intended
Adding time.sleep(5) right after self.vw_process = pexpect.spawn(command) solves the problem
The text was updated successfully, but these errors were encountered: