Your message dated Thu, 18 Sep 2008 16:02:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#491118: fixed in awn-extras-applets 0.2.6-3
has caused the Debian Bug report #491118,
regarding awn-applets-python-core: volume control doesn't start if channel is 
wrong
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
491118: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491118
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: awn-applets-python-core
Version: 0.2.6-2

If for any reason the controlled audio channel recorded inside user
preferences is not available anymore, the volume control applet fails to
start. The error message is:

$ avant-window-navigator
[…]
Traceback (most recent call last):
  File "/usr/share/awn/applets/volume-control/volume-control.py", line 239,
in <module>
    VolumeApplet(applet)
  File "/usr/share/awn/applets/volume-control/volume-control.py", line 55,
in __init__
    self.awn.module.get("alsaaudio", {"Ubuntu": "python-alsaaudio"},
self.init2)
  File "/usr/lib/python2.5/site-packages/awn/extras/AWNLib.py", line 222, in
get
    return callback(module)
  File "/usr/share/awn/applets/volume-control/volume-control.py", line 68,
in init2
    self.drawMainDlog()
  File "/usr/share/awn/applets/volume-control/volume-control.py", line 83,
in drawMainDlog
    volume.set_value(self.backend.getVolume())
  File "/usr/share/awn/applets/volume-control/volume-control.py", line 212,
in getVolume
    return alsaaudio.Mixer(self.channel).getvolume()[0]
alsaaudio.ALSAAudioError: Unable to find mixer control 'LineOut',0

In my case 'LineOut' doesn't exist and should be replaced with 'Master'. I
solved the problem by catching the error in 'volume-control.py', method
'getVolume', this way:

class Backend:
    […]
    def getVolume(self):
        try:
          return alsaaudio.Mixer(self.channel).getvolume()[0]
        except:
          self.setChannel()
        return alsaaudio.Mixer(self.channel).getvolume()[0]

The wrong channel name is then automatically replaced with the default
(existing) one.

I'm using Debian Lenny.

--- End Message ---
--- Begin Message ---
Source: awn-extras-applets
Source-Version: 0.2.6-3

We believe that the bug you reported is fixed in the latest version of
awn-extras-applets, which is due to be installed in the Debian FTP archive:

awn-applets-c-core_0.2.6-3_i386.deb
  to pool/main/a/awn-extras-applets/awn-applets-c-core_0.2.6-3_i386.deb
awn-applets-c-extras_0.2.6-3_i386.deb
  to pool/main/a/awn-extras-applets/awn-applets-c-extras_0.2.6-3_i386.deb
awn-applets-python-core_0.2.6-3_all.deb
  to pool/main/a/awn-extras-applets/awn-applets-python-core_0.2.6-3_all.deb
awn-applets-python-extras_0.2.6-3_all.deb
  to pool/main/a/awn-extras-applets/awn-applets-python-extras_0.2.6-3_all.deb
awn-extras-applets_0.2.6-3.diff.gz
  to pool/main/a/awn-extras-applets/awn-extras-applets_0.2.6-3.diff.gz
awn-extras-applets_0.2.6-3.dsc
  to pool/main/a/awn-extras-applets/awn-extras-applets_0.2.6-3.dsc
libawn-extras-dev_0.2.6-3_i386.deb
  to pool/main/a/awn-extras-applets/libawn-extras-dev_0.2.6-3_i386.deb
libawn-extras0_0.2.6-3_i386.deb
  to pool/main/a/awn-extras-applets/libawn-extras0_0.2.6-3_i386.deb
python-awn-extras_0.2.6-3_i386.deb
  to pool/main/a/awn-extras-applets/python-awn-extras_0.2.6-3_i386.deb
python-awnlib_0.2.6-3_i386.deb
  to pool/main/a/awn-extras-applets/python-awnlib_0.2.6-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Lavergne <[EMAIL PROTECTED]> (supplier of updated awn-extras-applets 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 15 Sep 2008 22:57:18 +0200
Source: awn-extras-applets
Binary: awn-applets-c-core awn-applets-c-extras awn-applets-python-core 
awn-applets-python-extras libawn-extras0 libawn-extras-dev python-awn-extras 
python-awnlib
Architecture: source all i386
Version: 0.2.6-3
Distribution: unstable
Urgency: low
Maintainer: Luca Bruno <[EMAIL PROTECTED]>
Changed-By: Julien Lavergne <[EMAIL PROTECTED]>
Description: 
 awn-applets-c-core - A collection of applets for avant-window-navigator
 awn-applets-c-extras - A collection of applets for avant-window-navigator
 awn-applets-python-core - A collection of applets for avant-window-navigator
 awn-applets-python-extras - A collection of applets for avant-window-navigator
 libawn-extras-dev - library for avant-window-navigator's applets - development 
files
 libawn-extras0 - A library for avant-window-navigator's applets
 python-awn-extras - Python bindings for avant-window-navigator's applets
 python-awnlib - Python utilities for avant-window-navigator's applets
Closes: 491118
Changes: 
 awn-extras-applets (0.2.6-3) unstable; urgency=low
 .
   * debian/control
    - Bump to 3.8.0 Standards-Version (no change needed).
    - Bump Build-Depends of libawn-dev to (>= 0.2.6)
   * debian/patches/11-volume-channel-missing.patch
    - Fix volume applet when current channel disappear (Closes: #491118).
      Thanks Jean-Michel Philippe for the patch.
   * debian/copyright
    - Remove the complete Apache Licence and link instead to
      /usr/share/common-licenses/Apache-2.0.
    - Reformat the complete licence to reduce the lines under 80 characters.
Checksums-Sha1: 
 ddab97ba1e488c122d4b456c4c9ca4bd683dee7f 1570 awn-extras-applets_0.2.6-3.dsc
 92b04d62eea7bce191d8f720cbe05be638933b1e 64821 
awn-extras-applets_0.2.6-3.diff.gz
 a27ad09e359c4d8f5b724e14f20608e8cac8a380 1397582 
awn-applets-python-core_0.2.6-3_all.deb
 4ba05859046c5bd4540b33580390671f40499e2e 155158 
awn-applets-python-extras_0.2.6-3_all.deb
 21fc62d5ce3f34004602424f64a0f14707b149b0 163356 
awn-applets-c-core_0.2.6-3_i386.deb
 daa40196ce29f0aa1c1d8579dfca1417347d2414 77450 
awn-applets-c-extras_0.2.6-3_i386.deb
 7754a0ea70c6c9723b3202d272bfc895af5f7fc2 17072 libawn-extras0_0.2.6-3_i386.deb
 5e1430414b87a227d4213597bb4a0dfe2861af73 13304 
libawn-extras-dev_0.2.6-3_i386.deb
 fa271dd0b968b931696dbbda3af35f02b5a3897c 18580 
python-awn-extras_0.2.6-3_i386.deb
 ac8a8fcbea9e959a818fe43f8c8258d00eb9ec35 17498 python-awnlib_0.2.6-3_i386.deb
Checksums-Sha256: 
 f8598d76189f59e23ae8369ad027b66af047696fd1095fe48a6b6385b0577480 1570 
awn-extras-applets_0.2.6-3.dsc
 1cda3090bab248d76a8df4c915ecc488a5b248956fce5ce625479b26b6078fad 64821 
awn-extras-applets_0.2.6-3.diff.gz
 93647a2929d91356b79bb07a01abb8a7891333c6173275ee461be4e6bbbb4eba 1397582 
awn-applets-python-core_0.2.6-3_all.deb
 fa444e2271f2f4c24cb318a720bb0677c1fa2b31bda453e1b1e6295ca2788685 155158 
awn-applets-python-extras_0.2.6-3_all.deb
 8d86e15a2dfffa90fd2b521b1e294780516b8332681dd5539c14246154e3532e 163356 
awn-applets-c-core_0.2.6-3_i386.deb
 4b44491d4af0c62e199c5608d078db5bb53c7d139ab14c1d1099de9c9d133026 77450 
awn-applets-c-extras_0.2.6-3_i386.deb
 190775b8d6fced576585c9082037d51e6a5ad145b270496cfdfe93f8e3ad3fd2 17072 
libawn-extras0_0.2.6-3_i386.deb
 7c24abd5593adfd4291fbbb0f5a609895363101c24cdb107e8f47d6d08099021 13304 
libawn-extras-dev_0.2.6-3_i386.deb
 36693e1891cd63b082ca32a4351a7b794e725fbec9fa07ff6d3788153f907fec 18580 
python-awn-extras_0.2.6-3_i386.deb
 d65dd206a6acaa2bba60a6fb824f3ec2e98d4fcbfce7ee2b37fb481dd610f986 17498 
python-awnlib_0.2.6-3_i386.deb
Files: 
 6d6305fd6eb9428cc55d86e52c6f7759 1570 gnome optional 
awn-extras-applets_0.2.6-3.dsc
 d534b1ba48a33214c7b34386401ec60d 64821 gnome optional 
awn-extras-applets_0.2.6-3.diff.gz
 2c20999d674ec116c04dd4fa16c87c1d 1397582 gnome optional 
awn-applets-python-core_0.2.6-3_all.deb
 06793634fb4736c7df6a3060fbf5da51 155158 gnome optional 
awn-applets-python-extras_0.2.6-3_all.deb
 fcbaa5f6ee88df779a3a64841118649e 163356 gnome optional 
awn-applets-c-core_0.2.6-3_i386.deb
 9189ad6d89ced7b4aa78b9744f6c75d7 77450 gnome optional 
awn-applets-c-extras_0.2.6-3_i386.deb
 d21ce0f8ca0045919470e7cc250fcdeb 17072 libs optional 
libawn-extras0_0.2.6-3_i386.deb
 3716ba6bf88d22a196f5d24b0d781da0 13304 libdevel optional 
libawn-extras-dev_0.2.6-3_i386.deb
 32b7160ac2792a02cdf00f08e704b172 18580 python optional 
python-awn-extras_0.2.6-3_i386.deb
 7c1f5868aba99adb18018e4b0b896905 17498 python optional 
python-awnlib_0.2.6-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkjSeBsACgkQRqobajv7n7OJdwCfXd2rP5FzAtcTr49wOQIRRG/8
wpAAniHbWRhiZxplDbXaOkRuUc1wM1+w
=ARJ7
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to