Project

General

Profile

I was getting error when ever clicked new project tab. ... » production.log

Taraka Rajesh U, 2012-07-17 14:07

 
1
# Logfile created on Tue Jul 17 17:25:42 +0530 2012
2

    
3
Processing WelcomeController#index (for 127.0.0.1 at 2012-07-17 17:28:11) [GET]
4
  Parameters: {"action"=>"index", "controller"=>"welcome"}
5
Rendering template within layouts/base
6
Rendering welcome/index
7
Completed in 500ms (View: 16, DB: 78) | 200 OK [http://localhost/]
8

    
9

    
10
Processing AccountController#login (for 127.0.0.1 at 2012-07-17 17:28:15) [GET]
11
  Parameters: {"action"=>"login", "controller"=>"account"}
12
Rendering template within layouts/base
13
Rendering account/login
14
Completed in 16ms (View: 16, DB: 0) | 200 OK [http://localhost/login]
15

    
16

    
17
Processing AccountController#login (for 127.0.0.1 at 2012-07-17 17:28:20) [POST]
18
  Parameters: {"back_url"=>"http%3A%2F%2Flocalhost%3A3000%2F", "action"=>"login", "authenticity_token"=>"9f9IPzWjZ79f2jciihej7EEVmLPaEOzR7+DVjhKCip4=", "username"=>"admin", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Login »"}
19
Redirected to http://localhost:3000/
20
Completed in 31ms (DB: 16) | 302 Found [http://localhost/login]
21

    
22

    
23
Processing WelcomeController#index (for 127.0.0.1 at 2012-07-17 17:28:20) [GET]
24
  Parameters: {"action"=>"index", "controller"=>"welcome"}
25
Rendering template within layouts/base
26
Rendering welcome/index
27
Completed in 109ms (View: 62, DB: 47) | 200 OK [http://localhost/]
28

    
29

    
30
Processing ProjectsController#index (for 127.0.0.1 at 2012-07-17 17:28:22) [GET]
31
  Parameters: {"action"=>"index", "controller"=>"projects"}
32
Rendering template within layouts/base
33
Rendering projects/index
34
Completed in 78ms (View: 62, DB: 16) | 200 OK [http://localhost/projects]
35

    
36

    
37
Processing ProjectsController#new (for 127.0.0.1 at 2012-07-17 17:28:24) [GET]
38
  Parameters: {"action"=>"new", "controller"=>"projects"}
39
Rendering template within layouts/base
40
Rendering projects/new
41

    
42
ActionView::TemplateError (wrong number of arguments (2 for 0)) on line #5 of app/views/projects/_form.rhtml:
43
2: 
44
3: <div class="box">
45
4: <!--[form:project]-->
46
5: <p><%= f.text_field :name, :required => true, :maxlength => 30 %><br /><em><%= l(:text_caracters_maximum, 30) %></em></p>
47
6: 
48
7: <% unless @project.allowed_parents.compact.empty? %>
49
8:     <p><%= label(:project, :parent_id, l(:field_parent)) %><%= parent_project_select_tag(@project) %></p>
50

    
51
    C:/Ruby187/lib/ruby/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:158:in `warn_syntax_deprecation!'
52
    C:/Ruby187/lib/ruby/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:158:in `interpolate_without_deprecated_syntax'
53
    C:/Ruby187/lib/ruby/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:153:in `gsub'
54
    C:/Ruby187/lib/ruby/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:153:in `interpolate_without_deprecated_syntax'
55
    C:/Ruby187/lib/ruby/gems/1.8/gems/i18n-0.4.2/lib/i18n/backend/base.rb:46:in `translate'
56
    C:/Ruby187/lib/ruby/gems/1.8/gems/i18n-0.4.2/lib/i18n.rb:160:in `t'
57
    lib/redmine/i18n.rb:17:in `l'
58
    app/views/projects/_form.rhtml:5:in `_run_rhtml_app47views47projects47_form46rhtml_locals_f_form_object'
59
    app/views/projects/new.html.erb:4
60
    app/helpers/application_helper.rb:716:in `labelled_tabular_form_for'
61
    app/views/projects/new.html.erb:3
62
    C:/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
63
    C:/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
64
    C:/Ruby187/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
65
    C:/Ruby187/lib/ruby/1.8/webrick/server.rb:162:in `start'
66
    C:/Ruby187/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
67
    C:/Ruby187/lib/ruby/1.8/webrick/server.rb:95:in `start'
68
    C:/Ruby187/lib/ruby/1.8/webrick/server.rb:92:in `each'
69
    C:/Ruby187/lib/ruby/1.8/webrick/server.rb:92:in `start'
70
    C:/Ruby187/lib/ruby/1.8/webrick/server.rb:23:in `start'
71
    C:/Ruby187/lib/ruby/1.8/webrick/server.rb:82:in `start'
72

    
73
Rendering rescues/layout (internal_server_error)
    (1-1/1)