On Thu, Dec 3, 2009 at 12:47 PM, Olemis Lang <[email protected]> wrote:
> On Thu, Dec 3, 2009 at 12:20 PM, Maxim Khitrov <[email protected]> wrote:
>> Hello all,
>>
>
> :)
>
>>
>> The updates went ok and all of my trac sites are loading fine.
>> However, the header and footer are completely missing.
>
> Can you confirm that templates are ok ? Specially
> /path/to/trac/templates/theme.html
> Permissions are ok ?
>
> --
> Regards,
>
> Olemis.

The permissions are fine. I think I narrowed this problem down to a
change in the way genshi is being installed, but I'm still not certain
if it's a Trac or FreeBSD problem.

If you look at [1] revision 1.9, you'll see that the maintainer added
-Z to distutils flags, meaning that genshi egg is extracted instead of
being left as a zip. Removing that flag and reinstalling genshi seems
to fix the problem for me. Furthermore, PYTHON_EGG_CACHE directory is
again used to store _speedups.so file.

This change was made 15 months ago in response to someone having
trac-related problems, but I haven't reinstalled genshi in all that
time. Things continued to work until today when I removed it prior to
installing python 2.6.4.

So the new question is why do the header and footer stop working when
the Genshi egg is extracted? It's not a permission issue; I set all
genshi files to 0777 and that didn't help. If it's some configuration
issue, I would appreciate help from anyone who is more familiar with
how eggs work in compressed and uncompressed forms.

- Max

[1] http://www.freebsd.org/cgi/cvsweb.cgi/ports/textproc/py-genshi/Makefile

--

You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.


Reply via email to