Package: rails
Version: 1.2.3-2
Severity: important

This happens with rails 1.2 only.  The same site is working well in
rails 1.1.6.  I have no explanations for that bug, at all.  Once I get
this message, *no other page work* and I always get the message.

Not Found
 /backup/list' not found. 
  WEBrick/1.3.1 (Ruby/1.8.6/2007-06-07) at localhost:3000 

Excerpt from WEBrick stdout:

#<NameError: cannot remove Object::RLIMIT_MEMLOCK>
["./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:422:in
remove_const'",
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:422:in
send'",
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:422:in
remove_constant'",
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:273:in
remove_unloadable_constants!'",
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:273:in
each'",
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:273:in
remove_unloadable_constants!'",
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:72:in

...snip...

[2007-08-17 11:02:59] ERROR /backup/list' not found.
127.0.0.1 - - [17/Aug/2007:11:02:59 EDT] "GET /backup/list HTTP/1.1"
404 281
- -> /backup/list

Attached are WEBrick full output and my log/development.log file..
The development log reports a double-render error, so I can still be
an error in my application, but the message displayed in WEBrick log
is confusing.

I've tried running WEBrick in strace, like I often do to investigate
bugs, but the produced trace is way to cluttered and confusing to find
anything.

-- System Information:
Debian Release: lenny/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-486
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rails depends on:
ii  liberb-ruby      2.0.4+ruby1.8.2-1       Tiny eRuby
ii  libpgsql-ruby1.8 0.7.1-10+b1             PostgreSQL extension library for R
ii  libredcloth-ruby 3.0.99.0.svn.20060519-1 Textile module for Ruby 1.8
ii  rake             0.7.3-1                 a ruby build program
ii  rdoc             1.8.2-1                 Generate documentation from ruby s
ii  ruby             1.8.2-1                 An interpreter of object-oriented 
ii  ruby1.8          1.8.6.36-1              Interpreter of object-oriented scr

Versions of packages rails recommends:
ii  irb                           1.8.2-1    Interactive Ruby (irb)

-- no debconf information

Processing BackupController#list (for 127.0.0.1 at 2007-08-17 11:02:59) [GET]
  Session ID: 804a2d2d80a9c039a9306a7e2a61b477
  Parameters: {"action"=>"list", "controller"=>"backup"}
Redirected to http://localhost:3000/activation/step5
DEPRECATION WARNING: @session is deprecated! Call session.[] instead of 
@session.[]. Args: [:ok]  See http://www.rubyonrails.org/deprecation for 
details. (called from login_done at 
./script/../config/../app/controllers/application.rb:18)


ActionController::DoubleRenderError (Render and/or redirect were called 
multiple times in this action. Please note that you may only call render OR 
redirect, and only once per action. Also note that neither redirect nor render 
terminate execution of the action, so if you want to exit an action after 
redirecting, you need to do something like "redirect_to(...) and return". 
Finally, note that to cause a before filter to halt execution of the rest of 
the filter chain, the filter must return false, explicitly, so "render(...) and 
return false".):
    .//vendor/rails/actionpack/lib/action_controller/base.rb:973:in 
`redirect_to'
    .//vendor/rails/actionpack/lib/action_controller/base.rb:987:in 
`redirect_to'
    .//app/controllers/application.rb:21:in `login_done'
    .//vendor/rails/actionpack/lib/action_controller/filters.rb:456:in `send'
    .//vendor/rails/actionpack/lib/action_controller/filters.rb:456:in `call'
    .//vendor/rails/actionpack/lib/action_controller/filters.rb:435:in `call'
    .//vendor/rails/actionpack/lib/action_controller/filters.rb:637:in 
`call_filter'
    .//vendor/rails/actionpack/lib/action_controller/filters.rb:638:in 
`call_filter'
    .//vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call'
    .//vendor/rails/actionpack/lib/action_controller/filters.rb:637:in 
`call_filter'
    .//vendor/rails/actionpack/lib/action_controller/filters.rb:619:in 
`perform_action_without_benchmark'
    .//vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in 
`perform_action_without_rescue'
    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
    .//vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in 
`perform_action_without_rescue'
    .//vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in 
`perform_action'
    .//vendor/rails/actionpack/lib/action_controller/base.rb:430:in `send'
    .//vendor/rails/actionpack/lib/action_controller/base.rb:430:in 
`process_without_filters'
    .//vendor/rails/actionpack/lib/action_controller/filters.rb:624:in 
`process_without_session_management_support'
    
.//vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in 
`process'
    .//vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'
    .//vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'
    .//vendor/rails/railties/lib/webrick_server.rb:113:in `handle_dispatch'
    .//vendor/rails/railties/lib/webrick_server.rb:79:in `service'
    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
    .//vendor/rails/railties/lib/webrick_server.rb:63:in `dispatch'
    .//vendor/rails/railties/lib/commands/servers/webrick.rb:59
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
    .//vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in 
`require'
    .//vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in 
`new_constants_in'
    .//vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in 
`require'
    .//vendor/rails/railties/lib/commands/server.rb:39
    script/server:3:in `require'
    script/server:3


Rendering 
./script/../config/../vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.rhtml
 (500 Internal Error)
=> Booting WEBrick...
=> Rails application started on http://127.0.0.1:3000
=> Ctrl-C to shutdown server; call with --help for options
[2007-08-17 11:02:57] INFO  WEBrick 1.3.1
[2007-08-17 11:02:57] INFO  ruby 1.8.6 (2007-06-07) [i486-linux]
[2007-08-17 11:02:57] INFO  WEBrick::HTTPServer#start: pid=441 port=3000



#<NameError: cannot remove Object::RLIMIT_MEMLOCK>
["./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:422:in
 `remove_const'", 
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:422:in
 `send'", 
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:422:in
 `remove_constant'", 
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:273:in
 `remove_unloadable_constants!'", 
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:273:in
 `each'", 
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:273:in
 `remove_unloadable_constants!'", 
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:72:in
 `clear'", "./script/../config/../vendor/rails/railties/lib/dispatcher.rb:60:in 
`reset_application!'", 
"./script/../config/../vendor/rails/railties/lib/dispatcher.rb:116:in 
`reset_after_dispatch'", "./script/../config/../vendo
 r/rails/railties/lib/dispatcher.rb:51:in `dispatch'", 
"./script/../config/../vendor/rails/railties/lib/webrick_server.rb:113:in 
`handle_dispatch'", 
"./script/../config/../vendor/rails/railties/lib/webrick_server.rb:79:in 
`service'", "/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'", 
"/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'", 
"/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'", 
"/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'", 
"/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'", 
"/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'", 
"/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'", 
"/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'", 
"/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'", 
"/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'", 
"./script/../config/../vendor/rails/railties/lib/webrick_server.rb:63:in 
`dispatch'", 
"./script/../config/../vendor/rails/railties/lib/commands/servers/webrick.rb:59",
 "/usr/lib/ruby/1.8/rubygems/custo
 m_require.rb:27:in `gem_original_require'", 
"/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'", 
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
 `require'", 
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in
 `new_constants_in'", 
"./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
 `require'", 
"./script/../config/../vendor/rails/railties/lib/commands/server.rb:39", 
"script/server:3:in `require'", "script/server:3"]
[2007-08-17 11:02:59] ERROR `/backup/list' not found.
127.0.0.1 - - [17/Aug/2007:11:02:59 EDT] "GET /backup/list HTTP/1.1" 404 281
- -> /backup/list
^[[A[2007-08-17 11:03:39] INFO  going to shutdown ...
[2007-08-17 11:03:39] INFO  WEBrick::HTTPServer#start done.

Reply via email to