reposman.rb: wrong constant name 0

Added by Jan R. about 9 years ago

Since yesterday everytime I try to run reposman.rb I get the following error (redmine-version 1.0.0):

Command:
ruby /var/www/railsapp/extra/svn/reposman.rb --redmine localhost --svn-dir /srv/repos/svn --owner www-data --url file:///srv/repos/svn/

Output:
Unable to connect to http://localhost/sys/: wrong constant name 0

Reposman.rb used to work in the past, but now I can't get it to run again. I can't imagine what changed. Any ideas where to start research?

Replies (3)

RE: reposman.rb: wrong constant name 0 - Added by Holger Just about 9 years ago

Can you please tell us more about your environment?

  • Database and Version
  • Operations System / Distribution
  • and most importantly, the output of
    RAILS_ENV=production script/about

I just found that my redmine_checkout plugin seems to currently break ActiveResource which is used by reposman.rb. I'm going to further investigate this.

--Holger

RE: reposman.rb: wrong constant name 0 - Added by Holger Just about 9 years ago

If it really was the checkout plugin then please update to the current trunk. It fixes the issue for me. Be aware that there is a new migration.

--Holger

RE: reposman.rb: wrong constant name 0 - Added by Jan R. about 9 years ago

Updating the checkout plugin + migrate_plugins really solved the issue for me.

Thank you very very much for your help.

(1-3/3)