#2829: PageOutline macro breaks on pages using the graphviz plugin
--------------------------------------+-------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: wiki | Version: 0.9.4
Severity: normal | Resolution:
Keywords: |
--------------------------------------+-------------------------------------
Comment (by rcastellucci):
{{{
16:18:59 Trac[formatter] DEBUG: Executing Wiki macro PageOutline by
provider <trac.wiki.macros.PageOutlin
eMacro object at 0x4113acac>
16:18:59 Trac[formatter] DEBUG: Executing Wiki macro graphviz by provider
<graphviz.graphviz.GraphvizMacr
o object at 0x4113abac>
16:18:59 Trac[graphviz] DEBUG: dir(req): ['__class__', '__delattr__',
'__doc__', '__getattribute__', '__h
ash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__',
'__setattr__', '__str__']
16:18:59 Trac[formatter] ERROR: Macro PageOutline(None) failed
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line
369, in _macro_formatter
return macro.process(self.req, args, 1)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line
108, in process
text = self.processor(req, text)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 98,
in _macro_processor
return macro_provider.render_macro(req, self.name, text)
File "/usr/lib/python2.3/site-packages/trac/wiki/macros.py", line 189,
in render_macro
max_depth=max_depth, min_depth=min_depth))
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line
756, in wiki_to_outline
min_depth)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line
711, in format
Formatter.format(self, text, NullOut())
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line
576, in format
self.handle_code_block(line)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line
546, in handle_code_block
self.out.write(self.code_processor.process(self.req, self.code_text))
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line
108, in process
text = self.processor(req, text)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 98,
in _macro_processor
return macro_provider.render_macro(req, self.name, text)
File "build/bdist.linux-i686/egg/graphviz/graphviz.py", line 91, in
render_macro
AttributeError: 'NoneType' object has no attribute 'args'
}}}
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2829>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets