Bug 1069814 - unhelpful rpmlint abort in DuplicatesCheck.py
Summary: unhelpful rpmlint abort in DuplicatesCheck.py
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: x86-64 Linux
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Dirk Mueller
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-24 22:51 UTC by Olaf Hering
Modified: 2017-11-30 11:07 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Hering 2017-11-24 22:51:04 UTC
It would be really helpful to wrap this "abort()" in an exception handler which prints exactly what file or thing rpmlint was actually working on:

[  726s] RPMLINT report:
[  726s] ===============
[  729s] 0 packages and 0 specfiles checked; 0 errors, 45 warnings.
[  729s] Traceback (most recent call last):
[  729s]   File "rpmlint.py", line 380, in <module>
[  729s]   File "rpmlint.py", line 166, in main
[  729s]   File "rpmlint.py", line 223, in runChecks
[  729s]   File "DuplicatesCheck.py", line 61, in check
[  729s] UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 102: ordinal not in range(128)
[  730s] 
[  730s] 
[  730s] swkjt03 failed "build 2ManDVD.spec" at Fri Nov 24 22:16:25 UTC 2017.