avatarify-python icon indicating copy to clipboard operation
avatarify-python copied to clipboard

Colab script not running

Open mv6677 opened this issue 3 years ago • 3 comments

Colab does not work. Returns an error at the step:

(Re)Start the worker

with open('/tmp/run.txt', 'w') as f: ps = Popen( shlex.split(f'./run.sh --is-worker --in-port {local_in_port} --out-port {local_out_port} --no-vcam --no-conda'), stdout=f, stderr=f) time.sleep(3)

FileNotFoundError Traceback (most recent call last) in () 3 ps = Popen( 4 shlex.split(f'./run.sh --is-worker --in-port {local_in_port} --out-port {local_out_port} --no-vcam --no-conda'), ----> 5 stdout=f, stderr=f) 6 time.sleep(3)

1 frames /usr/lib/python3.7/subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, start_new_session) 1549 if errno_num == errno.ENOENT: 1550 err_msg += ': ' + repr(err_filename) -> 1551 raise child_exception_type(errno_num, err_msg, err_filename) 1552 raise child_exception_type(err_msg) 1553

FileNotFoundError: [Errno 2] No such file or directory: './run.sh': './run.sh'

How can I fix this error ?

mv6677 avatar Jul 20 '21 15:07 mv6677

Colab will give u such error multiple times Just refresh the page and start again . U might have missed to run any one of cell maybe

TEJASK111 avatar Aug 29 '21 11:08 TEJASK111

Same issue here. I've tried refreshing and running all commands again but it's still throwing the same error.

Zeesy avatar Oct 29 '21 14:10 Zeesy

open collab on a new gmail and try again. worked for me

Samso9th avatar Aug 12 '22 21:08 Samso9th