Bug 1049628

Summary: [abrt] python-libs: BaseHTTPServer.py:589:test:ValueError: invalid literal for int() with base 10: '-h'
Product: [Fedora] Fedora Reporter: igor.redhat <igor.redhat>
Component: pythonAssignee: Matej Stuchlik <mstuchli>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: bkabrda, d33tah, dmalcolm, igor.redhat, ivazqueznet, jberan, jonathansteffan, mstuchli, tomspur, tradej
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/6629b4d9c7210045d170d5842d836036bfc81f25
Whiteboard: abrt_hash:2ec2f3de8f08f31ab0049c8ffda23e290b8ed59c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 14:14:45 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 igor.redhat@gmail.com 2014-01-07 21:32:07 UTC
Description of problem:
This happens when I run the following command:

python -m SimpleHTTPServer --help

This is 100% reproducible for me atm.

Version-Release number of selected component:
python-libs-2.7.5-9.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        python -m SimpleHTTPServer -h
executable:     /usr/lib64/python2.7/SimpleHTTPServer.py
kernel:         3.12.5-302.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            500

Truncated backtrace:
BaseHTTPServer.py:589:test:ValueError: invalid literal for int() with base 10: '-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/SimpleHTTPServer.py", line 220, in <module>
    test()
  File "/usr/lib64/python2.7/SimpleHTTPServer.py", line 216, in test
    BaseHTTPServer.test(HandlerClass, ServerClass)
  File "/usr/lib64/python2.7/BaseHTTPServer.py", line 589, in test
    port = int(sys.argv[1])
ValueError: invalid literal for int() with base 10: '-h'

Local variables in innermost frame:
HandlerClass: <class __main__.SimpleHTTPRequestHandler at 0x7f42c4e99e88>
ServerClass: <class BaseHTTPServer.HTTPServer at 0x7f42c5bafae0>
protocol: 'HTTP/1.0'

Comment 1 igor.redhat@gmail.com 2014-01-07 21:32:11 UTC
Created attachment 846844 [details]
File: backtrace

Comment 2 igor.redhat@gmail.com 2014-01-07 21:32:14 UTC
Created attachment 846845 [details]
File: environ

Comment 3 Fedora Admin XMLRPC Client 2015-05-12 12:02:46 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora End Of Life 2015-05-29 10:22:34 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2015-06-29 14:14:45 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.