Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: renku rm modules/__init__.py [...] #3693

Open
schymans opened this issue Jan 23, 2024 · 0 comments
Open

cli: renku rm modules/__init__.py [...] #3693

schymans opened this issue Jan 23, 2024 · 0 comments

Comments

@schymans
Copy link

Describe the bug

I tried to remove all files from a folder using renku rm modules/*.

Details

When I executed afterwards git rm -r modules it worked without problems.

Renku version: 2.7.0
OS: Linux (#1 SMP Progress Linux 5.10.197-1~progress5+u1 (2023-10-04))
Python: 3.10.13

Traceback

Traceback (most recent call last):
  File "pydantic/decorator.py", line 40, in pydantic.decorator.validate_arguments.validate.wrapper_function
  File "pydantic/decorator.py", line 134, in pydantic.decorator.ValidatedFunction.call
  File "pydantic/decorator.py", line 206, in pydantic.decorator.ValidatedFunction.execute
  File "[...]/site-packages/renku/command/remove.py", line 112, in _remove
    run(["git", "rm", "-rf"] + final_sources, check=True)
  File "[...]/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'rm', '-rf', '/home/stan/notebooks/jupyter/renku/fortress/modules/__init__.py', '/home/stan/notebooks/jupyter/renku/fortress/modules/plotting.py', '/home/stan/notebooks/jupyter/renku/fortress/modules/__pycache__']' returned non-zero exit status 128.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant