Opened 5 years ago

Closed 5 years ago

'NoneType' object has no attribute 'get_node'

Reported by: Owned by: itckoenig@… Noah Kantrowitz high IncludeMacro blocker 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.

comment:1 Changed 5 years ago by Ryan J Ollos

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.

comment:2 Changed 5 years ago by tobster@…

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 5 years ago by Ryan J Ollos

Resolution: → duplicate new → closed

Multirepository and 0.12 support in general will be added in #4162.

comment:4 Changed 5 years ago by audioninja@…

Well? Any updates on this? If this will be added in #4162, how is it going to work when there has been no activity on #4162 for the past 6 months? As far as I can tell, the patches there are pretty much useless with the current state of affairs.

comment:5 Changed 5 years ago by anonymous

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 5 years ago by Ryan J Ollos

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.

Modify Ticket

Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.