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

Stack level too deep #75

Open
ethnt opened this Issue Oct 20, 2011 · 10 comments

Comments

Projects
None yet
7 participants
@ethnt

ethnt commented Oct 20, 2011

When I run CIJoe with Sinatra 1.2.7, I'm getting this:

:public is no longer used to avoid overloading Module#public, use :public_folder instead
    from /home/ethan/.rvm/gems/ruby-1.9.2-p290@fhsclock/gems/cijoe-0.9.2/lib/cijoe/server.rb:12:in `<class:Server>'
/home/ethan/.rvm/gems/ruby-1.9.2-p290@fhsclock/bin/cijoe:19: stack level too deep (SystemStackError)

The first error is easily fixable, but I'm not sure what the deal is with the SystemStackError.

@germs12

This comment has been minimized.

Show comment
Hide comment
@germs12

germs12 Oct 21, 2011

I got the same thing this morning on my first run. I'm happy to help debug, but this is my first time using CIJoe.

:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /Users/jamesthullbery/.rvm/gems/ruby-1.9.2-p180@cijoe/gems/cijoe-0.9.2/lib/cijoe/server.rb:12:in `class:Server'
/Users/jamesthullbery/.rvm/gems/ruby-1.9.2-p180@cijoe/bin/cijoe:19: stack level too deep (SystemStackError)

germs12 commented Oct 21, 2011

I got the same thing this morning on my first run. I'm happy to help debug, but this is my first time using CIJoe.

:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /Users/jamesthullbery/.rvm/gems/ruby-1.9.2-p180@cijoe/gems/cijoe-0.9.2/lib/cijoe/server.rb:12:in `class:Server'
/Users/jamesthullbery/.rvm/gems/ruby-1.9.2-p180@cijoe/bin/cijoe:19: stack level too deep (SystemStackError)

@mptre

This comment has been minimized.

Show comment
Hide comment
@mptre

mptre Oct 21, 2011

Probably due to this bug.

mptre commented Oct 21, 2011

Probably due to this bug.

@ethnt

This comment has been minimized.

Show comment
Hide comment
@ethnt

ethnt Oct 21, 2011

Looks like it. ETA on merge into master?

ethnt commented Oct 21, 2011

Looks like it. ETA on merge into master?

@mptre

This comment has been minimized.

Show comment
Hide comment
@mptre

mptre Oct 23, 2011

Sorry. Can't tell since I'm not the owner.

mptre commented Oct 23, 2011

Sorry. Can't tell since I'm not the owner.

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Oct 24, 2011

I got the same problem. Installing sinatra 1.2.0 seems to have resolved this for me. Maybe the gemspec can be updated to specify the sinatra version.

ghost commented Oct 24, 2011

I got the same problem. Installing sinatra 1.2.0 seems to have resolved this for me. Maybe the gemspec can be updated to specify the sinatra version.

@mptre

This comment has been minimized.

Show comment
Hide comment
@mptre

mptre Oct 30, 2011

Ok, thanks for the info.

mptre commented Oct 30, 2011

Ok, thanks for the info.

@oren

This comment has been minimized.

Show comment
Hide comment
@oren

oren Dec 23, 2011

sinatra 1.2 didn't work for me. 1.2.7 seems to be fine.

oren commented Dec 23, 2011

sinatra 1.2 didn't work for me. 1.2.7 seems to be fine.

@jurgens

This comment has been minimized.

Show comment
Hide comment
@jurgens

jurgens Jan 28, 2012

Got same problem with sinatra 1.3.1

~/rails/jw_walls$ cijoe .

:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /home/jurgen/.rvm/gems/ruby-1.9.3-p0@rails3/gems/cijoe-0.9.2/lib/cijoe/server.rb:12:in `class:Server'
/home/jurgen/.rvm/gems/ruby-1.9.3-p0@rails3/bin/cijoe:19: stack level too deep (SystemStackError)

gem list sinatra
*** LOCAL GEMS ***
sinatra (1.3.1)

jurgens commented Jan 28, 2012

Got same problem with sinatra 1.3.1

~/rails/jw_walls$ cijoe .

:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /home/jurgen/.rvm/gems/ruby-1.9.3-p0@rails3/gems/cijoe-0.9.2/lib/cijoe/server.rb:12:in `class:Server'
/home/jurgen/.rvm/gems/ruby-1.9.3-p0@rails3/bin/cijoe:19: stack level too deep (SystemStackError)

gem list sinatra
*** LOCAL GEMS ***
sinatra (1.3.1)

@nate63179

This comment has been minimized.

Show comment
Hide comment
@nate63179

nate63179 Jan 28, 2012

Looks like this happens when Sinatra has problems binding with port 4567. I ran into the same issue on a machine that had a firewall blocking this port.

nate63179 commented Jan 28, 2012

Looks like this happens when Sinatra has problems binding with port 4567. I ran into the same issue on a machine that had a firewall blocking this port.

@jurgens

This comment has been minimized.

Show comment
Hide comment
@jurgens

jurgens Jan 30, 2012

There should not be any binding problems with my setup. Works fine with Sinatra 1.2.7

jurgens commented Jan 30, 2012

There should not be any binding problems with my setup. Works fine with Sinatra 1.2.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment