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

lynxが固まってユーザ登録が出来ない #68

Open
KnightOrKnave opened this issue Dec 14, 2015 · 1 comment
Open

lynxが固まってユーザ登録が出来ない #68

KnightOrKnave opened this issue Dec 14, 2015 · 1 comment

Comments

@KnightOrKnave
Copy link

[root@hogehoge ~]# tw -v
tw version 1.0.11
[root@hogehoge ~]# ruby -v                                                                                                                                               
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
[root@hogehoge ~]# xdg-open --version                                                                                                                                    
xdg-open 1.0.2
[root@hogehoge tw]# lynx -version
Lynx Version 2.8.6rel.5 (09 May 2007)
libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 1.0.0-fips, ncurses 5.7.20090207(wide)
Built on linux-gnu Aug 25 2010 15:17:35

Copyrights held by the University of Kansas, CERN, and other contributors.
Distributed under the GNU General Public License.
See http://lynx.isc.org/ and the online help for more information.

See http://www.openssl.org/ for information about OpenSSL.

[root@hogehoge ~]# tw -u:add                                                                                                                                             
open https://api.twitter.com/oauth/authorize?oauth_token=XXXXXXX
input PIN Number: /usr/bin/xdg-open: line 402: htmlview: コマンドが見つかりません
/usr/bin/xdg-open: line 402: firefox: コマンドが見つかりません
/usr/bin/xdg-open: line 402: mozilla: コマンドが見つかりません
/usr/bin/xdg-open: line 402: netscape: コマンドが見つかりません
/usr/bin/xdg-open: line 402: links: コマンドが見つかりません

上記のような表示が出た後lynxの画面が出るのですが、

api.twitter.com からのクッキー: _twi=~~~ 受け付けますか? (Y/N/Always/neVer)

という画面でブラウザを操作しようとしても操作を受け付けませんでした。

@shokai
Copy link
Owner

shokai commented Dec 15, 2015

たぶんlynxのバグですね
システム内にブラウザがあれば開こうとしているのですが、その後失敗しているみたいです

とりあえずな解決策としては

  • firefoxなどをインストールする
  • 他のマシンで tw --user:add して ~/.tw.yml を作り、コピーしてくる

ですね。

根本的にはブラウザを開かないようにする --noopen オプションを作るか、lynxを直すしかなさそうです

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

2 participants