[kupu-dev] kupu and fill-slot drawers

Milos Prudek prudek at bvx.cz
Fri Jun 29 16:54:37 CEST 2007


Zope 2.7.4, Python 2.3.4, Kupu 1.3.9

Kupu suddenly stopped working while I did not change a single thing of my 
setup - this server has been running for over a year without any 
administration intervention. An error window appears with this text:
 
"There was a problem initiaiting the drawers. Most likely the XSLT or XML 
files are not available. If this is not the Kupu demo version, check your 
files or the service that provide them (error: this.baseelement has no 
properties)."

To reproduce the problem:

1.) Use zope2/example.pt to make a new Page Template.
2.) Kupu works correctly
3.) Insert the following after <metal:macro use-macro="macros/fulleditor">:

      <metal:slot fill-slot="drawers">
	<p>
	  <form name="kupu_exit" method="post" action=../>
	    <input type=submit name=submit value="Display article">
	  </form>
	</p>
      </metal:slot>
4.) Kupu displays an error window mentioned on the top of this message.
5.) When step 3 is omitted and a differend fill-slot is used in step 3, such 
as <metal:slot fill-slot="toolbox-images">, everything works correctly.

Which specific XSLT or XML files should I look for?

-- 
Milos Prudek


More information about the kupu-dev mailing list