Bug 38577 - Не запускается nagstamon -> ModuleNotFoundError: No module named 'requests_gssapi'
Summary: Не запускается nagstamon -> ModuleNotFoundError: No module named 'requests_gs...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: nagstamon (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: manowar@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-04 11:13 MSK by Vera Blagoveschenskaya
Modified: 2020-06-04 14:49 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vera Blagoveschenskaya 2020-06-04 11:13:08 MSK
Test stand: p9 alt workstation x86_64
nagstamon-3.4.1-alt2.noarch

При запуске nagstamon

$ nagstamon 
[Errno 2] No such file or directory: '/home/test/.nagstamon/nagstamon.pid'
Localization loaded:  True
Traceback (most recent call last):
  File "/usr/lib/python3/site-packages/Nagstamon/Servers/Generic.py", line 61, in <module>
    from requests_gssapi import HTTPSPNEGOAuth as HTTPSKerberos
ModuleNotFoundError: No module named 'requests_gssapi'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/nagstamon", line 45, in <module>
    from Nagstamon.QUI import (APP,
  File "/usr/lib/python3/site-packages/Nagstamon/QUI/__init__.py", line 70, in <module>
    from Nagstamon.Servers import (SERVER_TYPES,
  File "/usr/lib/python3/site-packages/Nagstamon/Servers/__init__.py", line 29, in <module>
    from Nagstamon.Servers.Nagios import NagiosServer
  File "/usr/lib/python3/site-packages/Nagstamon/Servers/Nagios.py", line 20, in <module>
    from Nagstamon.Servers.Generic import GenericServer
  File "/usr/lib/python3/site-packages/Nagstamon/Servers/Generic.py", line 63, in <module>
    from requests_kerberos import HTTPKerberosAuth as HTTPSKerberos
ModuleNotFoundError: No module named 'requests_kerberos'

Если вручную установить python3-module-requests-gssapi, то запуск nasstamon успешный.
Comment 1 manowar@altlinux.org 2020-06-04 11:29:57 MSK
В на Сизифе тоже так?
Comment 2 Vera Blagoveschenskaya 2020-06-04 12:20:55 MSK
(Ответ для manowar@altlinux.org на комментарий #1)
> В на Сизифе тоже так?
Да

Версия в Сизифе
nagstamon-3.4.1-alt2.noarch
Comment 3 Repository Robot 2020-06-04 14:49:59 MSK
nagstamon-3.4.1-alt3 -> sisyphus:

 Thu Jun 04 2020 Paul Wolneykien <manowar@altlinux> 3.4.1-alt3
 - Fix: Require python3-module-requests-gssapi (closes: 38577).