Modify ↓
#12778 closed defect (fixed)
AttributeError: 'NoneType' object has no attribute 'read'
| Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Component: | IncludeMacro |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: |
Description
[[Include(source:)]] leads to an error:
2016-05-16 16:57:47,817 Trac[formatter] ERROR: Macro Include(source:) failed:
Traceback (most recent call last):
File "/usr/local/virtualenv/1.0-stable/lib/python2.7/site-packages/trac/wiki/formatter.py", line 793, in _macro_formatter
return macro.ensure_inline(macro.process(args))
File "/usr/local/virtualenv/1.0-stable/lib/python2.7/site-packages/trac/wiki/formatter.py", line 362, in process
text = self.processor(text)
File "/usr/local/virtualenv/1.0-stable/lib/python2.7/site-packages/trac/wiki/formatter.py", line 349, in _macro_processor
text)
File "/usr/local/virtualenv/1.0-stable/lib/python2.7/site-packages/includemacro/macros.py", line 121, in expand_macro
dest_format)
File "/usr/local/virtualenv/1.0-stable/lib/python2.7/site-packages/includemacro/macros.py", line 196, in _get_source
out = node.get_content().read()
AttributeError: 'NoneType' object has no attribute 'read'
Attachments (0)
Note: See
TracTickets for help on using
tickets.



In 15552: