Modify

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#9689 closed defect (duplicate)

'NoneType' object has no attribute 'get_node'

Reported by: itckoenig@… 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 6 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
Status: newclosed

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

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.