Opened 12 years ago

Last modified 12 years ago

#10429 closed defect

Error of Macro UserProfilesList — at Version 1

Reported by: gmk@… Owned by: Catalin BALAN
Priority: normal Component: UserManagerPlugin
Severity: major Keywords:
Cc: Trac Release: 1.0

Description (last modified by Ryan J Ollos)

This error raises with english language. With german (tryed also with some other) the macro works well.

Trac[formatter] ERROR: Macro UserProfilesList(public_active=Yes) failed:
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/wiki/formatter.py", line 765, in _macro_formatter
    return macro.ensure_inline(macro.process(args))
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/wiki/formatter.py", line 356, in process
    text = self.processor(text)
  File "/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/wiki/formatter.py", line 343, in _macro_processor
    text)
  File "/usr/local/lib/python2.6/dist-packages/TracUserManagerPlugin-0.4-py2.6.egg/tracusermanager/profile/macros.py", line 89, in expand_macro
    data['cells'] = list(self._get_cells(req, data['user_profiles']))
  File "/usr/local/lib/python2.6/dist-packages/TracUserManagerPlugin-0.4-py2.6.egg/tracusermanager/profile/macros.py", line 112, in _get_cells
    cell = Chrome.format_author(req, cell)
TypeError: unbound method format_author() must be called with Chrome instance as first argument (got RequestWithSession instance instead)

Change History (1)

comment:1 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.