Massive fail under Rails 2.2
Reported by knewter (at gmail) | December 15th, 2008 @ 08:20 AM
I was emailed this, submitting it to the bug tracker for posterity. I have not yet attempted to duplicate it.
Hello.
I try to run your cms, but got just this:
Status: 500 Internal Server Error Content-Type: text/html 500 Internal Server Error
In log I find this: NoMethodError (undefined method
file_exists?' for #<ActionView::Base.......
Rails 2.2.0 ruby 1.8.5
If you want I can provide to you more informations
And almost all test failed:
1) SystemStackError in 'Page#swap! should swap a page with a
number page relative to it in page order' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
2) SystemStackError in 'Page#split_page! should handle
non-multipage gracefully' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
3) SystemStackError in 'Page#split_page! should handle
out-of-bound page splits gracefully' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
4) SystemStackError in 'Page#split_page! should accept a page
number and set the appropriate multipage values' stack level too
deep /var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
5) SystemStackError in 'Page#split_page! should set pages after
converting a page to a multipage' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
6) SystemStackError in 'Page#split_page! should set page body to
the first page after converting a page to a multipage' stack level
too deep /var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
7) SystemStackError in 'Page#split_page! should set page_number
to 1 after converting a page to a multipage' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
8) SystemStackError in 'Page#split_page! should automatically
detect {pagebreak} and convert the page to a multipage' stack level
too deep /var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
9) SystemStackError in 'Page handling multipages in non-leaf
pages handling home multipages should descend and verify each path
of the page' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
10) SystemStackError in 'Page handling multipages in non-leaf
pages handling home multipages should return page with a nil
page_body when it exceeds the maximum page number (DEPRECATION:
This behavior needs to be changed)' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
11) SystemStackError in 'Page handling multipages in non-leaf
pages handling home multipages should return nil when page number
is out of bounds' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
12) SystemStackError in 'Page handling multipages in non-leaf
pages handling home multipages should default to the first page'
stack level too deep /var/rails/ansuz/app/models/page.rb:95:in
swap!' /var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
13) SystemStackError in 'Page handling multipages in non-leaf
pages handling home multipages should return a page_body based on
the page number at the end of the path' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
14) SystemStackError in 'Page handling multipages in non-leaf
pages#find_page_by_path should handle corrupt paths gracefully'
stack level too deep /var/rails/ansuz/app/models/page.rb:95:in
swap!' /var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
15) SystemStackError in 'Page handling multipages in non-leaf
pages#find_page_by_path should verify the path is in the proper
sequence' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
16) SystemStackError in 'Page handling multipages in non-leaf
pages#find_page_by_path should descend the path and find the
correct page' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
17) SystemStackError in 'Page handling multipages in non-leaf
pages#find_page_by_path should return the children pages of the
home page' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
18) SystemStackError in 'Page handling multipages in non-leaf
pages#find_page_by_path should return the home page when passed
'home'' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
19) SystemStackError in 'Page handling multipages in non-leaf
pages#find_page_by_path should return the home page when the path
is empty' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
20) SystemStackError in 'Page handling multipages in non-leaf
pages should handle home/1, home/2, etc. pages' stack level too
deep /var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
21) SystemStackError in 'Page handling multipages in non-leaf
pages handling in-line multipages should descend and verify each
path of the page' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
22) SystemStackError in 'Page handling multipages in non-leaf
pages handling in-line multipages should return page with a nil
page_body when it exceeds the maximum page number (DEPRECATION:
This behavior needs to be changed)' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
23) SystemStackError in 'Page handling multipages in non-leaf
pages handling in-line multipages should return nil when page
number is out of bounds' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
24) SystemStackError in 'Page handling multipages in non-leaf
pages handling in-line multipages should default to the first page'
stack level too deep /var/rails/ansuz/app/models/page.rb:95:in
swap!' /var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
25) SystemStackError in 'Page handling multipages in non-leaf
pages handling in-line multipages should return a page_body based
on the page number at the end of the path' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
26) SystemStackError in 'Page handling multipages in non-leaf
pages#find_page_by_path should handle corrupt paths gracefully'
stack level too deep /var/rails/ansuz/app/models/page.rb:95:in
swap!' /var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
27) SystemStackError in 'Page handling multipages in non-leaf
pages#find_page_by_path should verify the path is in the proper
sequence' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
28) SystemStackError in 'Page handling multipages in non-leaf
pages#find_page_by_path should descend the path and find the
correct page' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
29) SystemStackError in 'Page handling multipages in non-leaf
pages#find_page_by_path should return the children pages of the
home page' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
30) SystemStackError in 'Page handling multipages in non-leaf
pages#find_page_by_path should return the home page when passed
'home'' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
31) SystemStackError in 'Page handling multipages in non-leaf
pages#find_page_by_path should return the home page when the path
is empty' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
32) SystemStackError in 'Page multipage handling leaves should
descend and verify each path of the page' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
33) SystemStackError in 'Page multipage handling leaves should
return page with a nil page_body when it exceeds the maximum page
number (DEPRECATION: This behavior needs to be changed)' stack
level too deep /var/rails/ansuz/app/models/page.rb:95:in
swap!' /var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
34) SystemStackError in 'Page multipage handling leaves should
return nil when page number is out of bounds' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
35) SystemStackError in 'Page multipage handling leaves should
default to the first page' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
36) SystemStackError in 'Page multipage handling leaves should
return a page_body based on the page number at the end of the path'
stack level too deep /var/rails/ansuz/app/models/page.rb:95:in
swap!' /var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
37) SystemStackError in 'Page multipage#find_page_by_path should
handle corrupt paths gracefully' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
38) SystemStackError in 'Page multipage#find_page_by_path should
verify the path is in the proper sequence' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
39) SystemStackError in 'Page multipage#find_page_by_path should
descend the path and find the correct page' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
40) SystemStackError in 'Page multipage#find_page_by_path should
return the children pages of the home page' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
41) SystemStackError in 'Page multipage#find_page_by_path should
return the home page when passed 'home'' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
42) SystemStackError in 'Page multipage#find_page_by_path should
return the home page when the path is empty' stack level too deep
/var/rails/ansuz/app/models/page.rb:95:in swap!'
/var/rails/ansuz/app/models/page.rb:90:in
swap!'
./spec/models/page_spec.rb:474:
43) 'Page#publishable_children should return children that are flagged as publishable. (DEPRECATION: This should be converted to named_scope)' FAILED expected 1 publishable_children, got 0 ./spec/models/page_spec.rb:43:
Finished in 105.339232 seconds
60 examples, 43 failures
Comments and changes to this ticket
-
knewter (at gmail) December 16th, 2008 @ 08:41 PM
- State changed from new to resolved
I never duplicated this bug precisely, but Rails 2.2 fixes have been pushed and things are working swimmingly, for me at least, under 2.2
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Project for ansuz: Open source Rails-based content management that works.