Bug 1167416

Summary: [abrt] python-libs: tool.py:21:main:IOError: [Errno 2] No such file or directory: '-h'
Product: [Fedora] Fedora Reporter: Christian Mehlis <mehlis>
Component: pythonAssignee: Bohuslav "Slavek" Kabrda <bkabrda>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: bkabrda, dmalcolm, ivazqueznet, jonathansteffan, mstuchli, ncoghlan, rkuska, tomspur, tradej
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/8199d9a459708f138553e4750e0870afeb7b29d4
Whiteboard: abrt_hash:ed731e46e282d8291d35a9b99616e4668283ac9a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-24 17:33:47 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:
Description Flags
File: backtrace
none
File: environ none

Description Christian Mehlis 2014-11-24 17:02:56 UTC
Version-Release number of selected component:
python-libs-2.7.5-13.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        python -m json.tool -h
executable:     /usr/lib64/python2.7/json/tool.py
kernel:         3.15.10-201.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
tool.py:21:main:IOError: [Errno 2] No such file or directory: '-h'

Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib64/python2.7/json/tool.py", line 40, in <module>
    main()
  File "/usr/lib64/python2.7/json/tool.py", line 21, in main
    infile = open(sys.argv[1], 'rb')
IOError: [Errno 2] No such file or directory: '-h'

Local variables in innermost frame:

Comment 1 Christian Mehlis 2014-11-24 17:02:59 UTC
Created attachment 960879 [details]
File: backtrace

Comment 2 Christian Mehlis 2014-11-24 17:03:00 UTC
Created attachment 960880 [details]
File: environ

Comment 3 Thomas Spura 2014-11-24 17:33:47 UTC

*** This bug has been marked as a duplicate of bug 1159316 ***