| Summary: | [abrt] rpmlint-1.5-5.fc19: TagsCheck.py:490:spell_check:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11: ordinal not in range(128) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Frank Büttner <bugzilla> | ||||||||
| Component: | rpmlint | Assignee: | Tom "spot" Callaway <tcallawa> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 19 | CC: | a.badger, bugzilla, lnie, manuel.wolfshant, tcallawa, tmz, twoerner, ville.skytta | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/ae4ce56179b9cddbf362a31599313cf0ea6ac018 | ||||||||||
| Whiteboard: | abrt_hash:f1fcd238921b970c73b097b804faeba1dddc956f | ||||||||||
| Fixed In Version: | rpmlint-1.5-6.fc19 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2013-12-20 01:49:52 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
Created attachment 831020 [details]
File: backtrace
Created attachment 831021 [details]
File: environ
What was the package being checked? If it's not in Fedora, could you post an URL to it and possibly upload it somewhere for testing? Created attachment 831260 [details]
The problematic rpm file.
I can imagine that, the problem is the special character "ö".
Or can't rpm deal with latin1 characters?
rpmlint didn't do the right thing with non-ASCII chars in package names. Fixed upstream: http://sf.net/p/rpmlint/code/ci/9844a91/ rpmlint-1.5-6.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/rpmlint-1.5-6.fc18 rpmlint-1.5-6.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/rpmlint-1.5-6.fc19 rpmlint-1.5-6.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/rpmlint-1.5-6.fc20 1.5-6.fc20 works fine Package rpmlint-1.5-6.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rpmlint-1.5-6.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23341/rpmlint-1.5-6.fc20 then log in and leave karma (feedback). rpmlint-1.5-6.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. rpmlint-1.5-6.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. rpmlint-1.5-6.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: simple call rpmlint to check an package Version-Release number of selected component: rpmlint-1.5-5.fc19 Additional info: reporter: libreport-2.1.9 cmdline: /usr/bin/python -ttOu /usr/bin/rpmlint 'navit-zubeh\xc3\xb6r-0.5.0-5723.fc19.x86_64.rpm' executable: /usr/bin/rpmlint kernel: 3.11.9-200.fc19.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: TagsCheck.py:490:spell_check:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11: ordinal not in range(128) Traceback (most recent call last): File "/usr/bin/rpmlint", line 378, in <module> main() File "/usr/bin/rpmlint", line 168, in main runChecks(pkg) File "/usr/bin/rpmlint", line 228, in runChecks check.check(pkg) File "/usr/share/rpmlint/TagsCheck.py", line 686, in check self.check_summary(pkg, lang, ignored_words) File "/usr/share/rpmlint/TagsCheck.py", line 887, in check_summary spell_check(pkg, utf8summary, 'Summary(%s)', lang, ignored_words) File "/usr/share/rpmlint/TagsCheck.py", line 490, in spell_check if uppername in upperword or upperword in upperparts: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 11: ordinal not in range(128) Local variables in innermost frame: upperparts: ['NAVIT', 'ZUBEH\xc3\xb6R', "NAVIT'S", "ZUBEH\xc3\xb6R'S"] ignored: set(['', 'navit-zubeh\xc3\xb6r', 'share', 'rpmlib(CompressedFileNames)', 'rpmlib(PayloadIsXz)', 'man1', 'libglib-2.0.so.0()(64bit)', 'maptool', 'libc.so.6(GLIBC_2.2.5)(64bit)', 'usr', 'man', 'bin', 'libc.so.6(GLIBC_2.3)(64bit)', 'libc.so.6(GLIBC_2.14)(64bit)', 'libpthread.so.0(GLIBC_2.2.5)(64bit)', 'rpmlib(FileDigests)', 'navit-zubeh\xc3\xb6r(x86-64)', 'libc.so.6(GLIBC_2.3.4)(64bit)', 'libm.so.6(GLIBC_2.15)(64bit)', 'libz.so.1()(64bit)', 'libgmodule-2.0.so.0()(64bit)', 'libm.so.6()(64bit)', 'rtld(GNU_HASH)', 'libgthread-2.0.so.0()(64bit)', 'libc.so.6(GLIBC_2.4)(64bit)', 'rpmlib(PayloadFilesHavePrefix)', 'libc.so.6()(64bit)', 'libpq.so.5()(64bit)', 'maptool.1.gz', 'libpthread.so.0()(64bit)', 'libm.so.6(GLIBC_2.2.5)(64bit)']) uppername: 'NAVIT-ZUBEH\xc3\xb6R' lang: 'en_US' err: <enchant.checker.SpellChecker instance at 0x2a44b00> warned: set([]) fmt: 'Summary(%s)' checker: <enchant.checker.SpellChecker instance at 0x2a44b00> upperword: u'NAVIT' str: u'Tools for navit' dict_found: True x: 'ZUBEH\xc3\xb6R' ups: ["NAVIT'S", "ZUBEH\xc3\xb6R'S"] pkg: <Pkg.Pkg instance at 0x27b9560>