I've migrated a Trac + Mercurial install from one server to another by
copying my project directory and installing the same version of Trac,
Mercurial and the TracMercurial plugin. Everything seems to work fine
except when I try to view the "Revision log" I get the error below.

----------------------------------------------------------------------------------------------
Trac detected an internal error:
AttributeError: 'module' object has no attribute 'match'

Oops…
Trac detected an internal error:
AttributeError: 'module' object has no attribute 'match'
This is probably a local installation issue.

Note that the TracMercurial plugin seems to be involved. Please report
this issue to the plugin maintainer.
.. snip
Python traceback

Most recent call last:
File "build/bdist.freebsd-9.0-RC1-amd64/egg/trac/web/main.py", line
511, in _dispatch_request
  dispatcher.dispatch(req)
File "build/bdist.freebsd-9.0-RC1-amd64/egg/trac/web/main.py", line
237, in dispatch
  resp = chosen_handler.process_request(req)
File "build/bdist.freebsd-9.0-RC1-amd64/egg/trac/versioncontrol/web_ui/
log.py", line 164, in process_request
  for old_path, old_rev, old_chg in history():
File "build/bdist.freebsd-9.0-RC1-amd64/egg/trac/versioncontrol/web_ui/
log.py", line 155, in history
  for h in node.get_history():
File "build/bdist.freebsd-9.0-RC1-amd64/egg/tracext/hg/backend.py",
line 814, in _get_history_1_4
  matcher = cmdutil.match(repo, pats, opts)

System information:

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/
534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22

Trac    0.12.2
Babel   0.9.6
Docutils        0.8.1
Genshi  0.6
Mercurial       1.9.3
mod_wsgi        3.3 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
psycopg2        2.4.2
Pygments        1.4
Python  2.7.2 (default, Nov 3 2011, 05:47:29) [GCC 4.2.2 20070831
prerelease [FreeBSD]]
pytz    2011k
setuptools      0.6c11
SilverCity      0.9.7
Subversion      1.7.1 (r1186859)
jQuery  1.4.2
Enabled plugins:

TracMercurial   0.12.0.23dev    /usr/local/lib/python2.7/site-packages/
TracMercurial-0.12.0.23dev-py2.7.egg
----------------------------------------------------------------------------------------------

Any ideas what the problem could be?

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to