Error when viewing Repository

Added by daniel aurel over 9 years ago

Hi
Redmine is really great.

Last night I tried to install the 0.7.0-RC1 release. Unfortunately I always had strange activerecord errors when running with mongrel. So I went with 0.6.4.

The behavior of this bug is a bit strange, but here is what I do:

1. login as admin and go to Project-> Settings -> Repository
2. enter the URL to my repository: http://mydomain.com/svn/myrepo (this repository is public available)
3. now the textfield for the URL has a red star an nothing seems to change that
4. I have to click on some project-tabs and then the Repository tab appears
5. I can click on the Repository tab and can browse to the sources
6. I logout and login again and try step-nr 5. again, but I get a 500 error-page again

here is an exerpt from the production.log, I guess the interesting message is :

"ArgumentError (comparison of String with 2 failed):
/users/home/<my username>/domains/<mydomain.com>/web/app/models/repository/subversion.rb:45:in `<'"

here's the whole log:
--------------------

Processing RepositoriesController#show (for 80.219.229.139 at 2008-04-24 08:32:49) [GET]
Session ID: d30315e2f258287b0ecd91650f4cb0ff
Parameters: {"action"=>"show", "id"=>"2", "controller"=>"repositories"}

ArgumentError (comparison of String with 2 failed):
/users/home/<my username>/domains/<mydomain.com>/web/app/models/repository/subversion.rb:45:in `<'
/users/home/<my username>/domains/<mydomain.com>/web/app/models/repository/subversion.rb:45:in `fetch_changesets'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:123:in `send'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:123:in `method_missing'
/users/home/<my username>/domains/<mydomain.com>/web/app/controllers/repositories_controller.rb:52:in `show'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/actionpack/lib/action_controller/base.rb:1101:in `send'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/actionpack/lib/action_controller/base.rb:1101:in `perform_action_without_filters'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/actionpack/lib/action_controller/filters.rb:696:in `call_filters'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/actionpack/lib/action_controller/filters.rb:688:in `perform_action_without_benchmark'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/actionpack/lib/action_controller/base.rb:435:in `send'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/actionpack/lib/action_controller/base.rb:435:in `process_without_filters'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/actionpack/lib/action_controller/filters.rb:684:in `process_without_session_management_support'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/actionpack/lib/action_controller/base.rb:334:in `process'
/users/home/<my username>/domains/<mydomain.com>/web/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:159:in `process_client'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:158:in `each'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:158:in `process_client'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `initialize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `new'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:268:in `initialize'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:268:in `new'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:268:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:282:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:281:in `each'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:281:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:133:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/command.rb:212:in `run'
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:286
/usr/local/bin/mongrel_rails:19:in `load'
/usr/local/bin/mongrel_rails:19