Bug#417745: zope-common: dzhandle should not choke on non-Debian Zope products

Ronan KERYELL ronan at keryell.fr
Wed Apr 4 13:21:21 UTC 2007


Package: zope-common
Version: 0.5.32
Severity: normal

I'm trying to add Zope Products that are not in Debian from the .tar.gz
but installing them with dzhandle fail with messages such as:
dzhandle list-products
[...]
product basesyndication
Traceback (most recent call last):
  File "/usr/bin/dzhandle", line 2394, in ?
    main()
  File "/usr/bin/dzhandle", line 2389, in main
    rv = action.run(global_options)
  File "/usr/bin/dzhandle", line 1188, in run
    addon.printit()
  File "/usr/bin/dzhandle", line 362, in printit
    print >>stream, self.kind, self.name, self.directory, \
AttributeError: Product instance has no attribute 'directory'

Could it be possible not to fail if they are not packaged for dzhandle and
going into a fail-safe (degraded) mode?

Thank you!
-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16+la-totale
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

Versions of packages zope-common depends on:
ii  adduser                       3.102      Add and remove users and groups
ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy
ii  python2.4                     2.4.4-2    An interactive high-level object-o

zope-common recommends no packages.

-- debconf information:
  zope-common/remove-instance-without-data: abort
  zope-common/admin-automatic-password:
* shared/zope/restart: configuring
  zope-common/instance-http-port:
  zope-common/admin-user: admin
  zope-common/keep-data-on-purge: true




More information about the pkg-zope-developers mailing list