Comments (7)
Is there any known problem with Emacs 24.5.1 on OSX? I can't get the login to work. I enter a a token as my password and oauth token and it gives me errors such as the JSON readtable error and one about api v3 something. I had it working previously, then I cleared out my elpa dir while trying to get cider working and now I can't login to gh anymore. I do have 2fa enabled, but I also tried with it disabled to no avail.
from gist.el.
same issue in here =(
from gist.el.
So I was able to fix this locally, however not sure if is the best way to do this, anyways, as gist.el
uses gh.el
which persist the credentials as git --global config, we can just set them manually and everything should work, like this:
Make sure to unset them, just in case.
git config --global --unset github.user
git config --global --unset github.password
git config --global --unset github.oauth-token
Set them
git config --global --add github.user your_user_name
git config --global --add github.password your_token
git config --global --add github.oauth-token same_token_as_password
To generate the token, just go to https://github.com/settings/tokens/new
I hope this helps.
from gist.el.
Also broken here, but @arthurnn's fix did not work for me. I am now getting the error Invalid number format: 2
when I attempt a gist-list
from gist.el.
@arthurnn's fix worked for me. Thanks!
from gist.el.
I introduced 2-factor support in gh.el 0.9.0, so it should now be ok without any additional hacks.
Please reopen if that's not the case
from gist.el.
Thanks @sigma!
from gist.el.
Related Issues (20)
- Trouble getting list of gists from Github Enterprise server HOT 3
- Editing description on non-cached gist makes the gist empty HOT 3
- Setting auth information explicitly with emacs variable HOT 3
- gist-print-current-url from within the gist ? HOT 1
- Setup using initial password prompt does not work HOT 1
- mass deletion HOT 1
- gist-list or gist-buffer Fail with "void-function marshal-get-class-slot" HOT 2
- Add png to gist
- Cant submit a gist nor gist-list
- Update an existing gist?
- gist.el doesn't work with 2 factor Auth HOT 3
- Too many Gists!
- Creating gists fails with exception from (kill-new nil) HOT 2
- Error while creating gist HOT 1
- gist.el should probably (optionally?) avoid tramp
- recursive load error
- Ask about changing filename instead of silently adding an extension.
- listing of gists broken HOT 2
- gist.el doesn't use authsources
- Stale Gist
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 gist.el.