Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#9689 closed defect (duplicate)

'NoneType' object has no attribute 'get_node'

Reported by: itckoenig@… Owned by: coderanger
Priority: high Component: IncludeMacro
Severity: blocker Keywords:
Cc: Trac Release: 0.12


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 4 years ago by rjollos

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 4 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 4 years ago by rjollos

  • Resolution set to duplicate
  • Status changed from new to closed

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

comment:4 Changed 4 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 4 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 4 years ago by rjollos

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.

Add Comment

Modify Ticket

as closed The owner will remain coderanger.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.