<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>20690</bug_id>
          
          <creation_ts>2009-07-06 15:19:40 +0400</creation_ts>
          <short_desc>k3b не проигрывает звуки назначенные на события</short_desc>
          <delta_ts>2009-07-08 14:36:50 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>k3b</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Olexander Chernetskyy">sp_archer</reporter>
          <assigned_to name="Sergey V Turchin">zerg</assigned_to>
          <cc>cas</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>94273</commentid>
    <comment_count>0</comment_count>
    <who name="Olexander Chernetskyy">sp_archer</who>
    <bug_when>2009-07-06 15:19:40 +0400</bug_when>
    <thetext>k3b не проигрывает звуки назначенные на события
Если в окне настроек выбрать файл и надавить кнопку Play - тишина.
Консоль в это время говорит:
---8&lt;---
k3b: ERROR: : couldn&apos;t create slave : Не удаётся создать вспомогательный 
процесс ввода/вывода.
Сообщение klauncher: Неизвестный протокол &apos;&apos;.
---&gt;8---</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94277</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2009-07-06 15:49:40 +0400</bug_when>
    <thetext>В `kcmshell kcmnotify` поиграйтесь с настройками проигрывателя</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94290</commentid>
    <comment_count>2</comment_count>
    <who name="Olexander Chernetskyy">sp_archer</who>
    <bug_when>2009-07-07 01:07:05 +0400</bug_when>
    <thetext>[root@archer ~]# kcmshell kcmnotify
/usr/bin/iceauth:  creating new authority file /root/.ICEauthority
kbuildsycoca running...
kio (KService*): WARNING: The desktop entry file .hidden/dirfilterplugin.desktop has Type=Service but is located under &quot;apps&quot; instead of &quot;services&quot;
kio (KService*): WARNING: Invalid Service : .hidden/dirfilterplugin.desktop
kcmshell (kdelibs): WARNING: Could not find module &apos;kcmnotify&apos;.
[root@archer ~]# kcmshell --list
kbuildsycoca running...
Reusing existing ksycoca
kio (KService*): WARNING: The desktop entry file .hidden/dirfilterplugin.desktop has Type=Service but is located under &quot;apps&quot; instead of &quot;services&quot;
kio (KService*): WARNING: Invalid Service : .hidden/dirfilterplugin.desktop
The following modules are available:
kcmdonkey - MLDonkey integration setup
[root@archer ~]# apt-cache search kcmnotify
[root@archer ~]#

Что не так?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94294</commentid>
    <comment_count>3</comment_count>
    <who name="Andrey Rahmatullin">wrar</who>
    <bug_when>2009-07-07 09:36:10 +0400</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; [root@archer ~]# kcmshell kcmnotify
Почему рутом-то?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94299</commentid>
    <comment_count>4</comment_count>
    <who name="Olexander Chernetskyy">sp_archer</who>
    <bug_when>2009-07-07 12:16:53 +0400</bug_when>
    <thetext>Да я сначала обычным юзверем попробовал. Результат тот-же. Потом уже рутом.  В руте ругани побольше было вот я его и закопипастил.

Вот от простого юзверя:

[archer@archer ~]$ kcmshell kcmnotify
DCOPClient::attachInternal. Attach failed Could not open network socket
kbuildsycoca running...
kcmshell (kdelibs): WARNING: Could not find module &apos;kcmnotify&apos;.
[archer@archer ~]$ kcmshell --list
kbuildsycoca running...
The following modules are available:
kcmdonkey - MLDonkey integration setup
[archer@archer ~]$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94300</commentid>
    <comment_count>5</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2009-07-07 12:18:55 +0400</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; kcmshell (kdelibs): WARNING: Could not find module &apos;kcmnotify&apos;.
&gt; Что не так?
apt-get install kdebase-kcontrol</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94337</commentid>
    <comment_count>6</comment_count>
    <who name="Olexander Chernetskyy">sp_archer</who>
    <bug_when>2009-07-07 17:57:28 +0400</bug_when>
    <thetext>В одной отдельно взятой системе проблема решена.
Рассказываю как было дело:
Установил kdebase-kcontrol
kcmshell kcmnotify запустился.
Смотрю проигрывание звука поручено /usr/bin/play_wrapper.sh
Подсовывваю ему звуковой файл. Получаю:
$ /usr/bin/play_wrapper.sh /usr/share/sounds/k3b_success1.wav
/usr/bin/play_wrapper.sh: line 9: exec: esdplay: не найден
$
Смотрю скрипт:
8:    if [ -S /tmp/.esd-${UID}/socket ]; then
9:        exec esdplay &quot;$@&quot;

$ ls -l /tmp/.esd-500/
итого 0
srwxrwxrwx 1 archer archer 0 Июл  7 11:07 socket
$
if сработал правильно. 
Дальше:
$ whereis esdplay
esdplay:
$
Нету.

$ apt-cache search esdplay
$
Тоже нету.

Смотрю дальше скрипт. Как last resort фигурирует play, который по сути является линком на sox.
Подсовываю ему k3b_success1.wav - играет.

Поручаю проигрывание /usr/bin/play

Всё. В одной отдельно взятой системе проблема решена.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94339</commentid>
    <comment_count>7</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2009-07-07 18:05:01 +0400</bug_when>
    <thetext>(В ответ на комментарий №6)
&gt; Смотрю проигрывание звука поручено /usr/bin/play_wrapper.sh
Используйте стандартную звуковую систему KDE или aplay.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94343</commentid>
    <comment_count>8</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2009-07-07 18:21:09 +0400</bug_when>
    <thetext>(В ответ на комментарий №7)
&gt; (В ответ на комментарий №6)
&gt; &gt; Смотрю проигрывание звука поручено /usr/bin/play_wrapper.sh
&gt; Используйте стандартную звуковую систему KDE
Для этого arts включать нужно (он по умолчанию играет через alsa).

&gt; или aplay.
Не, он фиговый. Я отказался от него в пользу play в play_wrapper.sh

Я вырежу из play_wrapper.sh все про esdplay</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94345</commentid>
    <comment_count>9</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2009-07-07 18:41:27 +0400</bug_when>
    <thetext>(В ответ на комментарий №8)
&gt; Я вырежу из play_wrapper.sh все про esdplay
Точнее, исправлю проверку на pulseaudio, который можно удалить, если не используется.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94349</commentid>
    <comment_count>10</comment_count>
    <who name="Olexander Chernetskyy">sp_archer</who>
    <bug_when>2009-07-07 19:11:21 +0400</bug_when>
    <thetext>В одной отдельно взятой системе проблема решена.
Рассказываю как было дело:
Установил kdebase-kcontrol
kcmshell kcmnotify запустился.
Смотрю проигрывание звука поручено /usr/bin/play_wrapper.sh
Подсовывваю ему звуковой файл. Получаю:
$ /usr/bin/play_wrapper.sh /usr/share/sounds/k3b_success1.wav
/usr/bin/play_wrapper.sh: line 9: exec: esdplay: не найден
$
Смотрю скрипт:
8:    if [ -S /tmp/.esd-${UID}/socket ]; then
9:        exec esdplay &quot;$@&quot;

$ ls -l /tmp/.esd-500/
итого 0
srwxrwxrwx 1 archer archer 0 Июл  7 11:07 socket
$
if сработал правильно. 
Дальше:
$ whereis esdplay
esdplay:
$
Нету.

$ apt-cache search esdplay
$
Тоже нету.

Смотрю дальше скрипт. Как last resort фигурирует play, который по сути является линком на sox.
Подсовываю ему k3b_success1.wav - играет.

Поручаю проигрывание /usr/bin/play

Всё. В одной отдельно взятой системе проблема решена.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94374</commentid>
    <comment_count>11</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2009-07-08 14:36:50 +0400</bug_when>
    <thetext>sound_handler-0.3.2-alt1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>