Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#14060 closed defect (worksforme)

error: redefinition of group name u'it_changeset' as group 31; was group 24

Reported by: anonymous Owned by: Cinc-th
Priority: high Component: SimpleMultiProjectPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.4

Description

On trac url admin/timeline have error:

Python Traceback
Most recent call last:
File "venvp27/lib/python2.7/site-packages/trac/web/main.py", line 639, in dispatch_request          
  dispatcher.dispatch(req)
File "venvp27/lib/python2.7/site-packages/trac/web/main.py", line 271, in dispatch          
  method=method)
File "venvp27/lib/python2.7/site-packages/trac/web/chrome.py", line 1443, in render_template          
  fragment, iterable, method)
File "venvp27/lib/python2.7/site-packages/trac/web/chrome.py", line 1518, in _render_jinja_template          
  page = self.render_template_string(template, data, text)
File "venvp27/lib/python2.7/site-packages/trac/web/chrome.py", line 1677, in render_template_string          
  string = template.render(data)
File "venvp27/lib/python2.7/site-packages/jinja2/environment.py", line 1090, in render          
  self.environment.handle_exception()
File "venvp27/lib/python2.7/site-packages/jinja2/environment.py", line 832, in handle_exception          
  reraise(*rewrite_traceback_stack(source=source))
File "venvp27/lib/python2.7/site-packages/trac/timeline/templates/timeline.html", line 12, in top-level template code          
  # extends 'layout.html'
File "venvp27/lib/python2.7/site-packages/trac/templates/layout.html", line 12, in top-level template code          
  # import "macros.html" as jmacros with context
File "venvp27/lib/python2.7/site-packages/trac/templates/theme.html", line 22, in top-level template code          
  # block body
File "venvp27/lib/python2.7/site-packages/trac/templates/theme.html", line 130, in block "body"          
  # block content
File "venvp27/lib/python2.7/site-packages/trac/timeline/templates/timeline.html", line 94, in block "content"          
  #   set rendered = event.render('description', context)
File "venvp27/lib/python2.7/site-packages/simplemultiproject/timeline.py", line 89, in <lambda>          
  return lambda field, context: self._render_ticket_event(field, context, proj_name, old_render)
File "venvp27/lib/python2.7/site-packages/simplemultiproject/timeline.py", line 101, in _render_ticket_event          
  tags = old_render(field, context)  # Let the ticket subsystem render the default
File "venvp27/lib/python2.7/site-packages/trac/timeline/web_ui.py", line 373, in <lambda>          
  provider.render_timeline_event(context, field, event)
File "venvp27/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 425, in render_timeline_event          
  return descr + format_to(self.env, None, t_context, message)
File "venvp27/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1629, in format_to          
  return format_to_oneliner(env, context, wikidom, **options)
File "venvp27/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1645, in format_to_oneliner          
  return InlineHtmlFormatter(env, context, wikidom).generate(shorten)
File "venvp27/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1621, in generate          
  shorten)
File "venvp27/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1477, in format          
  result = re.sub(self.wikiparser.rules, self.replace, result)
File "venvp27/lib/python2.7/site-packages/trac/wiki/parser.py", line 178, in rules          
  self._prepare_rules()
File "venvp27/lib/python2.7/site-packages/trac/wiki/parser.py", line 207, in _prepare_rules          
  rules = re.compile('(?:' + '|'.join(syntax) + ')', re.UNICODE)
File "venvp27/lib/python2.7/re.py", line 194, in compile          
  return _compile(pattern, flags)
System Information
Package	Version
Trac	1.4.3
Babel	2.9.1
Genshi	0.7.5 (with speedups)
GIT	2.28.0
Jinja2	2.11.3
Pygments	2.5.2
pysqlite	2.6.0
Python	2.7.18 (default, Oct 29 2020, 17:28:54) [GCC FreeBSD Clang 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-
pytz	2021.1
setuptools	44.1.1
SQLite	3.33.0

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by Ryan J Ollos

Component: SELECT A HACKSimpleMultiProjectPlugin
Owner: set to Cinc-th
Resolution: worksforme
Status: newclosed

I think you have an old version of SimpleMultiProjectPlugin installed.

comment:2 Changed 3 years ago by anonymous

After upgrade this same, I restarted app, upgraded db, etc. no changes.

comment:3 Changed 3 years ago by anonymous

Anyway the log is fixed ##

How to Reproduce

While doing a GET operation on /timeline, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{u'ticket': u'on'}

User agent: #USER_AGENT#

System Information

Trac 1.4.3
Babel 2.9.1
Genshi 0.7.5 (with speedups)
GIT 2.28.0
Jinja2 2.11.3
Pygments 2.5.2
pysqlite 2.6.0
Python 2.7.18 (default, Oct 29 2020, 17:28:54)
[GCC FreeBSD Clang 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-
pytz 2021.1
setuptools 44.1.1
SQLite 3.33.0
jQuery #JQUERY#
jQuery UI #JQUERYUI#
jQuery Timepicker #JQUERYTP#

Enabled Plugins

BasicThemeEditorPlugin 0.1
trac-github 2.3
TracFullBlog 0.2.0
TracIniAdminPanel 1.4.1
TracMenus 0.3.0
TracMigratePlugin 0.12.0.5
TracSimpleMultiProject 0.7.4
TracTags 0.12.1
TracThemeEngine 2.3.0
TracVote 0.7.0

Interface Customization

Python Traceback

Traceback (most recent call last):
  File "venvp27/lib/python2.7/site-packages/trac/web/main.py", line 639, in dispatch_request
    dispatcher.dispatch(req)
  File "venvp27/lib/python2.7/site-packages/trac/web/main.py", line 271, in dispatch
    method=method)
  File "venvp27/lib/python2.7/site-packages/trac/web/chrome.py", line 1443, in render_template
    fragment, iterable, method)
  File "venvp27/lib/python2.7/site-packages/trac/web/chrome.py", line 1518, in _render_jinja_template
    page = self.render_template_string(template, data, text)
  File "venvp27/lib/python2.7/site-packages/trac/web/chrome.py", line 1677, in render_template_string
    string = template.render(data)
  File "venvp27/lib/python2.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "venvp27/lib/python2.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "venvp27/lib/python2.7/site-packages/trac/timeline/templates/timeline.html", line 12, in top-level template code
    # extends 'layout.html'
  File "venvp27/lib/python2.7/site-packages/trac/templates/layout.html", line 12, in top-level template code
    # import "macros.html" as jmacros with context
  File "venvp27/lib/python2.7/site-packages/trac/templates/theme.html", line 22, in top-level template code
    # block body
  File "venvp27/lib/python2.7/site-packages/trac/templates/theme.html", line 130, in block "body"
    # block content
  File "venvp27/lib/python2.7/site-packages/trac/timeline/templates/timeline.html", line 94, in block "content"
    #   set rendered = event.render('description', context)
  File "venvp27/lib/python2.7/site-packages/trac/timeline/web_ui.py", line 373, in <lambda>
    provider.render_timeline_event(context, field, event)
  File "venvp27/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 425, in render_timeline_event
    return descr + format_to(self.env, None, t_context, message)
  File "venvp27/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1629, in format_to
    return format_to_oneliner(env, context, wikidom, **options)
  File "venvp27/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1645, in format_to_oneliner
    return InlineHtmlFormatter(env, context, wikidom).generate(shorten)
  File "venvp27/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1621, in generate
    shorten)
  File "venvp27/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1477, in format
    result = re.sub(self.wikiparser.rules, self.replace, result)
  File "venvp27/lib/python2.7/site-packages/trac/wiki/parser.py", line 178, in rules
    self._prepare_rules()
  File "venvp27/lib/python2.7/site-packages/trac/wiki/parser.py", line 207, in _prepare_rules
    rules = re.compile('(?:' + '|'.join(syntax) + ')', re.UNICODE)
  File "venvp27/lib/python2.7/re.py", line 194, in compile
    return _compile(pattern, flags)
  File "venvp27/lib/python2.7/re.py", line 251, in _compile
    raise error, v # invalid expression
error: redefinition of group name u'it_changeset' as group 31; was group 24

comment:4 Changed 3 years ago by Ryan J Ollos

Please ask on the trac:MailingList.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Cinc-th.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.