Modify

Opened 4 years ago

Closed 4 years ago

#7599 closed defect (fixed)

UndefinedError: "authorinfo" not defined

Reported by: didley@… Owned by: CuriousCurmudgeon
Priority: normal Component: WhiteboardPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hello,

I'm using Trac 11.7 and get this error when I group by owner or reporter.

 File "D:\PYTHON_EGG_CACHE\whiteboard-0.1.0_trac0.11-py2.5.egg-tmp\whiteboard\templates\whiteboard.html", line 22,
in <Expression u"query.group in ['owner', 'reporter'] and authorinfo(groupname) or groupname">
    ${query.group in ['owner', 'reporter'] and authorinfo(groupname) or groupname}
  File "build\bdist.win32\egg\genshi\template\eval.py", line 279, in _die
    raise UndefinedError(self._name, self._owner)
UndefinedError: "authorinfo" not defined

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by CuriousCurmudgeon

  • Status changed from new to assigned

It looks like authorinfo is only in Trac 0.12. I will have to remove it from the 0.11 version.

comment:2 Changed 4 years ago by CuriousCurmudgeon

(In [8567]) refs #7599

  • authorinfo() does not exist in Trac 0.11. It was added in 0.12.

comment:3 Changed 4 years ago by CuriousCurmudgeon

  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.