Bug 2013378

Summary: [abrt] fedora-third-party: check_call(): subprocess.py:369:check_call:subprocess.CalledProcessError: Command '['flatpak', 'remote-add', '--from', 'flathub', '/usr/lib/fedora-third-party/conf.d/fedora-flathub.flatpakrepo']' returned non-zero exit status 1.
Product: [Fedora] Fedora Reporter: Ahmed Nabil <ahmed0faraj>
Component: fedora-third-partyAssignee: Owen Taylor <otaylor>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: otaylor
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/97e112997f3b2dc527a7be38c13a799ca61ad489
Whiteboard: abrt_hash:dc153e43b3c7784c0bb2df750986cca9538ebc01;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-20 15:49:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Ahmed Nabil 2021-10-12 17:35:34 UTC
Version-Release number of selected component:
fedora-third-party-0.6-1.fc36

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-983.slice/session-c1.scope
cmdline:        /usr/bin/python3 /usr/bin/fedora-third-party enable
crash_function: check_call
exception_type: subprocess.CalledProcessError
executable:     /usr/bin/fedora-third-party
interpreter:    python3-3.10.0-1.fc36.x86_64
kernel:         5.15.0-0.rc4.33.fc36.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
subprocess.py:369:check_call:subprocess.CalledProcessError: Command '['flatpak', 'remote-add', '--from', 'flathub', '/usr/lib/fedora-third-party/conf.d/fedora-flathub.flatpakrepo']' returned non-zero exit status 1.

Traceback (most recent call last):
  File "/usr/bin/fedora-third-party", line 33, in <module>
    sys.exit(load_entry_point('fedora-third-party==0.6', 'console_scripts', 'fedora-third-party')())
  File "/usr/lib/python3.10/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.10/site-packages/click/core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.10/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/click/decorators.py", line 84, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/usr/lib/python3.10/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/fedora_third_party/cli.py", line 42, in enable
    repository.enable()
  File "/usr/lib/python3.10/site-packages/fedora_third_party/repository.py", line 94, in enable
    self.run_flatpak(['remote-add', '--from', self.name, self.flatpakrepo])
  File "/usr/lib/python3.10/site-packages/fedora_third_party/repository.py", line 89, in run_flatpak
    subprocess.check_call(command)
  File "/usr/lib64/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['flatpak', 'remote-add', '--from', 'flathub', '/usr/lib/fedora-third-party/conf.d/fedora-flathub.flatpakrepo']' returned non-zero exit status 1.

Local variables in innermost frame:
popenargs: (['flatpak', 'remote-add', '--from', 'flathub', '/usr/lib/fedora-third-party/conf.d/fedora-flathub.flatpakrepo'],)
kwargs: {}
retcode: 1
cmd: ['flatpak', 'remote-add', '--from', 'flathub', '/usr/lib/fedora-third-party/conf.d/fedora-flathub.flatpakrepo']

Potential duplicate: bug 2007075

Comment 1 Ahmed Nabil 2021-10-12 17:35:37 UTC
Created attachment 1832306 [details]
File: backtrace

Comment 2 Ahmed Nabil 2021-10-12 17:35:38 UTC
Created attachment 1832307 [details]
File: cpuinfo

Comment 3 Ahmed Nabil 2021-10-12 17:35:39 UTC
Created attachment 1832308 [details]
File: environ

Comment 4 Ahmed Nabil 2021-10-12 17:35:40 UTC
Created attachment 1832309 [details]
File: mountinfo

Comment 5 Ahmed Nabil 2021-10-12 17:35:41 UTC
Created attachment 1832310 [details]
File: namespaces

Comment 6 Ahmed Nabil 2021-10-12 17:35:42 UTC
Created attachment 1832311 [details]
File: open_fds

Comment 7 Owen Taylor 2021-10-20 15:49:36 UTC

*** This bug has been marked as a duplicate of bug 2001837 ***