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

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

    <bug>
          <bug_id>39261</bug_id>
          
          <creation_ts>2020-11-12 14:55:49 +0300</creation_ts>
          <short_desc>Не запускается сервис deluge-web</short_desc>
          <delta_ts>2025-01-15 17:55:10 +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>deluge-web</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Vladimir Lettiev">crux</assigned_to>
          <cc>crux</cc>
    
    <cc>noniev</cc>
    
    <cc>zurabishvilinn</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>194123</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2020-11-12 14:55:49 +0300</bug_when>
    <thetext>Запуск сервиса deluge-web завершается ошибкой:

# systemctl status deluge-web.service 
● deluge-web.service - Deluge Bittorrent Client Web Interface
     Loaded: loaded (/lib/systemd/system/deluge-web.service; disabled; vendor preset: disabled)
     Active: inactive (dead)

ноя 12 14:34:08 workstation-91-x86-64-20201112.localdomain systemd[1]: Started Deluge Bittorrent Client Web Interface.
ноя 12 14:34:09 workstation-91-x86-64-20201112.localdomain systemd[1]: deluge-web.service: Succeeded.
ноя 12 14:50:40 workstation-91-x86-64-20201112.localdomain systemd[1]: Started Deluge Bittorrent Client Web Interface.
ноя 12 14:50:40 workstation-91-x86-64-20201112.localdomain deluge-web[24298]: Unable to initialize gettext/locale!
ноя 12 14:50:40 workstation-91-x86-64-20201112.localdomain deluge-web[24298]: &apos;ngettext&apos;
ноя 12 14:50:40 workstation-91-x86-64-20201112.localdomain deluge-web[24298]: Traceback (most recent call last):
ноя 12 14:50:40 workstation-91-x86-64-20201112.localdomain deluge-web[24298]:   File &quot;/usr/lib/python3/site-packages/deluge/i18n/util.py&quot;, line 118, in setup_translation
ноя 12 14:50:40 workstation-91-x86-64-20201112.localdomain deluge-web[24298]:     builtins.__dict__[&apos;_n&apos;] = builtins.__dict__[&apos;ngettext&apos;]
ноя 12 14:50:40 workstation-91-x86-64-20201112.localdomain deluge-web[24298]: KeyError: &apos;ngettext&apos;
ноя 12 14:50:40 workstation-91-x86-64-20201112.localdomain systemd[1]: deluge-web.service: Succeeded.

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

# apt-get install deluged deluge-web
# systemctl start deluged &amp;&amp; sleep 5; systemctl status deluged
# systemctl start deluge-web &amp;&amp; sleep 5; systemctl status deluge-web

Версия пакета: deluge-web-2.0.3-alt2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257402</commentid>
    <comment_count>1</comment_count>
    <who name="Nikolai Zurabishvili">zurabishvilinn</who>
    <bug_when>2025-01-15 17:52:03 +0300</bug_when>
    <thetext>*** Bug 48659 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257403</commentid>
    <comment_count>2</comment_count>
    <who name="Nikolai Zurabishvili">zurabishvilinn</who>
    <bug_when>2025-01-15 17:55:10 +0300</bug_when>
    <thetext>deluge-web-2.1.1-alt2

Ошибка воспроизводится, сервис deluge-web не запускается, добавление -d в /usr/lib/systemd/system/deluge-web.service исправляет ошибку</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>