Closed Neamar closed 9 years ago
I'm getting something similar:
We need your GitHub login to identify you.
This information will not be sent to Travis CI, only to api.github.com.
The password will not be displayed.
Try running with --github-token or --auto if you don't want to enter your password anyway.
Username: cburgmer
Password for cburgmer: .....
Successfully logged in as cburgmer!
781: unexpected token at ''
for a full error report, run travis report
Can you run it again with --debug --explode?
Konstantin
On Mon, Aug 18, 2014 at 9:05 PM, Christoph Burgmer <notifications@github.com
wrote:
I'm getting something similar:
We need your GitHub login to identify you. This information will not be sent to Travis CI, only to api.github.com . The password will not be displayed.
Try running with --github-token or --auto if you don't want to enter your password anyway.
Username: cburgmer Password for cburgmer: ..... Successfully logged in as cburgmer! 781: unexpected token at '' for a full error report, run travis report
— Reply to this email directly or view it on GitHub https://github.com/travis-ci/travis.rb/issues/224#issuecomment-52539299.
Here it is:
└[~/Documents/src/django/corporate]> travis encrypt "254bd409c0975bbdea" --add notifications.slack --debug --explode
** Loading "/home/neamar/.travis/config.yml"
** Loading gh
** GET "config"
** took 0.55 seconds
** GitHub API: HEAD /repos/Neamar/corporate
** took 0.6 seconds
/var/lib/gems/1.9.1/gems/multi_json-1.8.0/lib/multi_json/adapter.rb:19:in `load': JSON::ParserError (MultiJson::LoadError)
from /var/lib/gems/1.9.1/gems/multi_json-1.8.0/lib/multi_json.rb:120:in `load'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/response.rb:35:in `initialize'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/remote.rb:153:in `new'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/remote.rb:153:in `modify'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/remote.rb:73:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/normalizer.rb:8:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/parallel.rb:27:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/remote.rb:88:in `request'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/remote.rb:106:in `head'
from /var/lib/gems/1.9.1/gems/travis-1.7.1/lib/travis/cli/repo_command.rb:108:in `detect_api_endpoint'
from /var/lib/gems/1.9.1/gems/travis-1.7.1/lib/travis/cli/repo_command.rb:23:in `setup'
from /var/lib/gems/1.9.1/gems/travis-1.7.1/lib/travis/cli/command.rb:197:in `execute'
from /var/lib/gems/1.9.1/gems/travis-1.7.1/lib/travis/cli.rb:64:in `run'
from /var/lib/gems/1.9.1/gems/travis-1.7.1/bin/travis:18:in `<top (required)>'
from /usr/local/bin/travis:23:in `load'
from /usr/local/bin/travis:23:in `<main>'
I'm getting a similar error on OS X when running travis setup npm
$ travis setup npm --debug --explode
** Loading "/Users/max/.travis/config.yml"
** Loading gh
** GET "config"
** took 1 seconds
** GitHub API: HEAD /repos/isocket/generator-isocket-cortex
** took 0.76 seconds
/Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/multi_json-1.8.2/lib/multi_json/adapter.rb:19:in `load': JSON::ParserError (MultiJson::LoadError)
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/multi_json-1.8.2/lib/multi_json.rb:120:in `load'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/response.rb:35:in `initialize'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/remote.rb:153:in `new'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/remote.rb:153:in `modify'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/remote.rb:73:in `generate_response'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/normalizer.rb:8:in `generate_response'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/parallel.rb:27:in `generate_response'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/remote.rb:88:in `request'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/gh-0.13.0/lib/gh/remote.rb:106:in `head'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/travis-1.7.1/lib/travis/cli/repo_command.rb:108:in `detect_api_endpoint'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/travis-1.7.1/lib/travis/cli/repo_command.rb:23:in `setup'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/travis-1.7.1/lib/travis/cli/command.rb:197:in `execute'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/travis-1.7.1/lib/travis/cli.rb:64:in `run'
from /Users/max/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/travis-1.7.1/bin/travis:18:in `<top (required)>'
from /Users/max/.rbenv/versions/2.0.0-p247/bin/travis:23:in `load'
from /Users/max/.rbenv/versions/2.0.0-p247/bin/travis:23:in `<main>'
here's all that I get, if it helps
travis open --debug --explode
** Loading "/Users/kevin/.travis/config.yml"
** Timeout::Error: execution expired
** Loading gh
** GET "config"
** took 0.92 seconds
** GitHub API: HEAD /repos/kevinburke/hostsfile
** took 0.89 seconds
/Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/multi_json-1.8.2/lib/multi_json/adapter.rb:19:in `load': JSON::ParserError (MultiJson::LoadError)
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/multi_json-1.8.2/lib/multi_json.rb:120:in `load'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/response.rb:35:in `initialize'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/remote.rb:153:in `new'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/remote.rb:153:in `modify'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/remote.rb:73:in `generate_response'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/normalizer.rb:8:in `generate_response'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/parallel.rb:27:in `generate_response'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/remote.rb:88:in `request'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/gh-0.13.0/lib/gh/remote.rb:106:in `head'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/travis-1.7.1/lib/travis/cli/repo_command.rb:108:in `detect_api_endpoint'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/travis-1.7.1/lib/travis/cli/repo_command.rb:23:in `setup'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/travis-1.7.1/lib/travis/cli/command.rb:197:in `execute'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/travis-1.7.1/lib/travis/cli.rb:64:in `run'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/gems/travis-1.7.1/bin/travis:18:in `<top (required)>'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/bin/travis:23:in `load'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/bin/travis:23:in `<main>'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
from /Users/kevin/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `<main>'
I'm having a similar problem.
paul@Paul-Magraths-Work-MacBook-Pro:~/Pulsar$ travis login --pro --auto --debug --explode
** Loading "/Users/paul/.travis/config.yml"
** Timeout::Error: execution expired
** Loading gh
** GET "config"
** took 0.72 seconds
** Tools::Github: requesting to load github.com login and password from keychain
** GitHub API: POST /authorizations
Two-factor authentication code for magrath: 784357
** GitHub API: POST /authorizations
** took 0.74 seconds
** GitHub API: GET /user?per_page=100
** took 0.56 seconds
** POST "auth/github" {:github_token=>"645d2d63ed0616da305db64829f8c3cd090867d4"}
** took 1.2 seconds
** GET "users/"
** took 0.23 seconds
Successfully logged in as Magrath!
** GitHub API: DELETE /authorizations/10993167
** took 0.62 seconds
/Library/Ruby/Gems/2.0.0/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:19:in `load': JSON::ParserError (MultiJson::ParseError)
from /Library/Ruby/Gems/2.0.0/gems/multi_json-1.10.1/lib/multi_json.rb:119:in `load'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/response.rb:35:in `initialize'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/remote.rb:153:in `new'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/remote.rb:153:in `modify'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/remote.rb:73:in `generate_response'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/normalizer.rb:8:in `generate_response'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/parallel.rb:27:in `generate_response'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/remote.rb:88:in `request'
from /Library/Ruby/Gems/2.0.0/gems/gh-0.13.0/lib/gh/remote.rb:101:in `delete'
from /Library/Ruby/Gems/2.0.0/gems/travis-1.7.1/lib/travis/tools/github.rb:223:in `block (2 levels) in login'
from /Library/Ruby/Gems/2.0.0/gems/travis-1.7.1/lib/travis/tools/github.rb:52:in `call'
from /Library/Ruby/Gems/2.0.0/gems/travis-1.7.1/lib/travis/tools/github.rb:52:in `ensure in each_token'
from /Library/Ruby/Gems/2.0.0/gems/travis-1.7.1/lib/travis/tools/github.rb:52:in `each_token'
from /Library/Ruby/Gems/2.0.0/gems/travis-1.7.1/lib/travis/tools/github.rb:36:in `with_token'
from /Library/Ruby/Gems/2.0.0/gems/travis-1.7.1/lib/travis/cli/login.rb:31:in `login'
from /Library/Ruby/Gems/2.0.0/gems/travis-1.7.1/lib/travis/cli/login.rb:39:in `run'
from /Library/Ruby/Gems/2.0.0/gems/travis-1.7.1/lib/travis/cli/command.rb:198:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/travis-1.7.1/lib/travis/cli.rb:64:in `run'
from /Library/Ruby/Gems/2.0.0/gems/travis-1.7.1/bin/travis:18:in `<top (required)>'
from /usr/bin/travis:23:in `load'
from /usr/bin/travis:23:in `<main>'
I also have the same problem:
$ travis login --pro --auto --debug --explode
** Loading "/home/krikar/.travis/config.yml"
** Timeout::Error: execution expired
** Loading gh
** GET "config"
** took 1.2 seconds
We need your GitHub login to identify you.
This information will not be sent to Travis CI, only to api.github.com.
The password will not be displayed.
Try running with --github-token or --auto if you don't want to enter your password anyway.
Username: KristianKarl
Password for KristianKarl: *************************
** GitHub API: POST /authorizations
** took 0.67 seconds
** GitHub API: GET /user?per_page=100
** took 0.49 seconds
** POST "auth/github" {:github_token=>"14b91960eb51137bffb97f0484d2eee98f7b84fa"}
** took 0.36 seconds
** GET "users/"
** took 0.12 seconds
Successfully logged in as KristianKarl!
** GitHub API: DELETE /authorizations/11137235
** took 0.53 seconds
/home/krikar/.gem/ruby/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:19:in `load': JSON::ParserError (MultiJson::ParseError)
from /home/krikar/.gem/ruby/gems/multi_json-1.10.1/lib/multi_json.rb:119:in `load'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/response.rb:35:in `initialize'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/remote.rb:153:in `new'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/remote.rb:153:in `modify'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/remote.rb:73:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/normalizer.rb:8:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/parallel.rb:27:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/remote.rb:88:in `request'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/remote.rb:101:in `delete'
from /usr/local/share/gems/gems/travis-1.7.1/lib/travis/tools/github.rb:223:in `block (2 levels) in login'
from /usr/local/share/gems/gems/travis-1.7.1/lib/travis/tools/github.rb:52:in `call'
from /usr/local/share/gems/gems/travis-1.7.1/lib/travis/tools/github.rb:52:in `ensure in each_token'
from /usr/local/share/gems/gems/travis-1.7.1/lib/travis/tools/github.rb:52:in `each_token'
from /usr/local/share/gems/gems/travis-1.7.1/lib/travis/tools/github.rb:36:in `with_token'
from /usr/local/share/gems/gems/travis-1.7.1/lib/travis/cli/login.rb:31:in `login'
from /usr/local/share/gems/gems/travis-1.7.1/lib/travis/cli/login.rb:39:in `run'
from /usr/local/share/gems/gems/travis-1.7.1/lib/travis/cli/command.rb:198:in `execute'
from /usr/local/share/gems/gems/travis-1.7.1/lib/travis/cli.rb:64:in `run'
from /usr/local/share/gems/gems/travis-1.7.1/bin/travis:18:in `<top (required)>'
from /usr/local/bin/travis:23:in `load'
from /usr/local/bin/travis:23:in `<main>'
Could you try moving ~/.travis/config.yml
out of the way before running the command and see if makes any difference?
The problem is on my desktop, and I left for a conference. I can test next Monday.
I have the problem as wel. Tried to move config.yml out of the way; this is the result after moving it:
travis login --pro --debug --explode
** Loading gh
** GET "config"
** took 0.72 seconds
We need your GitHub login to identify you.
This information will not be sent to Travis CI, only to api.github.com.
The password will not be displayed.
Try running with --github-token or --auto if you don't want to enter your password anyway.
Username: mhogerheijde
Password for mhogerheijde: ***
** GitHub API: POST /authorizations
Two-factor authentication code for mhogerheijde: ***
** GitHub API: POST /authorizations
** took 0.61 seconds
** GitHub API: GET /user?per_page=100
** took 0.41 seconds
** POST "auth/github" {:github_token=>"***"}
** took 0.81 seconds
** GET "users/"
** took 0.13 seconds
Successfully logged in as mhogerheijde!
** GitHub API: DELETE /authorizations/11225668
** took 0.45 seconds
/var/lib/gems/1.9.1/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:19:in `load': JSON::ParserError (MultiJson::ParseError)
from /var/lib/gems/1.9.1/gems/multi_json-1.10.1/lib/multi_json.rb:119:in `load'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/response.rb:35:in `initialize'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/remote.rb:153:in `new'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/remote.rb:153:in `modify'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/remote.rb:73:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/normalizer.rb:8:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/parallel.rb:27:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/remote.rb:88:in `request'
from /var/lib/gems/1.9.1/gems/gh-0.13.0/lib/gh/remote.rb:101:in `delete'
from /var/lib/gems/1.9.1/gems/travis-1.7.2/lib/travis/tools/github.rb:223:in `block (2 levels) in login'
from /var/lib/gems/1.9.1/gems/travis-1.7.2/lib/travis/tools/github.rb:52:in `call'
from /var/lib/gems/1.9.1/gems/travis-1.7.2/lib/travis/tools/github.rb:52:in `ensure in each_token'
from /var/lib/gems/1.9.1/gems/travis-1.7.2/lib/travis/tools/github.rb:52:in `each_token'
from /var/lib/gems/1.9.1/gems/travis-1.7.2/lib/travis/tools/github.rb:36:in `with_token'
from /var/lib/gems/1.9.1/gems/travis-1.7.2/lib/travis/cli/login.rb:31:in `login'
from /var/lib/gems/1.9.1/gems/travis-1.7.2/lib/travis/cli/login.rb:39:in `run'
from /var/lib/gems/1.9.1/gems/travis-1.7.2/lib/travis/cli/command.rb:198:in `execute'
from /var/lib/gems/1.9.1/gems/travis-1.7.2/lib/travis/cli.rb:64:in `run'
from /var/lib/gems/1.9.1/gems/travis-1.7.2/bin/travis:18:in `<top (required)>'
from /usr/local/bin/travis:23:in `load'
from /usr/local/bin/travis:23:in `<main>'
content of old config.yml
---
last_check:
etag:
version: 1.7.2
at: 1411047159
checked_completion: true
completion_version: 1.7.2
endpoints:
https://api.travis-ci.com/:
access_token: ***
https://api.travis-ci.org/: {}
repos:
goabout/goabout-backend:
endpoint: https://api.travis-ci.com/
no new config.yml was created.
Tried to go back to an earlier version, but it seems that 1.7.1 (and versions before that) is denoted an "Outdated CLI version"... but 1.7.2 doesn't work! (And as you know, 1.7.2 is the latest version at this moment.)
I'm sorry for all these issues, unfortunately I'm still unable to reproduce this.
Could ipv6 be the issue? I'm not at my machine atm, will try with ipv6 disabled monday. On 19 Sep 2014 14:11, "Konstantin Haase" notifications@github.com wrote:
I'm sorry for all these issues, unfortunately I'm still unable to reproduce this.
— Reply to this email directly or view it on GitHub https://github.com/travis-ci/travis.rb/issues/224#issuecomment-56169067.
IPv6 is not the issue.
Could it be a ruby-version issue? I just saw that the latest stable (according to ruby-lang.org) is 2.1.2. My distro's (Ubuntu 14.04) version is lagging behind on 1.9.3
$ ruby --version
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
I'm not a Ruby-dev. Is there an easy way to try out 2.1.2? (I guess i can bring up a VM real quick)
I moved ~/.travis/config.yml
, and re-run, but got essentially the same problem:
[krikar@krikar-desktop graphwalker-core]$ travis login --pro --auto --debug --explode
** Loading gh
** GET "config"
** took 0.97 seconds
We need your GitHub login to identify you.
This information will not be sent to Travis CI, only to api.github.com.
The password will not be displayed.
Try running with --github-token or --auto if you don't want to enter your password anyway.
Username: KristianKarl
Password for KristianKarl: *************************
** GitHub API: POST /authorizations
** took 0.69 seconds
** GitHub API: GET /user?per_page=100
** took 0.53 seconds
** POST "auth/github" {:github_token=>"e8ad8c80144839933fbdafca3cfc4a0368f0de82"}
** took 0.85 seconds
** GET "users/"
** took 0.2 seconds
Successfully logged in as KristianKarl!
** GitHub API: DELETE /authorizations/11293332
** took 0.54 seconds
/home/krikar/.gem/ruby/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:19:in `load': JSON::ParserError (MultiJson::ParseError)
from /home/krikar/.gem/ruby/gems/multi_json-1.10.1/lib/multi_json.rb:119:in `load'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/response.rb:35:in `initialize'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/remote.rb:153:in `new'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/remote.rb:153:in `modify'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/remote.rb:73:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/normalizer.rb:8:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/parallel.rb:27:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/wrapper.rb:87:in `generate_response'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/remote.rb:88:in `request'
from /usr/local/share/gems/gems/gh-0.13.0/lib/gh/remote.rb:101:in `delete'
from /usr/local/share/gems/gems/travis-1.7.2/lib/travis/tools/github.rb:223:in `block (2 levels) in login'
from /usr/local/share/gems/gems/travis-1.7.2/lib/travis/tools/github.rb:52:in `call'
from /usr/local/share/gems/gems/travis-1.7.2/lib/travis/tools/github.rb:52:in `ensure in each_token'
from /usr/local/share/gems/gems/travis-1.7.2/lib/travis/tools/github.rb:52:in `each_token'
from /usr/local/share/gems/gems/travis-1.7.2/lib/travis/tools/github.rb:36:in `with_token'
from /usr/local/share/gems/gems/travis-1.7.2/lib/travis/cli/login.rb:31:in `login'
from /usr/local/share/gems/gems/travis-1.7.2/lib/travis/cli/login.rb:39:in `run'
from /usr/local/share/gems/gems/travis-1.7.2/lib/travis/cli/command.rb:198:in `execute'
from /usr/local/share/gems/gems/travis-1.7.2/lib/travis/cli.rb:64:in `run'
from /usr/local/share/gems/gems/travis-1.7.2/bin/travis:18:in `<top (required)>'
from /usr/local/bin/travis:23:in `load'
from /usr/local/bin/travis:23:in `<main>'
Same here, removing .travis/config.yml doesn't help. running ruby 2.0.0.
Just tried a VM with
$ ruby -v
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux]
$ rvm -v
rvm 1.25.31 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Results:
$ travis login --pro --debug --explode
** Timeout::Error: execution expired
Shell completion not installed. Would you like to like to install it now? |y| y
** Loading gh
** GET "config"
** took 0.6 seconds
We need your GitHub login to identify you.
This information will not be sent to Travis CI, only to api.github.com.
The password will not be displayed.
Try running with --github-token or --auto if you don't want to enter your password anyway.
Username: mhogerheijde
Password for mhogerheijde: ***
** GitHub API: POST /authorizations
Two-factor authentication code for mhogerheijde: ******
** GitHub API: POST /authorizations
** took 11 seconds
** GitHub API: GET /user?per_page=100
** took 11 seconds
** POST "auth/github" {:github_token=>"***"}
** took 13 seconds
** GET "users/"
** took 0.16 seconds
Successfully logged in as mhogerheijde!
** GitHub API: DELETE /authorizations/11294081
** took 11 seconds
** Storing "/vagrant/.travis/config.yml"
Just installed ruby 2.1.2 from source, and it works now.
The saga continues:
Just tried a VM with clean install of
.... and it works in the VM... :confused:
@rkh I'm not a Ruby dev, so I don't know what I can do to give you more insight into what's going wrong. Is there any way to give you more info?
I've installed rvm on the machine I get the error on and tried
Both versions make the error go away. Trying to go back to the system install gave me a headache.
We have vague plans to ship the CLI with out own, statically linked Ruby version, like Heroku does for their toolbelt. Main blocker currently is building these for other systems we don't have VMs for (think Windows, BSD, etc).
@rkh feel free to ping me if you need help with Windows.
@mhogerheijde: I have exactly the same version you do, but I'm seeing this error. Trying in a fresh VM.
Works for me in a fresh Trusty VM, too. Could be an issue with outdated gems.
Showing results of gem query --local
actionmailer (3.2.15)
actionpack (3.2.15)
activemodel (3.2.15)
activerecord (3.2.15)
activesupport (3.2.15)
addressable (2.3.5, 2.3.2)
arel (3.0.2)
aruba (0.5.3)
ast (1.1.0)
atomic (1.1.14)
avl_tree (1.1.3)
backports (3.3.5)
builder (3.2.2, 3.0.4)
bundler (1.3.5)
celluloid (0.12.4)
childprocess (0.3.9)
chunky_png (1.2.8, 1.2.5)
classifier (1.3.3)
coder (0.4.0)
coderay (1.0.9)
coffee-script (2.2.0)
coffee-script-source (1.6.3)
colorator (0.1)
colored (1.2)
colorize (0.6.0)
commander (4.1.5, 4.1.3)
compass (0.12.2)
connection_pool (1.1.0)
crack (0.4.1, 0.3.1)
cucumber (1.3.8, 1.2.5)
data_migrations (0.0.1)
diff-lcs (1.2.4)
directory_watcher (1.4.1)
erubis (2.7.0)
ethon (0.7.1)
execjs (1.4.0)
facter (1.7.3)
faraday (0.9.0, 0.8.8)
faraday_middleware (0.9.1)
fast-stemmer (1.0.2, 1.0.1)
ffi (1.9.0)
formatador (0.2.4)
fssm (0.2.10, 0.2.9)
gh (0.13.0)
gherkin (2.12.2, 2.11.8)
gist (4.0.0)
git-background (0.0.3)
git-up (0.5.8)
grit (2.5.0)
guard (1.8.2)
guard-coffeescript (1.3.2)
guard-compass (0.0.8)
guard-jekyll-plus (1.4.6)
guard-shell (0.5.1)
haml (3.1.8, 3.1.7)
hashr (0.0.22)
highline (1.6.20, 1.6.19, 1.6.18)
hike (1.2.3)
hitimes (1.2.1)
hpricot (0.8.4)
hub (1.12.2, 1.10.6)
i18n (0.6.5)
jekyll (1.3.1, 1.1.2, 1.0.3, 1.0.1, 0.12.0)
jekyll-page-hooks (1.0.1)
journey (1.0.4)
json (1.8.1, 1.8.0, 1.7.7)
json_pure (1.8.1)
kramdown (1.0.2, 0.14.2, 0.13.8)
launchy (2.4.2)
liquid (2.5.4, 2.5.1, 2.5.0, 2.3.0)
listen (1.3.0)
lumberjack (1.0.4)
mail (2.5.4)
maruku (0.6.1)
metaclass (0.0.1)
method_source (0.8.2)
metriks (0.9.9.5)
mime-types (1.25, 1.23)
mocha (0.10.5)
multi_json (1.8.2, 1.7.9, 1.7.7)
multi_test (0.0.2)
multipart-post (1.2.0)
mustache (0.99.4)
net-http-persistent (2.9)
net-http-pipeline (1.0.1)
nokogiri (1.5.9)
notifier (0.5.0)
package_cloud (0.2.10)
parser (2.0.0.beta5)
polyglot (0.3.3)
posix-spawn (0.3.6)
proxies (0.2.1)
pry (0.9.12.2)
pusher (0.11.3)
pusher-client (0.6.0)
pygments.rb (0.5.2, 0.4.2, 0.3.4)
rack (1.5.2, 1.4.5, 1.4.1)
rack-cache (1.2)
rack-protection (1.5.0, 1.2.0)
rack-ssl (1.3.3)
rack-test (0.6.2)
railties (3.2.15)
rainbow (1.1.4)
rake (10.1.0, 0.9.2.2)
rb-fchange (0.0.6)
rb-fsevent (0.9.3, 0.9.1)
rb-inotify (0.9.1)
rb-kqueue (0.2.0)
rdiscount (2.0.7.3, 1.6.8)
rdoc (3.12.2)
redcarpet (2.3.0, 2.2.2)
RedCloth (4.2.9)
redis (3.0.5)
redis-namespace (1.3.2)
repl (1.0.0)
rest-client (1.6.7)
rollout (1.1.0)
ronn (0.7.3)
rspec (2.14.1, 2.13.0)
rspec-core (2.14.7, 2.13.1)
rspec-expectations (2.14.3, 2.14.0, 2.13.0)
rspec-mocks (2.14.4, 2.13.1)
rubocop (0.8.3)
rubypants (0.2.0)
s3 (0.3.17)
safe_yaml (0.9.7, 0.7.1)
sass (3.2.10, 3.2.9)
sass-globbing (1.1.0, 1.0.0)
sidekiq (2.8.0)
signature (0.1.7)
simple_states (1.0.0)
sinatra (1.4.3, 1.4.2, 1.3.2)
slop (3.4.6)
sprockets (2.2.2)
stitch-rb (0.0.8)
stringex (1.4.0)
svn2git (2.2.2)
svnignore (0.0.1)
syntax (1.0.0)
terminal-notifier (1.6.0)
thor (0.18.1, 0.14.6)
tilt (1.4.1, 1.3.7, 1.3.3)
timers (1.1.0)
travis (1.7.2)
travis-lint (1.7.0)
treetop (1.4.15)
typhoeus (0.6.9)
tzinfo (0.3.38, 0.3.37)
uglifier (2.1.2)
webmock (1.15.0, 1.9.0)
websocket (1.2.1)
yajl-ruby (1.1.0)
addressable (2.3.6)
backports (3.6.1)
coderay (1.1.0)
ethon (0.7.1)
faraday (0.9.0)
faraday_middleware (0.9.1)
ffi (1.9.5)
gh (0.13.2)
highline (1.6.21)
json (1.8.1)
launchy (2.4.2)
method_source (0.8.2)
multi_json (1.10.1)
multipart-post (2.0.0)
net-http-persistent (2.9.4)
net-http-pipeline (1.0.1)
pry (0.9.12.6)
pusher-client (0.6.0)
slop (3.6.0)
travis (1.7.2)
typhoeus (0.6.9)
websocket (1.2.1)
Currently performing an upgrade of all installed gems on the failing machine. I'll repost if the upgrade does not resolve the issue.
If it is an additional dependency, creating a clean bundle (or running from a clone of this repository) might also make it go away.
On Wed, Oct 1, 2014 at 12:35 PM, Kirill Müller notifications@github.com wrote:
Works for me in a fresh Trusty VM, too. Could be an issue with outdated gems.
Showing results of gem query --local Failing machine
actionmailer (3.2.15) actionpack (3.2.15) activemodel (3.2.15) activerecord (3.2.15) activesupport (3.2.15) addressable (2.3.5, 2.3.2) arel (3.0.2) aruba (0.5.3) ast (1.1.0) atomic (1.1.14) avl_tree (1.1.3) backports (3.3.5) builder (3.2.2, 3.0.4) bundler (1.3.5) celluloid (0.12.4) childprocess (0.3.9) chunky_png (1.2.8, 1.2.5) classifier (1.3.3) coder (0.4.0) coderay (1.0.9) coffee-script (2.2.0) coffee-script-source (1.6.3) colorator (0.1) colored (1.2) colorize (0.6.0) commander (4.1.5, 4.1.3) compass (0.12.2) connection_pool (1.1.0) crack (0.4.1, 0.3.1) cucumber (1.3.8, 1.2.5) data_migrations (0.0.1) diff-lcs (1.2.4) directory_watcher (1.4.1) erubis (2.7.0) ethon (0.7.1) execjs (1.4.0) facter (1.7.3) faraday (0.9.0, 0.8.8) faraday_middleware (0.9.1) fast-stemmer (1.0.2, 1.0.1) ffi (1.9.0) formatador (0.2.4) fssm (0.2.10, 0.2.9) gh (0.13.0) gherkin (2.12.2, 2.11.8) gist (4.0.0) git-background (0.0.3) git-up (0.5.8) grit (2.5.0) guard (1.8.2) guard-coffeescript (1.3.2) guard-compass (0.0.8) guard-jekyll-plus (1.4.6) guard-shell (0.5.1) haml (3.1.8, 3.1.7) hashr (0.0.22) highline (1.6.20, 1.6.19, 1.6.18) hike (1.2.3) hitimes (1.2.1) hpricot (0.8.4) hub (1.12.2, 1.10.6) i18n (0.6.5) jekyll (1.3.1, 1.1.2, 1.0.3, 1.0.1, 0.12.0) jekyll-page-hooks (1.0.1) journey (1.0.4) json (1.8.1, 1.8.0, 1.7.7) json_pure (1.8.1) kramdown (1.0.2, 0.14.2, 0.13.8) launchy (2.4.2) liquid (2.5.4, 2.5.1, 2.5.0, 2.3.0) listen (1.3.0) lumberjack (1.0.4) mail (2.5.4) maruku (0.6.1) metaclass (0.0.1) method_source (0.8.2) metriks (0.9.9.5) mime-types (1.25, 1.23) mocha (0.10.5) multi_json (1.8.2, 1.7.9, 1.7.7) multi_test (0.0.2) multipart-post (1.2.0) mustache (0.99.4) net-http-persistent (2.9) net-http-pipeline (1.0.1) nokogiri (1.5.9) notifier (0.5.0) package_cloud (0.2.10) parser (2.0.0.beta5) polyglot (0.3.3) posix-spawn (0.3.6) proxies (0.2.1) pry (0.9.12.2) pusher (0.11.3) pusher-client (0.6.0) pygments.rb (0.5.2, 0.4.2, 0.3.4) rack (1.5.2, 1.4.5, 1.4.1) rack-cache (1.2) rack-protection (1.5.0, 1.2.0) rack-ssl (1.3.3) rack-test (0.6.2) railties (3.2.15) rainbow (1.1.4) rake (10.1.0, 0.9.2.2) rb-fchange (0.0.6) rb-fsevent (0.9.3, 0.9.1) rb-inotify (0.9.1) rb-kqueue (0.2.0) rdiscount (2.0.7.3, 1.6.8) rdoc (3.12.2) redcarpet (2.3.0, 2.2.2) RedCloth (4.2.9) redis (3.0.5) redis-namespace (1.3.2) repl (1.0.0) rest-client (1.6.7) rollout (1.1.0) ronn (0.7.3) rspec (2.14.1, 2.13.0) rspec-core (2.14.7, 2.13.1) rspec-expectations (2.14.3, 2.14.0, 2.13.0) rspec-mocks (2.14.4, 2.13.1) rubocop (0.8.3) rubypants (0.2.0) s3 (0.3.17) safe_yaml (0.9.7, 0.7.1) sass (3.2.10, 3.2.9) sass-globbing (1.1.0, 1.0.0) sidekiq (2.8.0) signature (0.1.7) simple_states (1.0.0) sinatra (1.4.3, 1.4.2, 1.3.2) slop (3.4.6) sprockets (2.2.2) stitch-rb (0.0.8) stringex (1.4.0) svn2git (2.2.2) svnignore (0.0.1) syntax (1.0.0) terminal-notifier (1.6.0) thor (0.18.1, 0.14.6) tilt (1.4.1, 1.3.7, 1.3.3) timers (1.1.0) travis (1.7.2) travis-lint (1.7.0) treetop (1.4.15) typhoeus (0.6.9) tzinfo (0.3.38, 0.3.37) uglifier (2.1.2) webmock (1.15.0, 1.9.0) websocket (1.2.1) yajl-ruby (1.1.0)
Fresh VM
addressable (2.3.6) backports (3.6.1) coderay (1.1.0) ethon (0.7.1) faraday (0.9.0) faraday_middleware (0.9.1) ffi (1.9.5) gh (0.13.2) highline (1.6.21) json (1.8.1) launchy (2.4.2) method_source (0.8.2) multi_json (1.10.1) multipart-post (2.0.0) net-http-persistent (2.9.4) net-http-pipeline (1.0.1) pry (0.9.12.6) pusher-client (0.6.0) slop (3.6.0) travis (1.7.2) typhoeus (0.6.9) websocket (1.2.1)
Currently performing an upgrade of all installed gems on the failing machine. I'll repost if the upgrade does not resolve the issue.
— Reply to this email directly or view it on GitHub https://github.com/travis-ci/travis.rb/issues/224#issuecomment-57445785.
@rkh: I'll leave it up to you to trace the origins of the issue. sudo gem update
solved the issue for me ;-)
sudo gem update
solved it for me as well. Profit!
sudo gem update
solved for me three
sudo gem update
solved for me too!
Yep, it simply seems to be sudo gem update
…
When running
travis encrypt "254bd409c0975bbdea"
, i get the following:And
travis report
:This happens for other commands too,
travis login
,