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

Does not work with RTC on JupyterLab 4.0? #1282

Closed
krassowski opened this issue Oct 25, 2023 · 1 comment · Fixed by #1285
Closed

Does not work with RTC on JupyterLab 4.0? #1282

krassowski opened this issue Oct 25, 2023 · 1 comment · Fixed by #1285
Assignees
Labels

Comments

@krassowski
Copy link
Member

Testing 0.55.0a0 on binder with RTC on:

https://mybinder.org/v2/gist/krassowski/847732eb6c16e168fb4c0b16d9706142/HEAD?urlpath=lab

RTC: is not a Git repository. To use Git, navigate to a local repository, initialize a repository here, or clone an existing repository.

image

Clicking Initialize:

Traceback (most recent call last): File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyterlab_git/git.py", line 184, in execute code, output, error = await current_loop.run_in_executor( File "/srv/conda/envs/notebook/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyterlab_git/git.py", line 145, in call_subprocess process = subprocess.Popen( File "/srv/conda/envs/notebook/lib/python3.10/subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/srv/conda/envs/notebook/lib/python3.10/subprocess.py", line 1863, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/home/jovyan/rtc:'

Trying to download a repo:

image

@Sieboldianus
Copy link

Sieboldianus commented Jan 23, 2025

@krassowski Using jupyterlab 4.3.4, (jupytext 1.16.6), collaboration-extension 3.1.0, and jupyterlab-git 0.50.2, the issue is back for me:

RTC: is not a Git repository. To use Git, navigate to a local repository, initialize a repository here, or clone an existing repository.

If I install the latest jupyterlab and RTC versions pip install --pre "jupyterlab>=4.4.0a2" "jupyter-collaboration>=4.0.0a0", the RTC tag disappears, but jupyterlab-git is still unable to recognize the git repo. It now says:

You are not currently in a Git repository. To use Git, navigate to a local repository, initialize a repository here, or clone an existing repository.

.. even if I am in a git repo. I guess this has something to do with the new/updated content-providers API or workspaces (?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants