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

parse_access_token': undefined method `split' for nil:NilClass (NoMethodError) #1

Open
millisami opened this issue Nov 18, 2012 · 0 comments

Comments

@millisami
Copy link

Installed the gem.

Following is my ~/.geppetto/settings.yaml file

dev:  &defaults
  app_id: "276194505816510"
  secret: "069f3d6d766334bffbcaa1fc31c1997c"
  # http://developers.facebook.com/docs/authentication/permissions/
  default_permissions: [read_stream, offline_access, publish_stream, friends_hometown, friends_location]
  app_url: http://localhost:3000/
qa:
  app_id: <-- YOUR APP ID -->
  secret: <-- YOUR APP SECRET -->
  <<: *defaults

Now when run the list cmd:

geppetto list
/Users/millisami/.rbenv/versions/1.9.3-p194/gemsets/global/gems/koala-1.0.0/lib/koala.rb:255:in `parse_access_token': undefined method `split' for nil:NilClass (NoMethodError)
  from /Users/millisami/.rbenv/versions/1.9.3-p194/gemsets/global/gems/koala-1.0.0/lib/koala.rb:251:in `get_token_from_server'
  from /Users/millisami/.rbenv/versions/1.9.3-p194/gemsets/global/gems/koala-1.0.0/lib/koala.rb:181:in `get_app_access_token_info'
  from /Users/millisami/.rbenv/versions/1.9.3-p194/gemsets/global/gems/koala-1.0.0/lib/koala.rb:185:in `get_app_access_token'
  from /Users/millisami/.rbenv/versions/1.9.3-p194/gemsets/global/gems/koala-1.0.0/lib/koala/test_users.rb:18:in `initialize'
  from /Users/millisami/.rbenv/versions/1.9.3-p194/gemsets/global/gems/geppetto-0.9.8/lib/geppetto/cli.rb:19:in `new'
  from /Users/millisami/.rbenv/versions/1.9.3-p194/gemsets/global/gems/geppetto-0.9.8/lib/geppetto/cli.rb:19:in `initialize'
  from /Users/millisami/.rbenv/versions/1.9.3-p194/gemsets/global/gems/thor-0.16.0/lib/thor.rb:271:in `new'
  from /Users/millisami/.rbenv/versions/1.9.3-p194/gemsets/global/gems/thor-0.16.0/lib/thor.rb:271:in `dispatch'
  from /Users/millisami/.rbenv/versions/1.9.3-p194/gemsets/global/gems/thor-0.16.0/lib/thor/base.rb:425:in `start'
  from /Users/millisami/.rbenv/versions/1.9.3-p194/gemsets/global/gems/geppetto-0.9.8/bin/geppetto:35:in `<top (required)>'
  from /Users/millisami/.rbenv/versions/1.9.3-p194/gemsets/global/bin/geppetto:23:in `load'
  from /Users/millisami/.rbenv/versions/1.9.3-p194/gemsets/global/bin/geppetto:23:in `<main>'

What is causing this error?

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

1 participant