emacsorphanage / org-page

[INACTIVE] A static site generator based on Emacs and org mode.
674 stars 99 forks source link

fatal: could not read Username for 'https://github.com': No such device or address #199

Closed zhcosin closed 8 years ago

zhcosin commented 8 years ago

When I execute op/do-publication, the follow error has occur, but I can 'git push' in both master and source branch of the repository.

git-error: GIT Error: "Error running command: /usr/bin/git --no-pager push origin master WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-2QqpRj/pkcs11: No such file or directory fatal: could not read Username for 'https://github.com': No such device or address

"

emacs-24.5 on ubuntu 12.04 My configure as fllow: (setq op/site-main-title "长春阁") (setq op/site-sub-title "无才可去补苍天,枉入红尘若许年") (setq op/personal-github-link "http://zhcosin.github.io") (setq op/repository-directory "~/zhcosin.github.io") (setq op/site-domain "http://zhcosin.github.io")

zhcosin commented 8 years ago

Now I has known the reason, I execute git push in msys2 then it work fine, but I execute git push in eshell the same error occur, so I reset the remote url of git repository then the error has been fixed:

git remote set-url origin https://user:pwd@github.com/user/repository.git