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

Cannot see private repositories. #110

Closed
hellojinwoo opened this issue Oct 28, 2020 · 1 comment
Closed

Cannot see private repositories. #110

hellojinwoo opened this issue Oct 28, 2020 · 1 comment

Comments

@hellojinwoo
Copy link

hellojinwoo commented Oct 28, 2020

Issue

  • I can see only public repositories on the jupyterlab extension Browse GitHub.
  • When I put a private repository as an initial repository with the command
{
  "defaultRepo": "owner/repository"
}

it shows the error screen as shown in the screenshot below. (the repository VO2_Group is private.)

image

1. Serverextension

  • I have ran the following codes to install serverextension.
pip install jupyterlab_github
jupyter serverextension enable --sys-prefix jupyterlab_github
  • That is why I can confirm the serverextension is enabled when I ran the code jupyterlab serverextension list, as shown below.
    image

2. Github access token

  • I also have set up github tokens. In the folder C:/Users/[user_name]/.jupyter, I have two files, jupyter_notebook_config.py and jupyter_notebook_config.json. besides a folder called lab.

  • In the jupyter_notebook_config.py file, I added my github token as shown below. (While all other codes are commented, the line that I added c.GitHubConfig.access_token = 'f85c....' is not commented. Is it okay to do so?)

image

@hellojinwoo
Copy link
Author

  • I know it is not a good answer, but I have followed all the steps in the 3. Installing the serverextension, and waited for 8 - 10 hours and it works now. I can see my private repositories on the Browse GitHub tab.

  • Maybe if you have a same issue with me, which is being unable to see the private repositories, you should wait for a couple of hours so that it can start to work.

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

No branches or pull requests

1 participant