Bug 2213826
| Summary: | [abrt] python3-ansible-lint: get_cache_dir(): prerun.py:13:get_cache_dir:AttributeError: 'str' object has no attribute 'resolve' | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | vastefairetaperconnard | ||||||||||||||
| Component: | python-ansible-compat | Assignee: | chedi toueiti <chedi.toueiti> | ||||||||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||
| Priority: | unspecified | ||||||||||||||||
| Version: | 37 | CC: | chedi.toueiti, kevin, maxwell | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||||
| Target Release: | --- | ||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/0de91219c6c42292d06afecb091bb7988310b242 | ||||||||||||||||
| Whiteboard: | abrt_hash:c5641727f0be9df4880e0686f8310f3b3f4c5a71;VARIANT_ID=workstation; | ||||||||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||
| Last Closed: | 2023-08-03 06:55:11 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: |
|
||||||||||||||||
Created attachment 1969933 [details]
File: backtrace
Created attachment 1969934 [details]
File: cpuinfo
Created attachment 1969935 [details]
File: environ
Created attachment 1969936 [details]
File: mountinfo
Created attachment 1969937 [details]
File: namespaces
Created attachment 1969938 [details]
File: open_fds
This happened due to new update of ansible-compat in F37 The last known ansible-lint build is ansible-lint-6.10.0-1.fc37 which is working fine with python-ansible-compat-2.2.7-9.fc37 but then python-ansible-compat directly got an update to 4.0.4-1.fc37 which broke ansible-lint command. *** This bug has been marked as a duplicate of bug 2213747 *** |
Version-Release number of selected component: python3-ansible-lint-1:6.10.0-1.fc37 Additional info: reporter: libreport-2.17.10 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/vte-spawn-ada89781-1509-4942-855a-0c02cc652348.scope cmdline: /usr/bin/python3 -sP /usr/bin/ansible-lint --version crash_function: get_cache_dir exception_type: AttributeError executable: /usr/bin/ansible-lint interpreter: python3-3.11.3-2.fc37.x86_64 kernel: 6.3.5-100.fc37.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: prerun.py:13:get_cache_dir:AttributeError: 'str' object has no attribute 'resolve' Traceback (most recent call last): File "/usr/bin/ansible-lint", line 8, in <module> sys.exit(_run_cli_entrypoint()) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/ansiblelint/__main__.py", line 344, in _run_cli_entrypoint sys.exit(main(sys.argv)) ^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/ansiblelint/__main__.py", line 197, in main initialize_options(argv[1:]) File "/usr/lib/python3.11/site-packages/ansiblelint/__main__.py", line 110, in initialize_options options.cache_dir = get_cache_dir(options.project_dir) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/ansible_compat/prerun.py", line 13, in get_cache_dir basename = project_dir.resolve().name.encode(encoding="utf-8") ^^^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'resolve' Local variables in innermost frame: project_dir: '.'