#1 new
Matthew Moore

Stack level too deep error

Reported by Matthew Moore | February 25th, 2009 @ 08:48 PM

First, thanks for ruby-github, it sounds like a fantastic library for the API. However, I'm struggling to get it to work! I was wondering if maybe I have a different version of mash (0.0.3) installed or something.

When I run script/console development (or production), and simply run GitHub::API.user('thrivesmart'), (and other usernames), I get a stack level too deep error. Do you have any idea what it could be?


SystemStackError: stack level too deep
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:100:in `new'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:100:in `dup'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:213:in `stringify_keys'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:131:in `deep_update'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:50:in `initialize'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:100:in `new'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:100:in `dup'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:213:in `stringify_keys'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:131:in `deep_update'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:50:in `initialize'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:100:in `new'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:100:in `dup'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:213:in `stringify_keys'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:131:in `deep_update'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:50:in `initialize'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:100:in `new'
... 5666 levels...
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:213:in `stringify_keys'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:131:in `deep_update'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:50:in `initialize'
	from /Users/Jenn/Projects/github-projects-tsapp/vendor/gems/mbleigh-ruby-github-0.0.5/lib/ruby-github.rb:48:in `new'
	from /Users/Jenn/Projects/github-projects-tsapp/vendor/gems/mbleigh-ruby-github-0.0.5/lib/ruby-github.rb:48:in `repositories='
	from /Users/Jenn/Projects/github-projects-tsapp/vendor/gems/mbleigh-ruby-github-0.0.5/lib/ruby-github.rb:48:in `collect'
	from /Users/Jenn/Projects/github-projects-tsapp/vendor/gems/mbleigh-ruby-github-0.0.5/lib/ruby-github.rb:48:in `repositories='
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:138:in `send'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:138:in `deep_update'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:132:in `each_pair'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:132:in `deep_update'
	from /Library/Ruby/Gems/1.8/gems/mash-0.0.3/lib/mash.rb:50:in `initialize'
	from /Users/Jenn/Projects/github-projects-tsapp/vendor/gems/mbleigh-ruby-github-0.0.5/lib/ruby-github.rb:44:in `initialize'
	from /Users/Jenn/Projects/github-projects-tsapp/vendor/gems/mbleigh-ruby-github-0.0.5/lib/ruby-github.rb:13:in `new'
	from /Users/Jenn/Projects/github-projects-tsapp/vendor/gems/mbleigh-ruby-github-0.0.5/lib/ruby-github.rb:13:in `user'

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A simple library for accessing the GitHub API.

People watching this ticket

Tags

Pages