Bug 38360 - Ошибка при запуске в режиме web сервера
Summary: Ошибка при запуске в режиме web сервера
Status: CLOSED FIXED
Alias: None
Product: Branch p9
Classification: Distributions
Component: glances (show other bugs)
Version: не указана
Hardware: all Linux
: P5 normal
Assignee: Gleb F-Malinovskiy
QA Contact: qa-p9@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-17 10:37 MSK by Alexander Makeenkov
Modified: 2022-07-15 16:17 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2020-04-17 10:37:26 MSK
Версия пакета: 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 "/usr/lib64/python3.7/wsgiref/handlers.py", line 138, in run
    self.finish_response()
  File "/usr/lib64/python3.7/wsgiref/handlers.py", line 184, in finish_response
    self.write(data)
  File "/usr/lib64/python3.7/wsgiref/handlers.py", line 287, in write
    self.send_headers()
  File "/usr/lib64/python3.7/wsgiref/handlers.py", line 346, in send_headers
    self._write(bytes(self.headers))
  File "/usr/lib64/python3.7/wsgiref/headers.py", line 142, in __bytes__
    return str(self).encode('iso-8859-1')
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 78-79: ordinal not in range(256)

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

В Sisyphus не воспроизводится.
Comment 1 Alexandr Shashkin 2021-12-23 12:44:00 MSK
При тестировании версии glances-3.2.4.2-alt1 на P10 ошибка не воспроизвелась.
Comment 2 Egor Ignatov 2022-07-15 16:17:35 MSK
Исправлено в glances=3.2.6.4-alt2