how to fix dependencies

Asked by lukasz

First - sorry for my newbie question, but
please, can you exactly explain me, how to fix dependencies of python?
python-pyalsaaudio (python3)
python2-pyalsaaudio (python2)

What I was read here... for alsa-tray needed to change python-pyalsaaudio to python2-pyalsaaudio.
But where and how?

I'm running Debian squeeze (kernel 3.2)

Than you

Question information

Language:
English Edit question
Status:
Answered
For:
ALSA Tray Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fabien LOISON (flozz) said :
#1

Hello,

On Debian Squeeze, pyalsaaudio is provided by the python-alsaaudio package. You can install it with the following command (as root):

    apt-get install python-alsaaudio

Regards,

Revision history for this message
lukasz (looker-looker) said :
#2

Hi, thank you for replay... but it doesn't solve my problem.
Istaled python-alsaaudio, instaled alsa-tray
but still same error:

Traceback (most recent call last):
  File "/usr/bin/alsa-tray", line 824, in <module>
    ls_cards_mixers()
  File "/usr/bin/alsa-tray", line 687, in ls_cards_mixers
    for mixer_name in alsaaudio.mixers(CARD_LIST.index(card_name)):
alsaaudio.ALSAAudioError: Adresář nebo soubor neexistuje (directory or file not exist)
Lukas

Revision history for this message
Fabien LOISON (flozz) said :
#3

Hello,

From the pyalsaaudio documentation[1]:

> exception alsaaudio.ALSAAudioError
>
> Exception raised when an operation fails for a ALSA specific
> reason. The exception argument is a string describing the reason
> of the failure.

That mean there is a problem with the pyalsaaudio lib or with ALSA
itself. I cannot do anything to fix this issue from ALSA Tray :(

Regards,

[1] http://pyalsaaudio.sourceforge.net/libalsaaudio.html

Can you help with this problem?

Provide an answer of your own, or ask lukasz for more information if necessary.

To post a message you must log in.