Bug 1052105 - [abrt] fslint: fslint-gui:35:puts:TypeError: unsupported operand type(s) for +: 'GetoptError' and 'str'
Summary: [abrt] fslint: fslint-gui:35:puts:TypeError: unsupported operand type(s) for ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fslint
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pádraig Brady
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:ae3b3fda4141189dd45967fd27d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-13 10:33 UTC by Stanislav Graf
Modified: 2014-01-22 23:08 UTC (History)
3 users (show)

Fixed In Version: fslint-2.44-1.fc19
Clone Of:
Environment:
Last Closed: 2014-01-22 23:06:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (432 bytes, text/plain)
2014-01-13 10:34 UTC, Stanislav Graf
no flags Details
File: environ (3.30 KB, text/plain)
2014-01-13 10:34 UTC, Stanislav Graf
no flags Details

Description Stanislav Graf 2014-01-13 10:33:59 UTC
Description of problem:
Running as root:
# fslint-gui -h
Traceback (most recent call last):
  File "/usr/bin/fslint-gui", line 174, in <module>
    puts(msg)
  File "/usr/bin/fslint-gui", line 35, in puts
    sys.stdout.write(string+'\n')
TypeError: unsupported operand type(s) for +: 'GetoptError' and 'str'

Version-Release number of selected component:
fslint-2.42-7.fc20

Additional info:
reporter:       libreport-2.1.11
cmdline:        python /usr/bin/fslint-gui -h
executable:     /usr/bin/fslint-gui
kernel:         3.12.6-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
fslint-gui:35:puts:TypeError: unsupported operand type(s) for +: 'GetoptError' and 'str'

Traceback (most recent call last):
  File "/usr/bin/fslint-gui", line 174, in <module>
    puts(msg)
  File "/usr/bin/fslint-gui", line 35, in puts
    sys.stdout.write(string+'\n')
TypeError: unsupported operand type(s) for +: 'GetoptError' and 'str'

Local variables in innermost frame:
string: GetoptError('option -h not recognized', 'h')

Comment 1 Stanislav Graf 2014-01-13 10:34:04 UTC
Created attachment 849251 [details]
File: backtrace

Comment 2 Stanislav Graf 2014-01-13 10:34:06 UTC
Created attachment 849252 [details]
File: environ

Comment 3 Pádraig Brady 2014-01-13 11:48:07 UTC
This is handled with this upstream fix:
http://code.google.com/p/fslint/source/detail?r=283
I'll do a release ASAP

Comment 4 Fedora Update System 2014-01-13 15:58:57 UTC
fslint-2.44-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/fslint-2.44-1.fc19

Comment 5 Fedora Update System 2014-01-13 15:59:54 UTC
fslint-2.44-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/fslint-2.44-1.fc20

Comment 6 lnie 2014-01-14 06:23:54 UTC
tested with fslint-2.44-1.fc20,the crash is gone

Comment 7 Fedora Update System 2014-01-14 08:36:14 UTC
Package fslint-2.44-1.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 fslint-2.44-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0730/fslint-2.44-1.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-01-22 23:06:01 UTC
fslint-2.44-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-01-22 23:08:14 UTC
fslint-2.44-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.