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

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

    <bug>
          <bug_id>54280</bug_id>
          
          <creation_ts>2025-05-15 11:43:48 +0300</creation_ts>
          <short_desc>Проблема с запуском сaffeine-ng</short_desc>
          <delta_ts>2025-05-20 11:51:56 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p10</product>
          <component>caffeine-ng</component>
          <version>не указана</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=54281</see_also>
          <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="YoGuRt82">yogurt-82</reporter>
          <assigned_to name="Антон Мидюков">antohami</assigned_to>
          <cc>amakeenk</cc>
    
    <cc>antohami</cc>
    
    <cc>shad</cc>
    
    <cc>tatyana</cc>
          
          <qa_contact name="qa-p10@altlinux.org">qa-p10</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>264818</commentid>
    <comment_count>0</comment_count>
    <who name="YoGuRt82">yogurt-82</who>
    <bug_when>2025-05-15 11:43:48 +0300</bug_when>
    <thetext>caffeine 
/usr/lib/python3/site-packages/caffeine/inhibitors.py:174: SyntaxWarning: &quot;is&quot; with a literal. Did you mean &quot;==&quot;?
  return os.system(&quot;pgrep xscreensaver&quot;) is 0
/usr/lib/python3/site-packages/caffeine/inhibitors.py:240: SyntaxWarning: &quot;is&quot; with a literal. Did you mean &quot;==&quot;?
  return os.system(&quot;pgrep xautolock&quot;) is 0
/usr/lib/python3/site-packages/caffeine/main.py:59: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version(&apos;AppIndicator3&apos;, &apos;0.1&apos;) before import to ensure that the right version gets loaded.
  from gi.repository import AppIndicator3

(caffeine:411008): Gtk-CRITICAL **: 15:35:20.208: gtk_icon_theme_get_for_screen: assertion &apos;GDK_IS_SCREEN (screen)&apos; failed
Traceback (most recent call last):
  File &quot;/usr/bin/caffeine&quot;, line 11, in &lt;module&gt;
    load_entry_point(&apos;caffeine-ng==3.4.2&apos;, &apos;gui_scripts&apos;, &apos;caffeine&apos;)()
  File &quot;/usr/lib64/python3/site-packages/pkg_resources/__init__.py&quot;, line 474, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File &quot;/usr/lib64/python3/site-packages/pkg_resources/__init__.py&quot;, line 2846, in load_entry_point
    return ep.load()
  File &quot;/usr/lib64/python3/site-packages/pkg_resources/__init__.py&quot;, line 2450, in load
    return self.resolve()
  File &quot;/usr/lib64/python3/site-packages/pkg_resources/__init__.py&quot;, line 2456, in resolve
    module = __import__(self.module_name, fromlist=[&apos;__name__&apos;], level=0)
  File &quot;/usr/lib/python3/site-packages/caffeine/main.py&quot;, line 67, in &lt;module&gt;
    generic = icon_theme.load_icon(&quot;application-x-executable&quot;, 16,
AttributeError: &apos;NoneType&apos; object has no attribute &apos;load_icon&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>264828</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-05-15 12:19:50 +0300</bug_when>
    <thetext>На caffeine-ng</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>264830</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-05-15 12:20:08 +0300</bug_when>
    <thetext>*** Bug 54281 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265081</commentid>
    <comment_count>3</comment_count>
    <who name="Tatyana Gagina">tatyana</who>
    <bug_when>2025-05-19 10:29:51 +0300</bug_when>
    <thetext>Проверялось на Sisyphus, ошибка не воспроизвелась (caffeine-ng-4.2.0-alt1).

Ошибка воспроизводится на p10 с версией caffeine-ng-3.4.2-alt2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265082</commentid>
    <comment_count>4</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-05-19 10:36:24 +0300</bug_when>
    <thetext>(Ответ для Tatyana Gagina на комментарий #3)
&gt; Проверялось на Sisyphus, ошибка не воспроизвелась (caffeine-ng-4.2.0-alt1).
&gt; 
&gt; Ошибка воспроизводится на p10 с версией caffeine-ng-3.4.2-alt2.

На каком дистрибутиве? На вчера собранном стартерките lxqt для p10 у меня не воспроизвелось.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265083</commentid>
    <comment_count>5</comment_count>
    <who name="Tatyana Gagina">tatyana</who>
    <bug_when>2025-05-19 10:39:19 +0300</bug_when>
    <thetext>(Ответ для Антон Мидюков на комментарий #4)
&gt; (Ответ для Tatyana Gagina на комментарий #3)
&gt; &gt; Проверялось на Sisyphus, ошибка не воспроизвелась (caffeine-ng-4.2.0-alt1).
&gt; &gt; 
&gt; &gt; Ошибка воспроизводится на p10 с версией caffeine-ng-3.4.2-alt2.
&gt; 
&gt; На каком дистрибутиве? На вчера собранном стартерките lxqt для p10 у меня не
&gt; воспроизвелось.

На ALT Workstation 10.4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265085</commentid>
    <comment_count>6</comment_count>
    <who name="Aleksandr Shamaraev">shad</who>
    <bug_when>2025-05-19 10:43:21 +0300</bug_when>
    <thetext>(Ответ для Антон Мидюков на комментарий #4)
&gt; На каком дистрибутиве? 

Доброго времени суток

у автора баги был Альт Рабочая станция K p10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265086</commentid>
    <comment_count>7</comment_count>
    <who name="Tatyana Gagina">tatyana</who>
    <bug_when>2025-05-19 10:49:10 +0300</bug_when>
    <thetext>(Ответ для Aleksandr Shamaraev на комментарий #6)
&gt; (Ответ для Антон Мидюков на комментарий #4)
&gt; &gt; На каком дистрибутиве? 
&gt; 
&gt; Доброго времени суток
&gt; 
&gt; у автора баги был Альт Рабочая станция K p10

На нём как раз не воспроизвелось.
В терминале только это: Error: Caffeine is already running.

Сервис запущен: 
 ps aux | grep caffeine
test        2180  0.2  1.8 708408 73764 ?        Ssl  10:43   0:00 caffeine-ng
root        2614  0.0  0.1   6480  4116 pts/0    S+   10:47   0:00 grep --color=auto caffeine</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265087</commentid>
    <comment_count>8</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-05-19 10:50:46 +0300</bug_when>
    <thetext>(Ответ для Tatyana Gagina на комментарий #7)
&gt; (Ответ для Aleksandr Shamaraev на комментарий #6)
&gt; &gt; (Ответ для Антон Мидюков на комментарий #4)
&gt; &gt; &gt; На каком дистрибутиве? 
&gt; &gt; 
&gt; &gt; Доброго времени суток
&gt; &gt; 
&gt; &gt; у автора баги был Альт Рабочая станция K p10
&gt; 
&gt; На нём как раз не воспроизвелось.
&gt; В терминале только это: Error: Caffeine is already running.
&gt; 
&gt; Сервис запущен: 
&gt;  ps aux | grep caffeine
&gt; test        2180  0.2  1.8 708408 73764 ?        Ssl  10:43   0:00
&gt; caffeine-ng
&gt; root        2614  0.0  0.1   6480  4116 pts/0    S+   10:47   0:00 grep
&gt; --color=auto caffeine

У меня на 10.4 в live не воспроизвелось.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265090</commentid>
    <comment_count>9</comment_count>
    <who name="Aleksandr Shamaraev">shad</who>
    <bug_when>2025-05-19 11:05:54 +0300</bug_when>
    <thetext>На симпли 10.4 не воспроизводится</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265108</commentid>
    <comment_count>10</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-05-19 12:54:12 +0300</bug_when>
    <thetext>У меня не получилось воспроизвести.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265141</commentid>
    <comment_count>11</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2025-05-19 16:38:01 +0300</bug_when>
    <thetext>(Ответ для Tatyana Gagina на комментарий #5)
&gt; На ALT Workstation 10.4

У меня не воспроизвелось.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265196</commentid>
    <comment_count>12</comment_count>
    <who name="YoGuRt82">yogurt-82</who>
    <bug_when>2025-05-20 11:48:29 +0300</bug_when>
    <thetext>После нескольких обновлений системы - заработало. Alt Workstation K 10.4
Багу думаю, можно закрывать!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265198</commentid>
    <comment_count>13</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-05-20 11:51:56 +0300</bug_when>
    <thetext>(Ответ для YoGuRt82 на комментарий #12)
&gt; После нескольких обновлений системы - заработало. Alt Workstation K 10.4
&gt; Багу думаю, можно закрывать!

Она была закрыта.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>