Error loading stylesheet: Parsing an XSLT stylesheet failed.

262 views
Skip to first unread message

Aline Freitas

unread,
Nov 15, 2009, 11:07:19 PM11/15/09
to repos...@googlegroups.com
I have a multi repo environment in a FreeBSD jail with:

Location "/" and SVNParentPath set, so my url are like:
http://svn.mydomain.suffix/myrepo


<Location "/">
DAV svn
SVNParentPath /var/devel/svn-repositories/repos
SVNListParentPath on
SVNIndexXSLT "/repos-web/view/repos.xsl"
AuthType Basic
AuthName "Subversion repository"
AuthBasicProvider ldap
AuthzLDAPAuthoritative On
AuthLDAPURL "ldap://mydomain.suffix/dc=domain,dc=suffix?uid?sub?(objectClass=*)"
AuthLDAPBindDN "uid=bindsvn,dc=domain,dc=suffix"
AuthLDAPBindPassword "secret"
Require valid-user
AuthzSVNAccessFile
/var/devel/svn-repositories/config/authz
</Location>

I've put repos-web under /var/devel/svn-repositories/repos

My index.php

// URL or path to repository, no trailing slash
// (note that the log viewer may bypass access control)
$repo = 'file:///var/devel/svn-repositories/repos';
// For SVNParentPath set $repo to parent and this to true
$isParent = true;

But I get:

Error loading stylesheet: Parsing an XSLT stylesheet failed.

My http-error.log says when I try to reach any repository:

[Mon Nov 16 03:37:57 2009] [error] [client xxx.xxx.xxx.xxx]
(20014)Internal error: Can't open file
'/var/devel/svn-repositories/repos/repos-web/format': No such file or
directory, referer: http://svn.patota.mine.nu:6380/unimed_inst/
[Mon Nov 16 03:37:57 2009] [error] [client xxx.xxx.xxx.xxx] Could not
fetch resource information. [500, #0], referer:
http://svn.patota.mine.nu:6380/unimed_inst/
[Mon Nov 16 03:37:57 2009] [error] [client xxx.xxx.xxx.xxx] Could not open
the requested SVN filesystem [500, #2], referer:
http://svn.patota.mine.nu:6380/unimed_inst/
[Mon Nov 16 03:37:57 2009] [error] [client xxx.xxx.xxx.xxx] Could not open
the requested SVN filesystem [500, #2], referer:
http://svn.patota.mine.nu:6380/unimed_inst/

So, Am I missing something or being somehow stupid?

Thanks,
Aline

Scott G

unread,
Nov 15, 2009, 11:12:47 PM11/15/09
to ReposStyle
Does /var/devel/svn-repositories/repos/repos-web/format exist ?

Does the jail have access to /var ? If not you have to fix that.

Scott
>  application_pgp-signature_part
> < 1KViewDownload

Aline Freitas

unread,
Nov 15, 2009, 11:49:01 PM11/15/09
to repos...@googlegroups.com
* Scott G <sgra...@gmail.com> [2009-11-15 20:12:47 -0800]:

Hi Scott,
>
>Does /var/devel/svn-repositories/repos/repos-web/format exist ?
>
repos-web is directory which contains repostyle. I supose "format" should
exist in a repository. Does this means that my system is treating
repos-web as a repository? Or format should really exist in repos-web?

>Does the jail have access to /var ? If not you have to fix that.

Yes, /var is inside jail

Thank you!

Aline

>--~--~---------~--~----~------------~-------~--~----~
>You received this message because you are subscribed to the Google Groups "ReposStyle" group.
>To post to this group, send email to repos...@googlegroups.com
>To unsubscribe from this group, send email to reposstyle+...@googlegroups.com
>For more options, visit this group at http://groups.google.com/group/reposstyle?hl=en
>-~----------~----~----~----~------~----~------~--~---

--
--

Aline Freitas
www.gringo.nu
al...@gringo.nu
R. Viradouro 63 - conj142
04538-110 Sao Paulo, SP, Brazil
+55 11 33715209 / +55 11 72088328
Gringo - more action, less talk

Aten�ão: As informa�ões existentes nessa mensagem (incluindo arquivos anexados) são confidenciais e para uso restrito, sendo seu sigilo protegido por lei. Caso não seja destinatário, saiba que leitura, reten�ão, impressão, uso, divulga�ão ou cópia são proibidos. Favor apagar as informa�ões e notificar o remetente. O uso impróprio será tratado conforme as normas da empresa e a legisla�ão em vigor.

Attention: The information existing in this message (including any attachments) is confidential and for restricted use, its confidentiality being protected by law. In case you are not the intended addressee, please be aware that its reading, retention, impression, use, publishing or copying are prohibited. Please delete the information and notify the sender. The improper use will be treated according to the company's rules and the laws in force

Staffan

unread,
Nov 16, 2009, 2:26:55 AM11/16/09
to repos...@googlegroups.com
Hi Aline,

On Mon, Nov 16, 2009 at 5:49 AM, Aline Freitas <al...@gringo.nu> wrote:
> * Scott G <sgra...@gmail.com> [2009-11-15 20:12:47 -0800]:
>
> Hi Scott,
>>
>> Does /var/devel/svn-repositories/repos/repos-web/format exist ?
>>
> repos-web is directory which contains repostyle. I supose "format" should
> exist in a repository. Does this means that my system is treating
> repos-web as a repository? Or format should really exist in repos-web?
>

Repos Style should produce a better error message than "Error loading
stylesheet: Parsing an XSLT stylesheet failed.". It is the result of
an svn error message that ends up in the log xml, which makes it
invalid xml.

> Does this means that my system is treating
> repos-web as a repository?

Yes,

> Or format should really exist in repos-web?

No.

> I've put repos-web under /var/devel/svn-repositories/repos

It should be put under your apache host's document root. I'm not sure
it this can cause the issue you report.

/Staffan
Reply all
Reply to author
Forward
0 new messages