| Summary: | Attribute Error: 'Query' object has no attribute 'na_dict' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Peter Trenholme <PTrenholme> |
| Component: | yumex-dnf | Assignee: | Björn 'besser82' Esser <besser82> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 26 | CC: | chepioq, pwhalen, tla |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-09 20:50:09 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Still affects Rawhide using 'yumex-dnf-4.3.3-2.fc25.noarch' *** Bug 1400279 has been marked as a duplicate of this bug. *** same problem with python3.6 :
g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/dbus/service.py", line 707, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/python3.6/site-packages/dnfdaemon/server/__init__.py", line 83, in newFunc
rc = func(*args, **kwargs)
File "/usr/share/dnfdaemon/dnfdaemon-system", line 207, in SetConfig
rc = self.set_option(setting, value)
File "/usr/lib/python3.6/site-packages/dnfdaemon/server/__init__.py", line 680, in set_option
if hasattr(self.base.conf, option):
File "/usr/lib/python3.6/site-packages/dnfdaemon/server/__init__.py", line 202, in base
self._get_base()
File "/usr/lib/python3.6/site-packages/dnfdaemon/server/__init__.py", line 1054, in _get_base
self._base.setup_base()
File "/usr/lib/python3.6/site-packages/dnfdaemon/server/backend.py", line 71, in setup_base
self._packages = Packages(self)
File "/usr/lib/python3.6/site-packages/dnfdaemon/server/backend.py", line 273, in __init__
self._inst_na = self._sack.query().installed().na_dict()
AttributeError: 'Query' object has no attribute 'na_dict'
(36)
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Should be fixed in recent version of `dnfdaemon`. |
Description of problem: AttributeError: 'Query' object has no attribute 'na_dict' Version-Release number of selected component (if applicable): 4.3.3.2.fc25 How reproducible: Every time Steps to Reproduce: Start yumex-dnf in a terminal window. Actual results: Python trace-back (See below: Additional info section.) Note that attempting to start the app from the .desktop file results in no display, but (as far as I recall since I seldom use the desktop files) no abrt action. Expected results: Normal running Additional info: g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last): File "/usr/lib64/python3.5/site-packages/dbus/service.py", line 707, in _message_cb retval = candidate_method(self, *args, **keywords) File "/usr/lib/python3.5/site-packages/dnfdaemon/server/__init__.py", line 83, in newFunc rc = func(*args, **kwargs) File "/usr/share/dnfdaemon/dnfdaemon-system", line 207, in SetConfig rc = self.set_option(setting, value) File "/usr/lib/python3.5/site-packages/dnfdaemon/server/__init__.py", line 680, in set_option if hasattr(self.base.conf, option): File "/usr/lib/python3.5/site-packages/dnfdaemon/server/__init__.py", line 202, in base self._get_base() File "/usr/lib/python3.5/site-packages/dnfdaemon/server/__init__.py", line 1054, in _get_base self._base.setup_base() File "/usr/lib/python3.5/site-packages/dnfdaemon/server/backend.py", line 71, in setup_base self._packages = Packages(self) File "/usr/lib/python3.5/site-packages/dnfdaemon/server/backend.py", line 273, in __init__ self._inst_na = self._sack.query().installed().na_dict() AttributeError: 'Query' object has no attribute 'na_dict' (36)