You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dnfdaemon is throwing me out the following error: Failed loading plugin "debuginfo-install": module 'dnf' has no attribute 'cli'
I've looked at the code of debuginfo-install.py and found only: import dnf
line.
Considering 'cli' module resides in its own subdirectory, shouldn't there be also a line: import dnf.cli
there? Or, any 'cli' being referenced as 'dnf.cli' (and not just 'cli')?
I've manually added this import line, and it seems to resolve the issue (that error is not logged anymore at least).
The text was updated successfully, but these errors were encountered:
Hi, thanks for the report. It seems that when the debuginfo-install plugin is used by dnf itself, the dnf.cli module is imported by some other script beforehand, so it's working. However, as you've pointed out, it should be referenced directly in debuginfo-install.py.
dnfdaemon is throwing me out the following error:
Failed loading plugin "debuginfo-install": module 'dnf' has no attribute 'cli'
I've looked at the code of debuginfo-install.py and found only:
import dnf
line.
Considering 'cli' module resides in its own subdirectory, shouldn't there be also a line:
import dnf.cli
there? Or, any 'cli' being referenced as 'dnf.cli' (and not just 'cli')?
I've manually added this import line, and it seems to resolve the issue (that error is not logged anymore at least).
The text was updated successfully, but these errors were encountered: