Version-Release number of selected component: dnf-1.1.5-1.fc23 Additional info: reporter: libreport-2.6.4 cmdline: /usr/bin/python3 /bin/dnf search nodejs executable: /bin/dnf kernel: 4.2.8-300.fc23.x86_64 runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: i18n.py:44:write:UnicodeEncodeError: 'ascii' codec can't encode character '\u201c' in position 53: ordinal not in range(128) Traceback (most recent call last): File "/bin/dnf", line 57, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 174, in user_main errcode = main(args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 60, in main return _main(base, args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 112, in _main cli.run() File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 1095, in run return self.command.run(self.base.extcmds) File "/usr/lib/python3.4/site-packages/dnf/cli/commands/search.py", line 106, in run return self._search(extcmds) File "/usr/lib/python3.4/site-packages/dnf/cli/commands/search.py", line 81, in _search args) File "/usr/lib/python3.4/site-packages/dnf/cli/output.py", line 784, in matchcallback print(msg) File "/usr/lib/python3.4/site-packages/dnf/i18n.py", line 44, in write self.stream.write(s) UnicodeEncodeError: 'ascii' codec can't encode character '\u201c' in position 53: ordinal not in range(128) Local variables in innermost frame: self: <dnf.i18n.UnicodeStream object at 0x7fc20202bd68> s: '\x1b[1mnodejs\x1b(B\x1b[m-es-to-primitive.noarch : ECMAScript “ToPrimitive” algorithm'
Created attachment 1135846 [details] File: _var_log_dnf.log
Created attachment 1135847 [details] File: backtrace
Created attachment 1135848 [details] File: dnf-makecache.log
Created attachment 1135849 [details] File: environ
I am sorry but can't reproduce it. You even have LANG=C. Probably the `nodejs-es-to-primitive` was fixed and released again. IF you still experience this, please, reopen.
Hi I can still reproduce the bug with the latest updates Traceback (most recent call last): File "/usr/bin/dnf", line 58, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 174, in user_main errcode = main(args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 60, in main return _main(base, args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 112, in _main cli.run() File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 1095, in run return self.command.run(self.base.extcmds) File "/usr/lib/python3.4/site-packages/dnf/cli/commands/search.py", line 106, in run return self._search(extcmds) File "/usr/lib/python3.4/site-packages/dnf/cli/commands/search.py", line 81, in _search args) File "/usr/lib/python3.4/site-packages/dnf/cli/output.py", line 784, in matchcallback print(msg) File "/usr/lib/python3.4/site-packages/dnf/i18n.py", line 44, in write self.stream.write(s) UnicodeEncodeError: 'ascii' codec can't encode character '\u201c' in position 53: ordinal not in range(128)
Could you please upload somewhere your /var/cache/dnf/fedora* and /var/cache/dnf/updates* folders and attach your dnf.librepo.log to this bugreport?
Created attachment 1141893 [details] dnf.librepo.log
uploading 172M archive of the /var/cache/dnf/{updates,fedora}* content is quite complicated. I have just recently executed dnf distro-sync, so it is the actual state. Please provide me a patch with more debugging or whatever else you need and I will apply it
Can you upload your content if /etc/yum.repos.d/ directory and then try again `dnf search nodejs --refresh` whether you can still reproduce it, please?
Created attachment 1143413 [details] yum.repos Yes, I can still reproduce the bug
*** This bug has been marked as a duplicate of bug 1279204 ***