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

repo2docker version 2024.03.0 breaks appliance #175

Open
mkjpryor opened this issue Apr 2, 2024 · 0 comments
Open

repo2docker version 2024.03.0 breaks appliance #175

mkjpryor opened this issue Apr 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mkjpryor
Copy link
Collaborator

mkjpryor commented Apr 2, 2024

The latest version of repo2docker - 2024.03.0 - breaks the repo2docker appliance with a Permission denied error.

For now, we pin to a known working version.

ubuntu@test-4r6nq-repo2docker:~$ sudo -u podman -i jupyter-repo2docker --image-name repo2docker-notbook-server --engine podman --no-run https://github.com/binder-examples/bokeh.git
Picked Git content provider.
Cloning into '/tmp/repo2dockerf_v0yv88'...
remote: Enumerating objects: 13, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 13 (delta 0), reused 9 (delta 0), pack-reused 0
Receiving objects: 100% (13/13), 15.71 KiB | 3.14 MiB/s, done.
Python version unspecified, using current default Python version 3.10. This will change in the future.Building conda environment for python=3.10
Using CondaBuildPack builder
Traceback (most recent call last):
  File "/usr/local/bin/jupyter-repo2docker", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/repo2docker/__main__.py", line 474, in main
    r2d.start()
  File "/usr/local/lib/python3.10/dist-packages/repo2docker/app.py", line 892, in start
    self.build()
  File "/usr/local/lib/python3.10/dist-packages/repo2docker/app.py", line 856, in build
    for l in picked_buildpack.build(
  File "/usr/local/lib/python3.10/dist-packages/repo2docker/buildpacks/base.py", line 671, in build
    yield from client.build(**build_kwargs)
  File "/usr/local/lib/python3.10/dist-packages/repo2podman/podman.py", line 459, in build
    tarf.extractall(builddir)
  File "/usr/lib/python3.10/tarfile.py", line 2257, in extractall
    self._extract_one(tarinfo, path, set_attrs=not tarinfo.isdir(),
  File "/usr/lib/python3.10/tarfile.py", line 2324, in _extract_one
    self._handle_fatal_error(e)
  File "/usr/lib/python3.10/tarfile.py", line 2320, in _extract_one
    self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
  File "/usr/lib/python3.10/tarfile.py", line 2403, in _extract_member
    self.makefile(tarinfo, targetpath)
  File "/usr/lib/python3.10/tarfile.py", line 2448, in makefile
    with bltn_open(targetpath, "wb") as target:
PermissionError: [Errno 13] Permission denied: '/tmp/tmpw097iipk/src/.git/objects/pack/pack-a06434fcada51ff585872da911f357fc71f912e5.idx'
@mkjpryor mkjpryor added the bug Something isn't working label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant