Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#577 closed defect (fixed)

Example causes error in new installations

Reported by: rock@… Owned by: Alec Thomas
Priority: normal Component: PollMacro
Severity: normal Keywords:
Cc: Trac Release: 0.9


The example macro causes an error in new installations. The error message is reproduced below.

Error: Macro Poll(Which of these do you prefer?; #1; #2; #3; query:component-Request-a-Hack&status!=closed; Cheese dip) failed

Ticket 1 does not exist.

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by rock@…

Replacing #1 with '#1`, etc. produces this error:

Query filter requires field and constraints separated by a "="

comment:2 Changed 11 years ago by rock@…

removing the query option produced this traceback:

09:57:33 Trac[formatter] ERROR: Macro Poll(Which of these do you prefer?; !#1; !
#2; !#3; Cheese dip) failed
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/wiki/", line 370, in _
    return macro.process(self.req, args, 1)
  File "/usr/lib/python2.3/site-packages/trac/wiki/", line 109, in p
    text = self.processor(req, text)
  File "/usr/lib/python2.3/site-packages/trac/wiki/", line 99, in _m
    return macro_provider.render_macro(req,, text)
  File "build/bdist.linux-i686/egg/tracpoll/", line 140, in render_ma
  File "build/bdist.linux-i686/egg/tracpoll/", line 183, in render_po
  File "build/bdist.linux-i686/egg/tracpoll/", line 18, in __init__
  File "build/bdist.linux-i686/egg/tracpoll/", line 29, in load
AttributeError: keys

comment:3 Changed 11 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

(In [1156]) Skip invalid tickets. Closes #577.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Alec Thomas.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.