Bug 48791

Summary: getmail не запускается...
Product: Sisyphus Reporter: Иван <pidgin>
Component: getmailAssignee: real <real>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: amakeenk, antohami, cas, cow, evg, george, grenka, imz, kotopesutility, lav, nbr, qa_viy, rider, sem, shaba, sin, slev, toni, vitty, viy
Version: unstable   
Hardware: x86_64   
OS: Linux   

Description Иван 2023-12-13 15:59:24 MSK
altlinux ~ $ getmail
/usr/lib/python3/site-packages/getmailcore/utilities.py:588: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if ssl_fingerprints is ():

Exception: please read docs/BUGS and include the following information in any bug report:

  getmail version 5.14
  Python version 3.9.16 (main, Mar 21 2023, 10:12:38) 
[GCC 10.3.1 20210703 (ALT Sisyphus 10.3.1-alt2)]

Unhandled exception follows:
    File "/usr/bin/getmail", line 833, in main
    except configparser.NoSectionError as o:
  UnboundLocalError: local variable 'configparser' referenced before assignment

Please also include configuration information from running getmail
with your normal options plus "--dump"
Comment 1 Alexander Makeenkov 2023-12-13 16:16:29 MSK
Воспроизводится в сизифе:
$ getmail
/usr/lib/python3/site-packages/getmailcore/utilities.py:588: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if ssl_fingerprints is ():

Exception: please read docs/BUGS and include the following information in any bug report:

  getmail version 5.14
  Python version 3.11.6 (main, Oct  7 2023, 08:19:37) [GCC 13.2.1 20230817 (ALT Sisyphus 13.2.1-alt2)]

Unhandled exception follows:
    File "/usr/bin/getmail", line 833, in main
    except configparser.NoSectionError as o:
           ^^^^^^^^^^^^
  UnboundLocalError: cannot access local variable 'configparser' where it is not associated with a value

Please also include configuration information from running getmail
with your normal options plus "--dump".