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

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

    <bug>
          <bug_id>47250</bug_id>
          
          <creation_ts>2023-08-15 12:33:09 +0300</creation_ts>
          <short_desc>Утилита pyspnego-parse не запускается</short_desc>
          <delta_ts>2024-04-01 15:31:28 +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>python3-module-spnego</component>
          <version>unstable</version>
          <rep_platform>x86_64</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="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="Grigory Ustinov">grenka</assigned_to>
          <cc>grenka</cc>
    
    <cc>root</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>231449</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2023-08-15 12:33:09 +0300</bug_when>
    <thetext>Описание ошибки
===============

При выполнении:

&gt; $ pyspnego-parse

Или, например (из https://git.altlinux.org/gears/p/python3-module-spnego.git?p=python3-module-spnego.git;a=blob;f=docs/scenarios/gssapi_negotiate_ntlm_fallback.md;h=b1024e7f51d13b64a25d3c47a18432f36d602c00;hb=cb92c5e884034c8002ac7669098022ffe5e404dd#l161):

&gt; $ pyspnego-parse --format yaml --token A181BE3081BBA0030A0101A281B30481B04E544C4D53535000020000001A001A003000000035828AE059961E4FE623221D0000000000000000660066004A0000004A0042004F005200450041004E002D004C0049004E005500580001001A004A0042004F005200450041004E002D004C0049004E00550058000200160057004F0052004B00530054004100540049004F004E0003001A006A0062006F007200650061006E002D006C0069006E0075007800070008002C750671B130D60100000000


Фактический результат: Выводится ошибка (вне зависимости от наличия аргументов командной строки):

В [sisyphus]:

&gt; Traceback (most recent call last):
&gt;   File &quot;/usr/bin/pyspnego-parse&quot;, line 9, in &lt;module&gt;
&gt;     sys.exit(main())
&gt;              ^^^^^^
&gt; TypeError: main() missing 1 required positional argument: &apos;args&apos;

В [p10 + 326369]:

&gt; Traceback (most recent call last):
&gt;   File &quot;/usr/bin/pyspnego-parse&quot;, line 33, in &lt;module&gt;
&gt;     sys.exit(load_entry_point(&apos;pyspnego==0.5.2&apos;, &apos;console_scripts&apos;, &apos;pyspnego-parse&apos;)())
&gt; TypeError: main() missing 1 required positional argument: &apos;args&apos;


Ожидаемый результат: Ошибки не должно быть.


Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[p10 + 326369] python3-module-spnego-0.5.2-alt1.noarch
kworkstation-10.1-x86-64
education-10.1-x86-64
education-10.1-x86-64-kde
workstation-10.1-x86-64
server-10.1-x86-64

[sisyphus] python3-module-spnego-0.9.1-alt2.noarch
kworkstation-10.1-x86-64
education-10.1-x86-64
education-10.1-x86-64-kde
workstation-10.1-x86-64
server-10.1-x86-64

В [p10] не проверялось (пакета нет).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>243848</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-04-01 15:31:28 +0300</bug_when>
    <thetext>python3-module-spnego-0.10.2-alt1 -&gt; sisyphus:

 Mon Apr 01 2024 Grigory Ustinov &lt;grenka@altlinux&gt; 0.10.2-alt1
 - Automatically updated to 0.10.2.
 - Fixed pyspnego-parse utility (Closes: #47250).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>