[darcs-users] darcs-server
james
james at jamesdsadler.com
Tue Feb 27 09:03:02 UTC 2007
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
> james at jamesdsadler.com
--
James Sadler
james at jamesdsadler.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20070227/c32a2fbd/attachment.pgp
More information about the darcs-users
mailing list