On Sun, Feb 25, 2007 at 04:33:51PM +1100, james wrote:
 
 Hi All,
 
 I am  trying to get  darcs-server up and running  on an Ubuntu  Edgy box
 with Apache2,  but I am having  problems accessing the repo.  Looking at
 Apaches' error log I see the following whenever I try to access the repo
 URL through my browser:
 
 XPath error : Undefined variable
 compilation error: file /usr/share/darcs/xslt/errors.xslt line 19 element 
template
 Failed to compile predicate
 
 The error seems to be coming from xsltproc (the XSLT processor that the
 darcs.cgi script uses to format its output).
 
 Has anybody experienced this problem before?  Google searches have
 turned up nothing.
 
 The URL that I am using on my local box is: 
 http://localhost/cgi-bin/darcs.cgi/repos/d2-java
 
 For what it's worth, here is my /etc/darcs/cgi.conf  :
 
 # This is an example for cgi.conf
 
 # reposdir is the directory containing the repositories
 
 reposdir = /var/www/repos
 
 # cachedir is a directory writable by www-data (or whatever user your cgi
 # scripts run as) which is used to cache the web pages.
 
 cachedir = /var/cache/darcs
 
 # The following are used by darcs.cgi (not darcs_cgi)
 PATH = /bin:/usr/bin:/usr/local/bin
 
 # paths to executables, or just the executables if they are in 'PATH'
 darcs = darcs
 xsltproc = xsltproc
 
 # Path to XSLT templates (default is /usr/local/share/darcs/xslt)
 xslt_dir = /usr/share/darcs/xslt
 
 # HTTP request path of the style sheet, the default will magically read 
 # /etc/darcs/styles.css
 #stylesheet = /cgi-bin/darcs.cgi/styles.css
 
 css_styles  = /etc/darcs/styles.css
 
 # encoding to include in XML declaration.  Set this to the encoding used
 # by the files in your repositories.
 
 xml_encoding = UTF-8
 
 
 
 Thanks for your time.
 
 James.
 
 
 
 -- 
> James Sadler
> [EMAIL PROTECTED]



-- 
James Sadler
[EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to