Project

General

Profile

Mercurial repository 404 error

Added by Михаил Кисленко over 6 years ago

Hello! Mercurial repository is working fine.
But when I try to view repository in redmine it show 404 error.
In error.log I see:
App 16190 stderr: *** failed to import extension redminehelper from /usr/share/redmine/lib/redmine/scm/adapters/mercurial/redminehelper.py: missing attributes: norepo, optionalrepo, inferrepo
App 16190 stderr: *** (use @command decorator to register 'rhmanifest')
App 16190 stderr: hg: unknown command 'rhsummary'
App 16190 stderr: (did you mean summary?)
App 16190 stderr: *** failed to import extension redminehelper from /usr/share/redmine/lib/redmine/scm/adapters/mercurial/redminehelper.py: missing attributes: norepo, optionalrepo, inferrepo
App 16190 stderr: *** (use @command decorator to register 'rhmanifest')
App 16190 stderr: hg: unknown command 'rhmanifest'
App 16190 stderr: (did you mean manifest?)

OS:
Ubuntu server 17.10 x64
Environment:
  Redmine version                3.3.1.stable
  Ruby version                   2.3.3-p222 (2016-11-21) [x86_64-linux-gnu]
  Rails version                  4.2.9
  Environment                    production
  Database adapter               Mysql2
SCM:
  Mercurial                      4.3.1
  Filesystem                     
Redmine plugins:
  redmine_scm                    0.5.0b

Replies (2)

RE: Mercurial repository 404 error - Added by Toshi MARUYAMA over 6 years ago

Fixed by #24999 (ver. 3.3.3).

Why do you use Rails 4.2.9?
Redmine 3.3.1 uses Rails 4.2.7.1.
source:tags/3.3.1/Gemfile#L7

    (1-2/2)