Bug 1827800 - [abrt] podman-compose: flat_deps(): podman_compose.py:603:flat_deps:AttributeError: 'NoneType' object has no attribute 'items'
Summary: [abrt] podman-compose: flat_deps(): podman_compose.py:603:flat_deps:Attribute...
Keywords:
Status: CLOSED DUPLICATE of bug 1835484
Alias: None
Product: Fedora
Classification: Fedora
Component: podman-compose
Version: 31
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:1cbbc12c7e9df96b47b08e8f6b4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-24 20:08 UTC by Mohamed Baig
Modified: 2020-05-26 18:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-26 18:54:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (876 bytes, text/plain)
2020-04-24 20:08 UTC, Mohamed Baig
no flags Details
File: cpuinfo (2.34 KB, text/plain)
2020-04-24 20:08 UTC, Mohamed Baig
no flags Details
File: environ (5.70 KB, text/plain)
2020-04-24 20:08 UTC, Mohamed Baig
no flags Details
File: mountinfo (2.65 KB, text/plain)
2020-04-24 20:08 UTC, Mohamed Baig
no flags Details
File: namespaces (129 bytes, text/plain)
2020-04-24 20:08 UTC, Mohamed Baig
no flags Details
File: open_fds (231 bytes, text/plain)
2020-04-24 20:08 UTC, Mohamed Baig
no flags Details

Description Mohamed Baig 2020-04-24 20:08:23 UTC
Description of problem:
just tried to use poman-compose with docker-compose file

Version-Release number of selected component:
podman-compose-0.1.5-2.git20191107.fc31

Additional info:
reporter:       libreport-2.12.0
cgroup:         0::/user.slice/user-1000.slice/user/gnome-terminal-server.service
cmdline:        /usr/bin/python3 /usr/bin/podman-compose up
crash_function: flat_deps
exception_type: AttributeError
executable:     /usr/bin/podman-compose
interpreter:    python3-3.7.6-2.fc31.x86_64
kernel:         5.5.17-200.fc31.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
podman_compose.py:603:flat_deps:AttributeError: 'NoneType' object has no attribute 'items'

Traceback (most recent call last):
  File "/usr/bin/podman-compose", line 11, in <module>
    load_entry_point('podman-compose==0.1.6.dev0', 'console_scripts', 'podman-compose')()
  File "/usr/lib/python3.7/site-packages/podman_compose.py", line 1267, in main
    podman_compose.run()
  File "/usr/lib/python3.7/site-packages/podman_compose.py", line 741, in run
    self._parse_compose_file()
  File "/usr/lib/python3.7/site-packages/podman_compose.py", line 822, in _parse_compose_file
    flat_deps(services, with_extends=True)
  File "/usr/lib/python3.7/site-packages/podman_compose.py", line 603, in flat_deps
    for name, srv in services.items():
AttributeError: 'NoneType' object has no attribute 'items'

Local variables in innermost frame:
services: None
with_extends: True

Comment 1 Mohamed Baig 2020-04-24 20:08:25 UTC
Created attachment 1681638 [details]
File: backtrace

Comment 2 Mohamed Baig 2020-04-24 20:08:27 UTC
Created attachment 1681639 [details]
File: cpuinfo

Comment 3 Mohamed Baig 2020-04-24 20:08:28 UTC
Created attachment 1681640 [details]
File: environ

Comment 4 Mohamed Baig 2020-04-24 20:08:29 UTC
Created attachment 1681641 [details]
File: mountinfo

Comment 5 Mohamed Baig 2020-04-24 20:08:30 UTC
Created attachment 1681642 [details]
File: namespaces

Comment 6 Mohamed Baig 2020-04-24 20:08:31 UTC
Created attachment 1681643 [details]
File: open_fds

Comment 7 Gwyn Ciesla 2020-05-26 18:54:51 UTC

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


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