Re: [Radiant] MySQL SystemStackError: stack level too deep:
On 20 Sep 2007, at 00:47, Daniel Sheppard wrote: The following will show how deep your ruby stack can go: ruby -e '$x=0;def r;$x+=1;r;end;r rescue puts $x'; That command doesn't work for me My system can go 5050 levels. Ruby relies on the system limit on the C stack to limit its own stack. ulimit -s will show your current stack limit. My system has a limit of 8192. i set ulimit -s 8192 and it runs fine now. Thanks i've been banging my head for days over this one. Mark Kirby ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] MySQL SystemStackError: stack level too deep:
Mark Kirby wrote: stack level too deep SystemStackError: stack level too deep: SELECT * FROM page_parts WHERE (page_parts.page_id = 6) AND (page_parts.`name` = 'extended') LIMIT 1 Any one have any ideas? Do tests run for you? -- John Long http://wiseheartdesign.com ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] MySQL SystemStackError: stack level too deep:
On 19 Sep 2007, at 14:05, John W. Long wrote: Mark Kirby wrote: stack level too deep SystemStackError: stack level too deep: SELECT * FROM page_parts WHERE (page_parts.page_id = 6) AND (page_parts.`name` = 'extended') LIMIT 1 Any one have any ideas? Do tests run for you? The 1st block of tests all pass, on the second block i get one error: 1) Error: test_index__with_cookie(Admin::PageControllerTest): ActionView::TemplateError: stack level too deep On line #29 of admin/page/_node.rhtml 26: %= icon % 27: %= title % 28: % else -% 29: %= expander %a href=%= page_edit_url(:id = page) % title=%= page.url %%= icon % %= title %/a 30: %= page_type % 31: %= spinner % 32: % end -% Mark Kirby ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] MySQL SystemStackError: stack level too deep:
stack level too deep SystemStackError: stack level too deep: SELECT * FROM page_parts WHERE (page_parts.page_id = 6) AND (page_parts.`name` = 'extended') LIMIT 1 Do you have any extensions installed? They could be breaking things. If not, It could actually be that the stack level is too deep. Your system might have a low stack size limit. The following will show how deep your ruby stack can go: ruby -e '$x=0;def r;$x+=1;r;end;r rescue puts $x'; My system can go 5050 levels. Ruby relies on the system limit on the C stack to limit its own stack. ulimit -s will show your current stack limit. My system has a limit of 8192. Radiant uses up more of the stack than a vanilla rails app (as it processes through the normal rails stack and then its own libs). Dan. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant