Hi,

Thanks for that, Trac has no successfully compiled.  However, when using
my restored Trac, I am getting the following error:

Oops...

Trac detected an internal error:

ParseError: [/var/trac/cmctrac_general/templates/wiki.cs:130] Undefined
macro called: diff_display(change, diff.style) 
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line
130, in run
    dispatch_request(req.path_info, req, env)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in
dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 113, in
dispatch
    req.display(template, content_type or 'text/html')
  File "/usr/lib/python2.3/site-packages/trac/web/api.py", line 148, in
display
    data = self.hdf.render(template)
  File "/usr/lib/python2.3/site-packages/trac/web/clearsilver.py", line
276, in render
    template.parseFile(filename)
ParseError: ParseError:
[/var/trac/cmctrac_general/templates/wiki.cs:130] Undefined macro
called: diff_display(change, diff.style) 

Has anybody any ideas what this is / how to fix?

Many thanks
Seb 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Good
Sent: 17 May 2006 17:10
To: [email protected]
Subject: Re: [Trac] Problems when restoring Trac

On Wed, 2006-05-17 at 16:39 +0100, Seb Hardman wrote:
> Hi,
> 
> I had Trac 0.9.x installed on Mac OSX and the server has broken down.

> I have a backup from this server and am trying to put this onto a 
> Debian Sarge server.  I have subversion successfully restored, and am 
> now trying to install trac.
> 
> Firstly I used dselect to install Trac - this worked, however when I 
> tried to use my backup copy, it gave me a python error saying Trac 
> version unknown (Trac from dselect was 0.8.x).  So I assumed I needed 
> Trac 0.9.x.
> 
> I have now used dselect to install all the requierd packages and am 
> building Trac from source (0.9.5).  However, when I run: python 
> ./setup.py install
> 
> I get: error: invalid Python installation: unable to open 
> /usr/lib/python2.3/config/Makefile (No such file or directory)

apt-get install python2.3-dev

--
Matthew Good <[EMAIL PROTECTED]>

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. For more information on a proactive anti-virus
service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to