Bug 1167416 - [abrt] python-libs: tool.py:21:main:IOError: [Errno 2] No such file or directory: '-h'
Summary: [abrt] python-libs: tool.py:21:main:IOError: [Errno 2] No such file or direct...
Keywords:
Status: CLOSED DUPLICATE of bug 1159316
Alias: None
Product: Fedora
Classification: Fedora
Component: python
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bohuslav "Slavek" Kabrda
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:ed731e46e282d8291d35a9b9961...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-24 17:02 UTC by Christian Mehlis
Modified: 2014-11-24 17:33 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-11-24 17:33:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (570 bytes, text/plain)
2014-11-24 17:02 UTC, Christian Mehlis
no flags Details
File: environ (3.03 KB, text/plain)
2014-11-24 17:03 UTC, Christian Mehlis
no flags Details

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 ***


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