Bug 1727830 - [abrt] python3-libs: module(): server.py:1249:<module>:FileNotFoundError: [Errno 2] No such file or directory
Summary: [abrt] python3-libs: module(): server.py:1249:<module>:FileNotFoundError: [Er...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: python3
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Charalampos Stratakis
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:361c466dccc89d46b4da1699b41...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-08 10:09 UTC by Miro Hrončok
Modified: 2019-08-06 13:30 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-06 13:30:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (4.57 KB, text/plain)
2019-07-08 10:09 UTC, Miro Hrončok
no flags Details
File: cgroup (341 bytes, text/plain)
2019-07-08 10:09 UTC, Miro Hrončok
no flags Details
File: cpuinfo (1.55 KB, text/plain)
2019-07-08 10:09 UTC, Miro Hrončok
no flags Details
File: environ (3.73 KB, text/plain)
2019-07-08 10:09 UTC, Miro Hrončok
no flags Details
File: mountinfo (3.32 KB, text/plain)
2019-07-08 10:09 UTC, Miro Hrončok
no flags Details
File: namespaces (129 bytes, text/plain)
2019-07-08 10:09 UTC, Miro Hrončok
no flags Details
File: open_fds (249 bytes, text/plain)
2019-07-08 10:09 UTC, Miro Hrončok
no flags Details

Description Miro Hrončok 2019-07-08 10:09:18 UTC
Description of problem:
$ mkdir tobedelted
$ cd tobedelted
$ rmdir ../tobedelted
$ python3 -m http.server 
Traceback (most recent call last):
  File "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib64/python3.7/http/server.py", line 1249, in <module>
    parser.add_argument('--directory', '-d', default=os.getcwd(),
FileNotFoundError: [Errno 2] No such file or directory

Version-Release number of selected component:
python3-libs-3.7.3-3.fc30

Additional info:
reporter:       libreport-2.10.0
cmdline:        python -m http.server
crash_function: module
exception_type: FileNotFoundError
executable:     /usr/lib64/python3.7/http/server.py
kernel:         5.1.15-300.fc30.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
#1 [/usr/lib64/python3.7/http/server.py:1249] <module>
#2 [/usr/lib64/python3.7/runpy.py:85] _run_code
#3 [/usr/lib64/python3.7/runpy.py:193] _run_module_as_main

Comment 1 Miro Hrončok 2019-07-08 10:09:21 UTC
Created attachment 1588321 [details]
File: backtrace

Comment 2 Miro Hrončok 2019-07-08 10:09:22 UTC
Created attachment 1588322 [details]
File: cgroup

Comment 3 Miro Hrončok 2019-07-08 10:09:24 UTC
Created attachment 1588323 [details]
File: cpuinfo

Comment 4 Miro Hrončok 2019-07-08 10:09:27 UTC
Created attachment 1588324 [details]
File: environ

Comment 5 Miro Hrončok 2019-07-08 10:09:29 UTC
Created attachment 1588325 [details]
File: mountinfo

Comment 6 Miro Hrončok 2019-07-08 10:09:30 UTC
Created attachment 1588326 [details]
File: namespaces

Comment 7 Miro Hrončok 2019-07-08 10:09:31 UTC
Created attachment 1588327 [details]
File: open_fds

Comment 8 Miro Hrončok 2019-08-06 13:30:46 UTC
This is clearly not a supported scenario.


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