Comments (19)
It looks like the config you're setting is the in the jupyterhub_config.py
file and not the jupyter_notebook_config.py
.
I'm not sure how you'd set notebook specific config in k8s though. You might get some advice in that regard in the jupyterhub gitter channel.
from jupyterlab-github.
Sorry you are running into troubles. Can you check the Javascript console in your browser to see if there are any errors being output there?
from jupyterlab-github.
Thanks for the quick response. Right now looks like i'm getting a 403 (rate limited) when fetching form the orgs endpoint.
Also
promise.js:44 Uncaught (in promise) Error: Canceled
at t.dispose (future.js:155)
at default.js:384
at Map.forEach (<anonymous>)
at e.dispose (default.js:383)
at e.dispose (default.js:244)
at index.js:245
But haven't looked into it enough to see if that one is related.
from jupyterlab-github.
Can you print the 403 error here? I'd like to know if it is coming from GitHub directly, or through the notebook server proxy.
That second error should be unrelated, I think.
from jupyterlab-github.
If the server extension is installed, I suspect there is a problem withe your access token, or it is not being loaded into the single-user notebook server as you expected. Can you verify that it is in the user-level jupyter_notebook_config.py
?
from jupyterlab-github.
Thanks, yeah the 403s were unrelated I think. I just refreshed the page now and no 403s anymore, but still no private repos. I will check with jupyterhub gitter channel. Thanks @dhirschfeld for the pointer.
from jupyterlab-github.
@wookasz Did you figure out how to seed the jupyter_notebook_config.py
file?
from jupyterlab-github.
Closing as answered. Feel free to comment here if you don't think that is the case.
from jupyterlab-github.
i running by this error:
c.GitHubConfig.client_id: command not found
dont know how to proceed
can anyone help me?
Cant see private repos too
from jupyterlab-github.
@gabrielvrl You should now be authenticating using the personal access token approach: https://github.com/jupyterlab/jupyterlab-github#getting-an-access-token-recommended
Can you try that and let me know if it fixes your problem?
from jupyterlab-github.
i did it. I also did pip install jupyterlab_github
and jupyter serverextension enable --sys-prefix jupyterlab_github
, but cant run c.GitHubConfig.access_token = '< YOUR_ACCESS_TOKEN >'
, even though im putting my access token, actually it doesnt matter if im putting it or not, because it's not founding the command, as i said.
c.GitHubConfig.client_id: command not found
from jupyterlab-github.
c.GitHubConfig.access_token
is not a command, but a config value. Are you trying to run it on the command line?
from jupyterlab-github.
oh, i was running it on the command line :/
from jupyterlab-github.
i guess im not understanding what im suppose to do with c.GitHubConfig.access_token
from jupyterlab-github.
You should create a config file as described here: https://jupyter-notebook.readthedocs.io/en/stable/config.html#config-file-and-command-line-options
and then add the access token to it.
from jupyterlab-github.
thanks, my mistake. but i think maybe the link on the repository is the wrong one?
https://github.com/jupyterlab/jupyterlab-github#getting-an-access-token-recommended -> "You now need to add the credentials you got from GitHub to your notebook configuration file. Instructions for generating a configuration file can be found here. Once you have identified this file, add the following lines to it:", if you click on "here" (before .Once you...) its opening that link: https://jupyter-notebook.readthedocs.io/en/stable/config_overview.html#configure-nbserver , but i think it should open that one that you just send, right?
from jupyterlab-github.
I suppose both have the necessary information, but the one Iinked here has a bit more detail. PRs welcome to update the link!
from jupyterlab-github.
Hello @ian-r-rose , I did all the mentioned steps , but I am not getting Github tab after launching JupyterLab Notebook.
from jupyterlab-github.
@prashant71ht it works for me if the param is called c.GitHubConfig.github_access_token
not c.GitHubConfig.access_token
I think it's a typo in the docs (or something changed across versions).
from jupyterlab-github.
Related Issues (20)
- ValueError: The extension does not support current version od JupyterLab HOT 1
- Add Copy & Paste for files and directories HOT 4
- Ability to enter notebook URL (Enhancement)
- RuntimeError: npm dependencies failed to install
- Extension shows a subset of repos owned by a user HOT 1
- jupyterlab-sql is outdated
- Cannot see private repositories. HOT 1
- ValueError: The extension "@jupyterlab/github" does not yet support the current version of JupyterLab. HOT 4
- Can the license file be packaged in? HOT 2
- I can't search the repositories HOT 1
- migrate github extension to run with jupyterlab 4 HOT 1
- Rename the default branch to `main` HOT 2
- Add releaser tokens to the repo HOT 9
- Missing icons and styling issues in version 4
- Use the token provided in the settings for frontend issued requests
- Config option `client_id` not recognized by `GitHubConfig` HOT 5
- JupyterLab failed to build Error: Cannot find module './_baseValues' HOT 1
- Github deprecation notice HOT 5
- RuntimeError: JupyterLab failed to build HOT 5
- [GitHub] Deprecation Notice
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterlab-github.