Hi all,
I'm trying to setup xdv for plone 3.3 following the intructions at:
http://plone.org/documentation/manual/theming/referencemanual-all-pages

All went well until I try to activate xdv.
If I give to the theme and rule files the full pathname it works.

If I give the buildout relative path it gives an error

If I use apache to serve the static files it gives an error.

What can I do?

Thanks
   Mirto

In detail (paths relative to my installation):

Full path (works):
/usr/local/Plone33/zeocluster/themes/theme.html
/usr/local/Plone33/zeocluster/themes/rules.xml

Relative path (error):
themes/theme.html
themes/rulesbase.xml

The event.log says:
______________________________________________________________________________________________
------
2009-09-03T13:25:57 ERROR collective.xdv Unexpected error whilst trying to apply xdv transform
Traceback (most recent call last):
File "/usr/local/Plone33/buildout-cache/eggs/collective.xdv-1.0rc3-py2.4.egg/collective/xdv/transform.py", line 163, in apply_transform compiled_theme = compile_theme(theme, rules, boilerplate, absolute_prefix) File "/usr/local/Plone33/buildout-cache/eggs/collective.xdv-1.0rc3-py2.4.egg/collective/xdv/utils.py", line 32, in compile_theme return xdvcompiler.compile_theme(compiler, theme, rules, boilerplate, absolute_prefix) File "/usr/local/Plone33/buildout-cache/eggs/dv.xdvserver-1.0b4-py2.4.egg/dv/xdvserver/xdvcompiler.py", line 32, in compile_theme
   theme = open(theme)
IOError: [Errno 2] No such file or directory: u'themes/theme.html'
______________________________________________________________________________________________


URL path (poining the browser to the URL shows correctly the html page):
http://msb02.msb.net/themes/theme.html
http://msb02.msb.net/themes/theme.html

The event.log says:
______________________________________________________________________________________________
------
2009-09-03T13:20:54 ERROR collective.xdv Unexpected error whilst trying to apply xdv transform
Traceback (most recent call last):
File "/usr/local/Plone33/buildout-cache/eggs/collective.xdv-1.0rc3-py2.4.egg/collective/xdv/transform.py", line 163, in apply_transform compiled_theme = compile_theme(theme, rules, boilerplate, absolute_prefix) File "/usr/local/Plone33/buildout-cache/eggs/collective.xdv-1.0rc3-py2.4.egg/collective/xdv/utils.py", line 32, in compile_theme return xdvcompiler.compile_theme(compiler, theme, rules, boilerplate, absolute_prefix) File "/usr/local/Plone33/buildout-cache/eggs/dv.xdvserver-1.0b4-py2.4.egg/dv/xdvserver/xdvcompiler.py", line 55, in compile_theme
   compiled = compiler_transform(theme_tree, **params)
File "xslt.pxi", line 536, in lxml.etree.XSLT.__call__ (src/lxml/lxml.etree.c:108802) File "lxml.etree.pyx", line 228, in lxml.etree._ExceptionContext._raise_if_stored (src/lxml/lxml.etree.c:6750) XSLTApplyError: Cannot resolve URI /usr/local/Plone33/zeocluster/parts/client1/http%3A/msb02.msb.net/themes/rulesbase.xml
______________________________________________________________________________________________








<<attachment: mirtosilvio_busico.vcf>>

_______________________________________________
Setup mailing list
Setup@lists.plone.org
http://lists.plone.org/mailman/listinfo/setup

Reply via email to