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

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

    <bug>
          <bug_id>38360</bug_id>
          
          <creation_ts>2020-04-17 10:37:26 +0300</creation_ts>
          <short_desc>Ошибка при запуске в режиме web сервера</short_desc>
          <delta_ts>2022-07-15 16:17:35 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p9</product>
          <component>glances</component>
          <version>не указана</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>dutyrok</cc>
    
    <cc>egori</cc>
    
    <cc>glebfm</cc>
          
          <qa_contact name="qa-p9@altlinux.org">qa-p9</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>189288</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2020-04-17 10:37:26 +0300</bug_when>
    <thetext>Версия пакета: glances-2.11.1-alt2 (на данный момент из задания 244280, в предыдущей версии glances-2.11.1-alt1 тоже воспроизводится)

Версия python3: python3-3.7.4-alt2

Система: ALT Workstation 9.0 x86_64

Запускаю glances в режиме web сервера, открываю в браузере и в консоли валятся ошибки:

# glances -w
Glances web server started on http://0.0.0.0:61208/
Traceback (most recent call last):
  File &quot;/usr/lib64/python3.7/wsgiref/handlers.py&quot;, line 138, in run
    self.finish_response()
  File &quot;/usr/lib64/python3.7/wsgiref/handlers.py&quot;, line 184, in finish_response
    self.write(data)
  File &quot;/usr/lib64/python3.7/wsgiref/handlers.py&quot;, line 287, in write
    self.send_headers()
  File &quot;/usr/lib64/python3.7/wsgiref/handlers.py&quot;, line 346, in send_headers
    self._write(bytes(self.headers))
  File &quot;/usr/lib64/python3.7/wsgiref/headers.py&quot;, line 142, in __bytes__
    return str(self).encode(&apos;iso-8859-1&apos;)
UnicodeEncodeError: &apos;latin-1&apos; codec can&apos;t encode characters in position 78-79: ordinal not in range(256)

В браузере при этом пустая страница.

В Sisyphus не воспроизводится.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206306</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandr Shashkin">dutyrok</who>
    <bug_when>2021-12-23 12:44:00 +0300</bug_when>
    <thetext>При тестировании версии glances-3.2.4.2-alt1 на P10 ошибка не воспроизвелась.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212783</commentid>
    <comment_count>2</comment_count>
    <who name="Egor Ignatov">egori</who>
    <bug_when>2022-07-15 16:17:35 +0300</bug_when>
    <thetext>Исправлено в glances=3.2.6.4-alt2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>