Opened 9 years ago

Closed 5 years ago

segfault on trac 0.11.1 with Include(source: ...

Reported by: Owned by: anonymous Ryan J Ollos normal IncludeMacro normal needinfo 0.11

Description

When I try to include a source text file, then my tracd, serving my local trac on WindowsXP, dies with a segfault.

e.g.

[[Include(source:trunk/epydoc.bat.txt, text/x-rst)]]


including regular Wiki pages is ok, with or without mime type.

all these issue reports on problems with trac 0.11 are pretty confusing. I don't know what the solution is and I don't want to spend a lot of time figuring it out.

Josef

comment:1 Changed 9 years ago by Noah Kantrowitz

Does the source browser work?

comment:2 Changed 9 years ago by anonymous

source browser and IncludeSource.py macro that I kept from Trac 0.10 work without problems

[[IncludeSource(trunk/epydoc.bat.txt, text/x-rst)]]


additional info: I'm using authentication as described in the standalone trac description, and run trac with

python25 C:\Programs\Python25\Scripts\tracd-script.py --port 8000 --auth="*,digest.txt,trac" my-project"

Authentication could be the problem, since I require login to see the source, and the IncludeSource Macro ignores and violates the source view restriction. However, when I tried to use the TracInclude Macro/Plugin, I was logged in as admin with all rights.

I can try later today, if the TracInclude Macro/Plugin works if there is no permission restriction on source view.

comment:3 Changed 9 years ago by anonymous

Giving fileview and browserview permissions to anonymous does not change the segfault. I get the segfault each time I try to preview or save a wiki page with Include(source:..., whether I am logged in as trac_admin or not logged in at all.

comment:4 Changed 6 years ago by Ryan J Ollos

Owner: changed from Noah Kantrowitz to Ryan J Ollos new → assigned

comment:5 Changed 5 years ago by Ryan J Ollos

Resolution: → worksforme assigned → closed

I think this issue is most likely resolve with the latest 0.11 branch. Please reopen if you can reproduce with the latest revision of the trunk.

Modify Ticket

Change Properties