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'
Created attachment 846844 [details] File: backtrace
Created attachment 846845 [details] File: environ
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
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.
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.