Hide Forgot
Description of problem: 1) installed 2) dnf info<enter> Version-Release number of selected component: dnf-0.3.11-1.git7d717c7.fc19 Additional info: reporter: libreport-2.1.6 cmdline: /usr/bin/python /usr/bin/dnf info executable: /usr/bin/dnf kernel: 3.10.5-201.fc19.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: output.py:838:_enc:TypeError: object of type 'NoneType' has no len() Traceback (most recent call last): File "/usr/bin/dnf", line 35, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 292, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 64, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 133, in _main result, resultmsgs = cli.run() File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1295, in run return self.command.doCommand(self.base.basecmd, self.base.extcmds) File "/usr/lib/python2.7/site-packages/dnf/cli/commands.py", line 612, in doCommand '=' : clar, 'not in' : clai}) File "/usr/lib/python2.7/site-packages/dnf/cli/output.py", line 991, in listPkgs self.infoOutput(pkg, highlight=highlight) File "/usr/lib/python2.7/site-packages/dnf/cli/output.py", line 891, in infoOutput print(self.fmtKeyValFill(_("Description : "),self._enc(pkg.description))) File "/usr/lib/python2.7/site-packages/dnf/cli/output.py", line 838, in _enc if len(s) > 0: TypeError: object of type 'NoneType' has no len() Local variables in innermost frame: s: None self: <dnf.cli.cli.YumBaseCli object at 0x105dd90>
Created attachment 792490 [details] File: backtrace
Created attachment 792491 [details] File: environ
Thanks for the report, I can reproduce this with 'dnf info i2c-tools-python'.
Fixed by 521272b51abd1e15c93f51b874475bd66a926bbc on master. Fixed by 7bdc9e170d3ba8937be59c36b77cdfff2b45a557 on maint-f19.
dnf-0.3.11-3.git7bdc9e1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/dnf-0.3.11-3.git7bdc9e1.fc19
Package dnf-0.3.11-3.git7bdc9e1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-0.3.11-3.git7bdc9e1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-16487/dnf-0.3.11-3.git7bdc9e1.fc19 then log in and leave karma (feedback).
dnf-0.4.1-1.git55e6369.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnf-0.4.1-1.git55e6369.fc20
dnf-0.3.11-3.git7bdc9e1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.