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

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

    <bug>
          <bug_id>53225</bug_id>
          
          <creation_ts>2025-02-25 17:22:11 +0300</creation_ts>
          <short_desc>Добавить Requires на /usr/bin/7z</short_desc>
          <delta_ts>2025-07-03 16:33:23 +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>gearlever</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=55043</see_also>
          <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="Vladimir Romanov">rirusha</reporter>
          <assigned_to name="oleg@altlinux.org">oleg</assigned_to>
          <cc>antohami</cc>
    
    <cc>oleg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>259937</commentid>
    <comment_count>0</comment_count>
    <who name="Vladimir Romanov">rirusha</who>
    <bug_when>2025-02-25 17:22:11 +0300</bug_when>
    <thetext>Приложение во время работы требует 7z.
Вывод:

[rirusha@sakura ~]$ gearlever 
Logging to file /var/home/rirusha/.cache/logs/gearlever.log
Exception in thread Thread-2 (load):
Traceback (most recent call last):
  File &quot;/usr/lib64/python3.12/threading.py&quot;, line 1075, in _bootstrap_inner
    self.run()
  File &quot;/usr/lib64/python3.12/threading.py&quot;, line 1012, in run
    self._target(*self._args, **self._kwargs)
  File &quot;/usr/share/gearlever/gearlever/AppDetails.py&quot;, line 258, in load
    icon = self.provider.get_icon(self.app_list_element)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/share/gearlever/gearlever/providers/AppImageProvider.py&quot;, line 179, in get_icon
    extracted = self._load_appimage_metadata(el)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/share/gearlever/gearlever/providers/AppImageProvider.py&quot;, line 702, in _load_appimage_metadata
    mounted_appimage_path = self._extract_appimage(el)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/share/gearlever/gearlever/providers/AppImageProvider.py&quot;, line 677, in _extract_appimage
    z7zoutput = &apos;\n\n&apos; + terminal.sandbox_sh([&apos;7z&apos;, &apos;x&apos;, file.get_path(), f&apos;-o{squashfs_root_folder}&apos;, &apos;-y&apos;, &apos;-bso0&apos;, &apos;bsp0&apos;, 
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/share/gearlever/gearlever/lib/terminal.py&quot;, line 43, in sandbox_sh
    output = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib64/python3.12/subprocess.py&quot;, line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/usr/lib64/python3.12/subprocess.py&quot;, line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File &quot;/usr/lib64/python3.12/subprocess.py&quot;, line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: &apos;7z&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261536</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-03-20 20:34:06 +0300</bug_when>
    <thetext>gearlever-3.0.2-alt1 -&gt; sisyphus:

 Thu Mar 20 2025 Oleg Shchavelev &lt;oleg@altlinux&gt; 3.0.2-alt1
 - New version 3.0.2
 - Enable strict mode for unpackaged files
 - Added p7zip dependency (ALT #53225)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>