Project

General

Profile

Solved - Project overview get inaccessible - ActionView::TemplateError

Added by Torsten Burschka over 9 years ago

UPDATE: I solved the problem with reinstalling Redmine.

Hi, i have trouble with my project overview. I'm not sure whats the problem, so the only thing that i can do is to post my configuration:

Redmine:
- Version 2.5.2
- Redmine Bootstrap Kit plugin 0.1
- Redmine Git Hosting Plugin 0.7.7
- Redmine Jenkins plugin 0.1

Gemlist:

    @actionmailer (3.2.19)
    actionpack (3.2.19)
    activemodel (3.2.19)
    activerecord (3.2.19)
    activeresource (3.2.19)
    activesupport (3.2.19)
    arel (3.0.3)
    asciidoctor (1.5.0)
    awesome_nested_set (2.1.6)
    bigdecimal (1.2.4)
    builder (3.0.0)
    bundler (1.7.3)
    charlock_holmes (0.7.3)
    coderay (1.1.0)
    creole (0.5.0)
    diff-lcs (1.2.5)
    erubis (2.7.0)
    expression_parser (0.9.0)
    github-markup (1.3.0)
    gitlab-grit (2.7.1)
    gratr19 (0.4.4.1)
    hike (1.2.3)
    i18n (0.6.11)
    io-console (0.4.2)
    jbox-gitolite (1.2.6)
    jenkins_api_client (1.0.1)
    journey (1.0.4)
    jquery-rails (2.0.3)
    json (1.8.1)
    kgio (2.9.2)
    lockfile (2.1.3)
    mail (2.5.4)
    mime-types (1.25.1)
    mini_portile (0.6.0)
    minitest (4.7.5)
    mixlib-shellout (1.4.0)
    multi_json (1.10.1)
    mysql2 (0.3.16)
    net-ldap (0.3.1)
    nokogiri (1.6.3.1)
    org-ruby (0.9.9)
    polyglot (0.3.5)
    posix-spawn (0.3.9)
    psych (2.0.5)
    rack (1.4.5)
    rack-cache (1.2)
    rack-openid (1.4.2)
    rack-ssl (1.3.4)
    rack-test (0.6.2)
    rails (3.2.19)
    railties (3.2.19)
    raindrops (0.13.0)
    rake (10.1.1, 10.1.0)
    rdoc (4.1.0, 3.12.2)
    redcarpet (2.3.0)
    RedCloth (4.2.9)
    rinku (1.7.3)
    rmagick (2.13.3)
    ruby-openid (2.3.0)
    rubypants (0.2.0)
    sprockets (2.2.2)
    terminal-table (1.4.5)
    test-unit (2.1.3.0)
    thor (0.19.1)
    tilt (1.4.1)
    treetop (1.4.15)
    tzinfo (0.3.41)
    unicorn (4.8.3)
    wikicloth (0.8.1)
    will_paginate (3.0.7)@

Error from unicorn.log:


    Started GET "/projects/fairbaer" for 92.224.235.7 at 2014-10-07 16:38:33 +0200
    Processing by ProjectsController#show as HTML
      Parameters: {"id"=>"fairbaer"}
      Current user: anonymous
      Rendered plugins/redmine_git_hosting/app/views/common/_git_urls.html.erb (34.4ms)
      Rendered plugins/redmine_git_hosting/app/views/projects/_git_urls.html.erb (116.8ms)
      Rendered projects/show.html.erb within layouts/base (169.6ms)
    Completed 500 Internal Server Error in 522.5ms

    ActionView::Template::Error (wrong number of arguments (1 for 2)):
        41:
        42:     $(document).ready(function() {
        43:       var git_url_client = Object();
        44:       git_url_client.movie_path    = '<%= plugin_asset_link('ZeroClipboard.swf') %>';
        45:       git_url_client.label_to_copy = '<%= l(:label_copy_to_clipboard) %>';
        46:       git_url_client.label_copied  = '<%= l(:label_copied_to_clipboard) %>';
        47:       git_url_client.target        = '#clipboard_button';
      lib/redmine/hook.rb:111:in `block in render_on'
      lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
      lib/redmine/hook.rb:61:in `each'
      lib/redmine/hook.rb:61:in `block in call_hook'
      lib/redmine/hook.rb:58:in `tap'
      lib/redmine/hook.rb:58:in `call_hook'
      lib/redmine/hook.rb:158:in `call_hook'
      app/views/projects/show.html.erb:63:in `_app_views_projects_show_html_erb___3881931038072864758_39268740'
      app/controllers/projects_controller.rb:163:in `show'