Bug 1718768 - AttributeError: 'Goal' object has no attribute 'problems'
Summary: AttributeError: 'Goal' object has no attribute 'problems'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmdeplint
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Callaghan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-10 07:43 UTC by Bruno Goncalves
Modified: 2019-06-20 03:52 UTC (History)
3 users (show)

Fixed In Version: rpmdeplint-1.4-9.fc30 rpmdeplint-1.4-9.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-11 02:41:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bruno Goncalves 2019-06-10 07:43:19 UTC
Description of problem:

rpmdeplint raises this exception when checking conflicts and if found some conflicts with the package.

Version-Release number of selected component (if applicable):
rpmdeplint-1.4-8.fc30.noarch

How reproducible:
100%

Steps to Reproduce:
1.run rpmdeplint check-conflicts with rpms that have a valid conflict.


Actual results:
It raises the exception
Traceback (most recent call last):
  File "/usr/bin/rpmdeplint", line 11, in <module>
    load_entry_point('rpmdeplint==1.4', 'console_scripts', 'rpmdeplint')()
  File "/usr/lib/python3.7/site-packages/rpmdeplint/cli.py", line 232, in main
    return args.func(args)
  File "/usr/lib/python3.7/site-packages/rpmdeplint/cli.py", line 87, in cmd_check_conflicts
    conflicts = analyzer.find_conflicts()
  File "/usr/lib/python3.7/site-packages/rpmdeplint/__init__.py", line 355, in find_conflicts
    if not self._packages_can_be_installed_together(package, conflicting):
  File "/usr/lib/python3.7/site-packages/rpmdeplint/__init__.py", line 266, in _packages_can_be_installed_together
    if g.problems and 'conflicts' in g.problems[0]:
AttributeError: 'Goal' object has no attribute 'problems'

Expected results:
Report the conflict it found.

Comment 2 Fedora Update System 2019-06-10 11:25:12 UTC
FEDORA-2019-aaaf8a7b5a has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-aaaf8a7b5a

Comment 3 František Zatloukal 2019-06-10 11:27:31 UTC
Bruno,

can you try https://bodhi.fedoraproject.org/updates/FEDORA-2019-aaaf8a7b5a (and give it a karma if it works for you)?

Thanks!

Comment 4 Bruno Goncalves 2019-06-10 11:41:52 UTC
Thanks it works for me.

Tested with rpmdeplint-1.4-9.fc30.noarch

Comment 6 Fedora Update System 2019-06-11 01:45:27 UTC
rpmdeplint-1.4-9.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-10a9a164fb

Comment 7 Fedora Update System 2019-06-11 02:41:39 UTC
rpmdeplint-1.4-9.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2019-06-20 03:52:37 UTC
rpmdeplint-1.4-9.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


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