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
That looks like Octave taking so long to start that the pexpect module managing communications with Octave exceeds the configured timeout for waiting for the Octave prompt
source
import oct2py
import os
import sys
from multiprocessing import Process, Pool
import time
def yhmatrix(i):
def error_callback(error):
print(f"Error info: {error}")
if name == 'main':
startTime = time.time()
pool = Pool(15)
for i in range(0,15):
pool.close()
pool.join()
endTime = time.time()
print ("time :", endTime - startTime)
Error info: Timeout exceeded.
<pexpect.pty_spawn.spawn object at 0x7f98e80423d0>
command: /root/yhMatrix/octave/bin/octave
args: [b'/root/yhMatrix/octave/bin/octave', b'--interactive', b'--quiet', b'--no-init-file']
buffer (last 100 chars): ''
before (last 100 chars): ''
after: <class 'pexpect.exceptions.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 434435
child_fd: 36
closed: False
timeout: 30
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_re:
0: re.compile('octave.*>')
The text was updated successfully, but these errors were encountered: