Modify ↓
#577 closed defect (fixed)
Example causes error in new installations
| Reported by: | Owned by: | Alec Thomas | |
|---|---|---|---|
| Priority: | normal | Component: | PollMacro |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.9 |
Description
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 19 years ago by
comment:2 Changed 19 years ago by
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/formatter.py", line 370, in _
macro_formatter
return macro.process(self.req, args, 1)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 109, in p
rocess
text = self.processor(req, text)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 99, in _m
acro_processor
return macro_provider.render_macro(req, self.name, text)
File "build/bdist.linux-i686/egg/tracpoll/tracpoll.py", line 140, in render_ma
cro
File "build/bdist.linux-i686/egg/tracpoll/tracpoll.py", line 183, in render_po
ll
File "build/bdist.linux-i686/egg/tracpoll/tracpoll.py", line 18, in __init__
File "build/bdist.linux-i686/egg/tracpoll/tracpoll.py", line 29, in load
AttributeError: keys
comment:3 Changed 19 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.



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