#9689 closed defect (duplicate)
'NoneType' object has no attribute 'get_node'
Reported by: | Owned by: | Noah Kantrowitz | |
---|---|---|---|
Priority: | high | Component: | IncludeMacro |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
When including from source, the following error occurs.
Error: Macro Include(source:trunk/60_implementation/prototype_customer/public/changes.txt, text/x-rst) failed 'NoneType' object has no attribute 'get_node'
This is the used code
[[Include(source:trunk/60_implementation/prototype_customer/public/changes.txt, text/x-rst)]]
I am 100% sure, that the file exists. A link to the same path works fine. I already tried setting the svn mime type. Inclusion from a http://address works fine, too.
Attachments (0)
Change History (6)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
With Trac 0.12.3rc1 on a debian squeeze I got the problem with including source: too. I tried the suggested patches but it's not working. All other ressources like http or https work fine in include plugin.
comment:3 Changed 13 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Multirepository and 0.12 support in general will be added in #4162.
comment:4 Changed 13 years ago by
comment:5 Changed 13 years ago by
OK. With some trickery it can actually be made to work for the time being. If there is nothing else speaking against the integration of the proposed fixes for this, I would encourage a quick resolution.
comment:6 Changed 13 years ago by
This plugin is currently unmaintained, but I intend to take over maintenance. I won't have significant time to spend on fixing it up for several months, but I can probably find time to push the patch in #4162 later today.
It's probably an issue with the multi-repository feature of 0.12. There are some open tickets that have patches for 0.12 that you might want to take a look at.