You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three of us (me, Faisal, and Nate) experienced an issue where gist-it does not read the token from the environment variables GITHUB_TOKEN or GIST_TOKEN.
In this situation, it is possible to workaround the issue by manually writing the token into the notebook.json file.
Here were my observations:
when I went to ~/.jupyter/serverconfig/notebook.json, the token was not set and in fact a key was set to default gists to private, when I had noticed UI defaulted them to private. So it seems this file not only had not been written with the token, it was not being read regarding private/public.
once I set the value in that file, it worked.
there is another file on my disc ./.jupyter/nbconfig/notebook.json, which has some keys related to nbmeta and collapsible headings, but nothing related to gists.
guess: maybe something is writing or reading the wrong notebook.json?
This is not a grand issue in the scheme of things but I am noting it here so we can follow up as needed.
The text was updated successfully, but these errors were encountered:
algal
changed the title
gist-it sometimes doesn't read the environent for the GITHUB_TOKEN
gist-it sometimes doesn't read the environent from GITHUB_TOKEN
Sep 25, 2024
Three of us (me, Faisal, and Nate) experienced an issue where gist-it does not read the token from the environment variables GITHUB_TOKEN or GIST_TOKEN.
In this situation, it is possible to workaround the issue by manually writing the token into the notebook.json file.
Here were my observations:
This is not a grand issue in the scheme of things but I am noting it here so we can follow up as needed.
Discord thread: https://discord.com/channels/1200111522916094103/1288615077263708245
The text was updated successfully, but these errors were encountered: