Forum: Ruby on Rails Thin server giving Stack level too deep error

Posted by Sumit Srivastava (Guest)
on 2012-12-13 06:32
(Received via mailing list)
Hi,

I am using thin web server in my rails project. But it gives stack level
too deep error. Couldn't find any appropriate solution to this.
I have tried updating the ruby but didn't help.

Regards,
Sumit
Posted by Jim ruther Nill (jimboker)
on 2012-12-13 06:45
(Received via mailing list)
On Thu, Dec 13, 2012 at 1:31 PM, Sumit Srivastava <
sumit.theinvincible@gmail.com> wrote:

> Hi,
>
> I am using thin web server in my rails project. But it gives stack level
> too deep error. Couldn't find any appropriate solution to this.
> I have tried updating the ruby but didn't help.
>

can you post the entire trace here?  just a quick check would be to 
create
a new rails app
using the same version of thin that you're getting issues with.  If it
works, then there's
something wrong with your config.  First thing to look at would be the
initializers you added.
Next would be to look at your environment config.


> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-....
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



--
Posted by sumit srivastava (Guest)
on 2012-12-13 06:48
(Received via mailing list)
On 13 December 2012 11:13, Jim Ruther Nill <jvnill@gmail.com> wrote:

>> I have tried updating the ruby but didn't help.
>>
>
> can you post the entire trace here?  just a quick check would be to create
> a new rails app
> using the same version of thin that you're getting issues with.  If it
> works, then there's
> something wrong with your config.  First thing to look at would be the
> initializers you added.
> Next would be to look at your environment config.
>

This is what I get in trace,

HTTP/1.1 500 Internal Server Error
Connection: close
Server: thin 1.3.1 codename Triple Espresso

SystemStackError: stack level too deep
Posted by sumit srivastava (Guest)
on 2012-12-13 06:50
(Received via mailing list)
On 13 December 2012 11:17, sumit srivastava
<sumit.theinvincible@gmail.com>wrote:

>>>
>> initializers you added.
>
The same thing works on some systems while fails on some. Googled about 
it
and found several people have been facing this issue with thin. Didn't 
get
any concrete solution.
Posted by Jim ruther Nill (jimboker)
on 2012-12-13 06:54
(Received via mailing list)
On Thu, Dec 13, 2012 at 1:48 PM, sumit srivastava <
sumit.theinvincible@gmail.com> wrote:

>>> On Thu, Dec 13, 2012 at 1:31 PM, Sumit Srivastava <
>>> create a new rails app
>> Connection: close
>> Server: thin 1.3.1 codename Triple Espresso
>>
>> SystemStackError: stack level too deep
>>
>
> The same thing works on some systems while fails on some. Googled about it
> and found several people have been facing this issue with thin. Didn't get
> any concrete solution.
>

have you tried reinstalling the gem? or using a lower version of the 
gem?


>>>> Groups "Ruby on Rails: Talk" group.
>>>
>>> rubyonrails-talk+unsubscribe@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



--
Posted by sumit srivastava (Guest)
on 2012-12-13 06:58
(Received via mailing list)
On 13 December 2012 11:23, Jim Ruther Nill <jvnill@gmail.com> wrote:

>>>
>>>>> I am using thin web server in my rails project. But it gives stack
>>>> Next would be to look at your environment config.
>>
>> The same thing works on some systems while fails on some. Googled about
>> it and found several people have been facing this issue with thin. Didn't
>> get any concrete solution.
>>
>
> have you tried reinstalling the gem? or using a lower version of the gem?
>

Yes, I have also mentioned that it works on some systems but creates
problem on few.
Posted by Jim ruther Nill (jimboker)
on 2012-12-13 07:49
(Received via mailing list)
On Thu, Dec 13, 2012 at 1:56 PM, sumit srivastava <
sumit.theinvincible@gmail.com> wrote:

>>> sumit.theinvincible@gmail.com> wrote:
>>>>>> Hi,
>>>>> something wrong with your config.  First thing to look at would be the
>>>> SystemStackError: stack level too deep
> Yes, I have also mentioned that it works on some systems but creates
> problem on few.
>

Yep, I read that part.  Sorry, I don't have any ideas anymore. Good 
luck.


>>>>>> --
>>>>>>
>>>>> Groups "Ruby on Rails: Talk" group.
>>>  --
>>
>> rubyonrails-talk+unsubscribe@googlegroups.com.
> rubyonrails-talk+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



--
Posted by sumit srivastava (Guest)
on 2012-12-13 07:54
(Received via mailing list)
On 13 December 2012 12:18, Jim Ruther Nill <jvnill@gmail.com> wrote:

>>>
>>>>>>
>>>>>>>
>>>>> This is what I get in trace,
>>>> get any concrete solution.
>
Thanks.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.