[Pkg-zope-developers] Bug#343445: zope3-sandbox: startup breaks on invalid characters in preinstall password

Derrick Hudson dman at dman13.dyndns.org
Fri Dec 16 01:18:29 UTC 2005


On Thu, Dec 15, 2005 at 11:56:23AM +0100, Guido A.J. Stevens wrote:
 
| zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
| "/var/lib/zope3/instance/sandbox/etc/site.zcml", line 14.2-14.36
| ZopeSAXParseException: File
| "/var/lib/zope3/instance/sandbox/etc/principals.zcml", line 30.24,  not
| well-formed (invalid token)
| 
| On inspection of this config file it turned out the breakage was caused by
| an ampersand ("&") character in the password I had supplied for the admin
| user during preinstall. Changing the password fixed the problem.

Another workaround is to manually change the & to & in the file.
This problem is triggered by any characters in the username or
password that are not allowed literally in XML.

I took a look and the faulty code is in
zope/app/server/mkzopeinstance.py around lines 192 and 228.

-D

-- 
If your life is a hard drive,
Christ can be your backup.
 
www: http://dman13.dyndns.org/~dman/            jabber: dman at dman13.dyndns.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-zope-developers/attachments/20051215/d2293e66/attachment.pgp


More information about the Pkg-zope-developers mailing list