Package: bluefish-data
Version: 2.2.11+svn-r8872-2
Severity: normal
File: /usr/share/bluefish/plugins/zencoding/__init__.py

When upgrading, I received the following error in the postinst:

  File "/usr/share/bluefish/plugins/zencoding/__init__.py", line 29
    raise "Unsupported arguments to Zen Action: (%r, %r)", (name, action_func)

This does not appear to be the correct syntax for raising an exception
in Python; the first argument should be an Exception class (or a class
derived from it), rather than a string, e.g. it should read something like:

    raise ValueError("Unsupported arguments to Zen Action: (%r, %r)" % (name, 
action_func))

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable'), (102, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.9 (SMP w/24 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

Reply via email to