[Pkg-zope-developers] Bug#390321: zope3-sandbox: ImportError at upgrade

Jonas Meurer jonas at freesources.org
Sat Sep 30 12:35:30 UTC 2006


Package: zope3-sandbox
Version: 3.3.0-1
Severity: important

hello,

at the upgrade from zope3-sandbox 3.2.1-5 to 3.3.0-1 on my
debian/unstable system, a python ImportError occured, though it didn't
make the upgrade fail.

I've disabled to start zope instances in /etc/default/zope3, if that may
be relevant.

here the exact copy+paste:

[...]
Preconfiguring packages ...
(Reading database ... 213651 files and directories currently installed.)
Preparing to replace zope3 3.2.1-5 (using .../zope3_3.3.0-1_amd64.deb) ...
* Zope3: instances have been disabled, edit /etc/default/zope3 to enable them.
Unpacking replacement zope3 ...
Preparing to replace python-zopeinterface 3.2.1-5 (using .../python-zopeinterface_3.3.0-1_amd64.deb) ...
Unpacking replacement python-zopeinterface ...
[ ... some other packages upgrading at the same time ... ]
Preparing to replace zope3-doc 3.2.1-5 (using .../zope3-doc_3.3.0-1_all.deb) ...
Unpacking replacement zope3-doc ...
Preparing to replace zope3-sandbox 3.2.1-5 (using .../zope3-sandbox_3.3.0-1_all.deb) ...
Traceback (most recent call last):
  File "/var/lib/zope3/instance/sandbox/bin/zopectl", line 43, in ?
    run()
  File "/var/lib/zope3/instance/sandbox/bin/zopectl", line 37, in run
    import zope.app.server.controller
ImportError: No module named zope.app.server.controller
Traceback (most recent call last):
  File "/var/lib/zope3/instance/sandbox/bin/zopectl", line 43, in ?
    run()
  File "/var/lib/zope3/instance/sandbox/bin/zopectl", line 37, in run
    import zope.app.server.controller
ImportError: No module named zope.app.server.controller
Unpacking replacement zope3-sandbox ...
Setting up python-zopeinterface (3.3.0-1) ...

Setting up zope3 (3.3.0-1) ...
* Zope3: instances have been disabled, edit /etc/default/zope3 to enable them.

[ ... again some other packages ... ]

Setting up zope3-doc (3.3.0-1) ...
Setting up zope3-sandbox (3.3.0-1) ...
Zope3 instance 'sandbox' already exists.

please give me advice if you need more information.

...
 jonas

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-amd64-resivo
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages zope3-sandbox 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  zope3                         3.3.0-1    Open Source Web Application Server

Versions of packages zope3-sandbox recommends:
ii  zope3-doc                     3.3.0-1    Documentation for Zope3

-- debconf information:
* zope3-sandbox/admin-automatic-password:
  zope3-sandbox/internal:
* zope3-sandbox/admin-user: admin
* zope3-sandbox/instance-http-port: 8031
* zope3-sandbox/keep-data-on-purge: true




More information about the Pkg-zope-developers mailing list