Project

General

Profile

Actions

Defect #2401

closed

New git repositorie

Added by Yohann Lepage over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2008-12-26
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hello,

I just create a new empty git repositorie. After i have gave the git path of my project, i can't acces to the repository page.

My Mongrel log file :
@
Processing RepositoriesController#show (for xx.xx.xx.xx at 2008-12-26 11:05:21) [GET]
Session ID: bb08efcf3f8e187bc8ecb70ebcf7b7f0
Parameters: {"action"=>"show", "id"=>"testgit", "controller"=>"repositories"}
Rendering template within layouts/base
Rendering repositories/show

ActionView::TemplateError (undefined method `length' for #<Enumerable::Enumerator:0xb70d5590>) on line #22 of repositories/_dir_list_content.rhtml:
19: &lt;td class="age"&gt;<%= distance_of_time_in_words(entry.lastrev.time, Time.now) if entry.lastrev && entry.lastrev.time >&lt;/td&gt;
20: &lt;td class="author"&gt;<
=h(entry.lastrev.author.to_s.split('<').first) if entry.lastrev >&lt;/td&gt;
21: <
changeset = @project.repository.changesets.find_by_revision(entry.lastrev.identifier) if entry.lastrev && entry.lastrev.identifier >
22: &lt;td class="comments"&gt;<
=h truncate(changeset.comments, 50) unless changeset.nil? >&lt;/td&gt;
23: &lt;/tr&gt;
24: <
end %>
vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb:50:in `truncate'
app/views/repositories/_dir_list_content.rhtml:22:in `_run_erb_47app47views47repositories47_dir_list_content46rhtml'
app/views/repositories/_dir_list_content.rhtml:1:in `each'
app/views/repositories/_dir_list_content.rhtml:1:in `_run_erb_47app47views47repositories47_dir_list_content46rhtml'
vendor/rails/actionpack/lib/action_view/base.rb:637:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:637:in `compile_and_render_template'
vendor/rails/actionpack/lib/action_view/base.rb:365:in `render_template'
vendor/rails/actionpack/lib/action_view/base.rb:316:in `render_file'
vendor/rails/actionpack/lib/action_view/base.rb:331:in `render'
vendor/rails/actionpack/lib/action_view/partials.rb:120:in `render_partial'
vendor/rails/actionpack/lib/action_view/base.rb:352:in `render'
app/views/repositories/_dir_list.rhtml:13:in `_run_erb_47app47views47repositories47_dir_list46rhtml'
vendor/rails/actionpack/lib/action_view/base.rb:637:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:637:in `compile_and_render_template'
vendor/rails/actionpack/lib/action_view/base.rb:365:in `render_template'
vendor/rails/actionpack/lib/action_view/base.rb:316:in `render_file'
vendor/rails/actionpack/lib/action_view/base.rb:331:in `render'
vendor/rails/actionpack/lib/action_view/partials.rb:120:in `render_partial'
vendor/rails/actionpack/lib/action_view/base.rb:352:in `render'
app/views/repositories/show.rhtml:9:in `_run_erb_47app47views47repositories47show46rhtml'
vendor/rails/actionpack/lib/action_view/base.rb:637:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:637:in `compile_and_render_template'
vendor/rails/actionpack/lib/action_view/base.rb:365:in `render_template'
vendor/rails/actionpack/lib/action_view/base.rb:316:in `render_file'
vendor/rails/actionpack/lib/action_controller/base.rb:1100:in `render_for_file'
vendor/rails/actionpack/lib/action_controller/base.rb:836:in `render_with_no_layout'
vendor/rails/actionpack/lib/action_controller/layout.rb:262:in `render_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
vendor/rails/actionpack/lib/action_controller/base.rb:1153:in `default_render'
vendor/rails/actionpack/lib/action_controller/base.rb:1159:in `perform_action_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:697:in `call_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in `perform_action_without_caching'
vendor/rails/actionpack/lib/action_controller/caching.rb:678:in `perform_action'
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
vendor/rails/actionpack/lib/action_controller/caching.rb:677:in `perform_action'
vendor/rails/actionpack/lib/action_controller/base.rb:524:in `send'
vendor/rails/actionpack/lib/action_controller/base.rb:524:in `process_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:685:in `process_without_session_management_support'
vendor/rails/actionpack/lib/action_controller/session_management.rb:123:in `process'
vendor/rails/actionpack/lib/action_controller/base.rb:388:in `process'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:171:in `handle_request'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in `dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in `dispatch'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in `process'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `synchronize'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `process'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run'
/var/lib/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
/var/lib/gems/1.8/bin/mongrel_rails:19:in `load'
/var/lib/gems/1.8/bin/mongrel_rails:19
Rendering /home/redmine/www/public/500.html (500 Internal Server Error)
@
Actions #1

Updated by Eric Davis over 16 years ago

What are your versions of Rails and Ruby? http://www.redmine.org/wiki/redmine/Submissions

Actions #2

Updated by Yohann Lepage over 16 years ago

I use :
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
and
rails (2.2.2)

Actions #3

Updated by Markus Knittig over 16 years ago

AFAIK Redmine doesn't support Rails 2.2 yet...

Actions #4

Updated by Yohann Lepage over 16 years ago

  • Status changed from New to Resolved

I will read the FAQ better next time... "But Redmine 0.7.x releases are not. Please freeze your rails to 2.0.2 version"

Does Redmine 0.8 support Rails 2.2 ? (I can wait 4 days for this release.)

Actions #5

Updated by Karl Heinz Marbaise over 16 years ago

Hi Yohann

Does Redmine 0.8 support Rails 2.2 ? (I can wait 4 days for this release.)

As far as i know Rails 2.1 will be supported ?
EDIT: Seen this Rails 2.1.2 instead. Sorry.
Kind regards
Karl Heinz Marbaise

Actions #6

Updated by Jean-Philippe Lang over 16 years ago

  • Status changed from Resolved to Closed
  • Affected version (unused) deleted (0.7.3)
  • Resolution set to Invalid
  • Affected version deleted (0.7.3)

Redmine requirements can be found in the install guide.

Actions

Also available in: Atom PDF