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

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

    <bug>
          <bug_id>48544</bug_id>
          
          <creation_ts>2023-11-22 11:53:58 +0300</creation_ts>
          <short_desc>Зависает, если нет камер для работы</short_desc>
          <delta_ts>2023-12-05 15:03:34 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>howdy</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgeny Shesteperov">alimektor</reporter>
          <assigned_to name="Leontiy Volodin">lvol</assigned_to>
          <cc>lvol</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>237622</commentid>
    <comment_count>0</comment_count>
    <who name="Evgeny Shesteperov">alimektor</who>
    <bug_when>2023-11-22 11:53:58 +0300</bug_when>
    <thetext>Версия

-   howdy-3.0.0-alt10.beta1.gitc5b1766

Шаги воспроизведения

Установить Howdy-GTK:

    # apt-get install -y howdy-gtk

Убедиться, что система не видит никаких камер:

    # stat /dev/v4l
    stat: не удалось выполнить statx для &apos;/dev/v4l&apos;: Нет такого файла или каталога

Запустить Howdy GTK:

    # howdy-gtk --user test

Нажать Далее.

Нажать Далее.

Ожидаемый результат: Cообщение о том, что камеры не найдены.

Фактический результат: Сообщение
Тестирование камеры. Подождите, пожалуйста... длится вечно. В терминале
вывод:

    Traceback (most recent call last):
      File &quot;/usr/libexec/howdy-gtk/onboarding.py&quot;, line 122, in execute_slide2
        device_ids = os.listdir(&quot;/dev/v4l/by-path&quot;)
    FileNotFoundError: [Errno 2] Нет такого файла или каталога: &apos;/dev/v4l/by-path&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>238392</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-12-05 15:03:34 +0300</bug_when>
    <thetext>howdy-3.0.0-alt11.beta1.gitc5b1766 -&gt; sisyphus:

 Tue Dec 05 2023 Anton Golubev &lt;golubevan@altlinux&gt; 3.0.0-alt11.beta1.gitc5b1766
 - howdy-gtk: Add default args to exit functions (ALT #48543)
 - Don&apos;t pkexec if already root
 - Handle the case if there are no cameras via except (ALT #48544)
 - Show real camera ID in the &apos;Video&apos; tab (ALT #48542)
 - Don&apos;t add a model if the user list is empty (ALT #48529)
 - More correct preview when stretching the window (ALT #48527)
 - Remove reading of non-existent &apos;_variables&apos; file (ALT #48500)
 - Update the container when the slide changes (ALT #48502)
 - Also use PKEXEC_UID to get username (ALT #48503)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>