Bug 2242590 - [abrt] podman-compose: get_excluded(): podman_compose.py:2019:get_excluded:KeyError: '.'
Summary: [abrt] podman-compose: get_excluded(): podman_compose.py:2019:get_excluded:Ke...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: podman-compose
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:8e73281e517bdd250b0c25fed67...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-07 07:43 UTC by Jan Vlug
Modified: 2024-05-31 08:39 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-31 08:39:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (734 bytes, text/plain)
2023-10-07 07:43 UTC, Jan Vlug
no flags Details
File: environ (4.99 KB, text/plain)
2023-10-07 07:43 UTC, Jan Vlug
no flags Details
File: cgroup (152 bytes, text/plain)
2023-10-07 07:43 UTC, Jan Vlug
no flags Details
File: mountinfo (4.82 KB, text/plain)
2023-10-07 07:43 UTC, Jan Vlug
no flags Details
File: open_fds (317 bytes, text/plain)
2023-10-07 07:43 UTC, Jan Vlug
no flags Details
File: namespaces (171 bytes, text/plain)
2023-10-07 07:43 UTC, Jan Vlug
no flags Details
File: backtrace (1.95 KB, text/plain)
2023-10-07 07:43 UTC, Jan Vlug
no flags Details
File: cpuinfo (2.96 KB, text/plain)
2023-10-07 07:43 UTC, Jan Vlug
no flags Details

Description Jan Vlug 2023-10-07 07:43:27 UTC
Version-Release number of selected component:
podman-compose-1.0.6-1.fc38

Additional info:
reporter:       libreport-2.17.11
kernel:         6.4.15-200.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/podman-compose up .
uid:            1000
reason:         podman_compose.py:2019:get_excluded:KeyError: '.'
executable:     /usr/bin/podman-compose
type:           Python3
package:        podman-compose-1.0.6-1.fc38
runlevel:       N 5
exception_type: KeyError
crash_function: get_excluded
interpreter:    python3-3.11.5-1.fc38.x86_64

Truncated backtrace:
podman_compose.py:2019:get_excluded:KeyError: '.'

Traceback (most recent call last):
  File "/usr/bin/podman-compose", line 33, in <module>
    sys.exit(load_entry_point('podman-compose==1.0.6', 'console_scripts', 'podman-compose')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/podman_compose.py", line 2940, in main
    podman_compose.run()
  File "/usr/lib/python3.11/site-packages/podman_compose.py", line 1422, in run
    cmd(self, args)
  File "/usr/lib/python3.11/site-packages/podman_compose.py", line 1753, in wrapped
    return func(*args, **kw)
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/podman_compose.py", line 2030, in compose_up
    excluded = get_excluded(compose, args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/podman_compose.py", line 2019, in get_excluded
    excluded -= compose.services[service]["_deps"]
                ~~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: '.'

Local variables in innermost frame:
compose: <podman_compose.PodmanCompose object at 0x7fb496d71a10>
args: Namespace(version=False, in_pod=False, pod_args='--infra=false --share=', env_file='.env', file=['docker-compose.yml'], project_name=None, podman_path='podman', podman_args=[], podman_pull_args=[], podman_push_args=[], podman_build_args=[], podman_inspect_args=[], podman_run_args=[], podman_start_args=[], podman_stop_args=[], podman_rm_args=[], podman_volume_args=[], no_ansi=False, no_cleanup=False, dry_run=False, command='up', detach=False, no_color=False, quiet_pull=False, no_deps=False, force_recreate=False, always_recreate_deps=False, no_recreate=False, no_build=False, no_start=False, build=False, abort_on_container_exit=False, timeout=None, renew_anon_volumes=False, remove_orphans=False, scale=None, exit_code_from=None, pull=False, pull_always=False, build_arg=[], no_cache=False, services=['.'])
excluded: {'lx'}
service: '.'

Comment 1 Jan Vlug 2023-10-07 07:43:31 UTC
Created attachment 1992613 [details]
File: os_info

Comment 2 Jan Vlug 2023-10-07 07:43:33 UTC
Created attachment 1992614 [details]
File: environ

Comment 3 Jan Vlug 2023-10-07 07:43:35 UTC
Created attachment 1992615 [details]
File: cgroup

Comment 4 Jan Vlug 2023-10-07 07:43:36 UTC
Created attachment 1992616 [details]
File: mountinfo

Comment 5 Jan Vlug 2023-10-07 07:43:38 UTC
Created attachment 1992617 [details]
File: open_fds

Comment 6 Jan Vlug 2023-10-07 07:43:39 UTC
Created attachment 1992618 [details]
File: namespaces

Comment 7 Jan Vlug 2023-10-07 07:43:41 UTC
Created attachment 1992619 [details]
File: backtrace

Comment 8 Jan Vlug 2023-10-07 07:43:42 UTC
Created attachment 1992620 [details]
File: cpuinfo

Comment 9 Aoife Moloney 2024-05-31 08:39:08 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.