Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.89 KB | None | 0 0
  1. Processing ImageController#scaled_image (for 62.20.190.10 at 2010-11-04 21:16:45) [GET]
  2. Parameters: {"1287879144"=>nil, "id"=>"125", "height"=>"589", "width"=>"589"}
  3. Image Load (0.3ms) SELECT * FROM `images` WHERE (id = '125') LIMIT 1
  4. Image Columns (2.2ms) SHOW FIELDS FROM `images`
  5. BinaryData Load (0.5ms) SELECT * FROM `binary_datas` WHERE (`binary_datas`.resource_id = 125 AND `binary_datas`.resource_type = 'Image') LIMIT 1
  6. BinaryData Columns (2.1ms) SHOW FIELDS FROM `binary_datas`
  7. rendering image with id: 125 scaled to width:589, height:589
  8. Sending data
  9.  
  10. NoMethodError (You have a nil object when you didn't expect it!
  11. You might have expected an instance of Array.
  12. The error occurred while evaluating nil.size):
  13. app/controllers/image_controller.rb:120:in `render_scaled_image'
  14. app/controllers/image_controller.rb:39:in `scaled_image'
  15. /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
  16. /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
  17. /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler'
  18. /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application'
  19. /usr/lib/ruby/1.8/phusion_passenger/utils.rb:252:in `safe_fork'
  20. /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application'
  21. /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
  22. /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
  23. /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  24. /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
  25. /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:222:in `start'
  26. /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:253:in `spawn_rails_application'
  27. /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
  28. /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:247:in `spawn_rails_application'
  29. /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
  30. /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  31. /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:246:in `spawn_rails_application'
  32. /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:145:in `spawn_application'
  33. /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:278:in `handle_spawn_application'
  34. /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
  35. /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
  36. /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  37. /usr/lib/phusion_passenger/passenger-spawn-server:61
  38.  
  39. Rendered rescues/_trace (122.7ms)
  40. Rendered rescues/_request_and_response (1.1ms)
  41. Rendering rescues/layout (internal_server_error)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement