flatironinstitute / dendro-old

Analyze neuroscience data in the cloud
https://flatironinstitute.github.io/dendro-docs/
Apache License 2.0
19 stars 2 forks source link

Permission denied for main.py when creating spec.json #112

Closed luiztauffer closed 11 months ago

luiztauffer commented 11 months ago

Got this error when trying to run dendro make-app-spec-file --app-dir . --spec-output-file spec.json in a github action:

 File "/home/runner/.local/lib/python3.10/site-packages/dendro/cli.py", line 36, in make_app_spec_file
    make_app_spec_file_function(app_dir=app_dir, spec_output_file=spec_output_file)
  File "/home/runner/.local/lib/python3.10/site-packages/dendro/sdk/_make_spec_file.py", line 17, in make_app_spec_file_function
    subprocess.run([executable_path], env=env)
  File "/usr/lib/python3.10/subprocess.py", line 503, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/home/runner/work/si-dendro-apps/si-dendro-apps/si_kilosort25/main.py'