Bug#392972: cps-site: Error Value: 'roles'
TANAKA Atushi
atanaka at hotcake.halfmoon.jp
Sat Oct 14 13:48:55 UTC 2006
Package: cps-site
Version: 3.4.0-4
Severity: grave
Justification: renders package unusable
I cannot add any CPS Site from ZMI with the 'cps-site' package.
The following is a way to reproduce the problem:
(1) Access a zope instance 'cps-site' by a web browser.
(2) From ZMI, I pushed the add button with 'CPSDefault Site'.
(3) At 'Add CPS Site' page, I filled configuration and push 'Add' button.
Then I get the following message:
-----
Site Error
An error was encountered while publishing this resource.
Error Type: KeyError
Error Value: 'roles'
----
A part of log in /var/lib/zope2.9/instance/cps-site/log/event.log
seems to be relevant one:
------
2006-10-14T21:37:41 INFO GenericSetup.roots Roots imported.
------
2006-10-14T21:37:41 ERROR Zope.SiteErrorLog http://zope.uchi.test:8082/manage_addProduct/CPSDefault/addConfiguredCPSSite
Traceback (innermost last):
Module ZPublisher.Publish, line 115, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 41, in call_object
Module Products.CPSDefault.factory, line 228, in addConfiguredCPSSite
Module Products.CPSDefault.factory, line 100, in addConfiguredSite
Module Products.CPSDefault.factory, line 140, in importProfiles
Module Products.GenericSetup.tool, line 251, in runAllImportSteps
- __traceback_info__: profile-CPSDefault:default
Module Products.GenericSetup.tool, line 725, in _doRunImportStep
- __traceback_info__: various
Module Products.CPSDefault.exportimport, line 124, in importVarious
Module Products.CPSDefault.exportimport, line 73, in importVarious
Module Products.CPSDefault.exportimport, line 81, in setupDefaultRoles
Module OFS.ObjectManager, line 726, in __getitem__
KeyError: 'roles'
I confirmed that I can make a cps site with CPS-platform-3.4.2-2.tar.gz
(upstream tar ball) in a zope instance build with
/usr/lib/zope2.9/bin/mkzopeinstance.py.
If you need more appropriate information, please let me know.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-hotcake-u-20060318
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages cps-site depends on:
ii debconf [debconf-2.0] 1.5.5 Debian configuration management sy
ii zope-common 0.5.24 common settings and scripts for zo
ii zope-cps 3.4.0-4 extensive collaborative web conten
ii zope2.9 2.9.4-1 Open Source Web Application Server
cps-site recommends no packages.
-- debconf information:
* cps-site/instance-http-port: 8082
* cps-site/admin-user: admin
cps-site/internal:
* cps-site/keep-data-on-purge: true
More information about the pkg-zope-developers
mailing list