Bug 1046661
| Summary: | [abrt] dnf: base.py:125:_add_repo_to_sack:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 129: ordinal not in range(128) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rodrigo de Farias Gomes <shpnft> | ||||||
| Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 20 | CC: | akozumpl, packaging-team-maint, pnemade, rholy | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/284105b374fb336f76a60d04e4c378a519182734 | ||||||||
| Whiteboard: | abrt_hash:6dc92e205f0b0324e3c89814b887352291b74b5f | ||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-01-02 08:03:06 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 841905 [details]
File: backtrace
Created attachment 841906 [details]
File: environ
*** This bug has been marked as a duplicate of bug 1044502 *** |
Description of problem: Steps to Reproduce: $ echo $LANG pt_BR.utf8 $ dnf makecache timer error about 'ascii' codec $env LANG=C dnf makecache timer no error: everything is ok. However, I have the package yum-plugin-local installed and dnf disable the _local repository. Additional info: Message about _local repository: """ Problem with repo '_local': Cannot prepare internal mirrorlist: realpath(file:/var/lib/yum/plugins/local) error: No such file or directory, disabling. """ Maybe the translated message cause the bug... Version-Release number of selected component: dnf-0.4.9-1.fc20 Additional info: reporter: libreport-2.1.10 cmdline: /usr/bin/python /usr/bin/dnf -v makecache timer executable: /usr/bin/dnf kernel: 3.12.5-302.fc20.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: base.py:125:_add_repo_to_sack:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 129: ordinal not in range(128) 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 260, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 63, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 122, in _main result, resultmsgs = cli.run() File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1471, in run return self.command.doCommand(self.base.basecmd, self.base.extcmds) File "/usr/lib/python2.7/site-packages/dnf/cli/commands.py", line 953, in doCommand self.base.fill_sack() # performs the md sync File "/usr/lib/python2.7/site-packages/dnf/base.py", line 214, in fill_sack self._add_repo_to_sack(r.id) File "/usr/lib/python2.7/site-packages/dnf/base.py", line 125, in _add_repo_to_sack msg = _("%s, disabling.") % str(e) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 129: ordinal not in range(128) Local variables in innermost frame: repo: <Repo _local> hrepo: <_hawkey.Repo object at 0x7f52bfe774f8> self: <dnf.cli.cli.BaseCli object at 0x1942410> e: RepoError() name: '_local'