Project

General

Profile

Defect #3116 » production.log

Thomas Jahns, 2009-04-09 09:12

 
1

    
2
Processing ProjectsController#add_file (for RE.MO.VED.IP at 2009-04-03 15:01:51) [POST]
3
  Session ID: 9cb2e530c6aa4e62ee777080e158e91b
4
  Parameters: {"commit"=>"Add", "action"=>"add_file", "id"=>"mpiom-scales", "controller"=>"projects", "attachments"=>{"1"=>{"file"=>#<File:/tmp/CGI20090403-4943-p8sb76-0>, "description"=>""}}}
5

    
6

    
7
NoMemoryError (failed to allocate memory):
8
    /app/models/attachment.rb:73:in `before_save'
9
    /app/models/attachment.rb:72:in `open'
10
    /app/models/attachment.rb:72:in `before_save'
11
    /vendor/rails/activerecord/lib/active_record/callbacks.rb:301:in `send'
12
    /vendor/rails/activerecord/lib/active_record/callbacks.rb:301:in `callback'
13
    /vendor/rails/activerecord/lib/active_record/callbacks.rb:206:in `create_or_update'
14
    /vendor/rails/activerecord/lib/active_record/base.rb:2211:in `save_without_validation'
15
    /vendor/rails/activerecord/lib/active_record/validations.rb:911:in `save_without_dirty'
16
    /vendor/rails/activerecord/lib/active_record/dirty.rb:75:in `save_without_transactions'
17
    /vendor/rails/activerecord/lib/active_record/transactions.rb:106:in `save'
18
    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction'
19
    /vendor/rails/activerecord/lib/active_record/transactions.rb:79:in `transaction'
20
    /vendor/rails/activerecord/lib/active_record/transactions.rb:98:in `transaction'
21
    /vendor/rails/activerecord/lib/active_record/transactions.rb:106:in `save'
22
    /vendor/rails/activerecord/lib/active_record/transactions.rb:118:in `rollback_active_record_state!'
23
    /vendor/rails/activerecord/lib/active_record/transactions.rb:106:in `save'
24
    /vendor/rails/activerecord/lib/active_record/base.rb:644:in `create'
25
    /app/controllers/application.rb:183:in `attach_files'
26
    /app/controllers/application.rb:180:in `each_value'
27
    /app/controllers/application.rb:180:in `attach_files'
28
    /app/controllers/projects_controller.rb:195:in `add_file'
29
    /vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `send'
30
    /vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `perform_action_without_filters'
31
    /vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters'
32
    /vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark'
33
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
34
    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
35
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
36
    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
37
    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
38
    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
39
    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
40
    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
41
    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
42
    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
43
    /vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
44
    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
45
    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
46
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
47
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
48
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
49
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
50
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
51
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
52
    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
53
    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
54
    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
55
    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
56
    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
57
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
58
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
59
    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
60
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
61
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
62
    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
63
    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
64
    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
65
    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
66
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
67
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
68
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
69
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
70
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
71
    /vendor/rails/railties/lib/commands/server.rb:39
72
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
73
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
74
    script/server:3
75

    
76
Rendering /home/redmine/redmine-0.8.2/public/500.html (500 Internal Server Error)
77

    
(2-2/2)