Author jwilk
Recipients jwilk
Date 2018-01-03.21:34:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515015271.6.0.467229070634.issue32490@psf.upfronthosting.co.za>
In-reply-to
Content
Python 3.6.4 (default, Jan  3 2018, 21:10:22) 
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import subprocess
>>> subprocess.call('nonexistent')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/subprocess.py", line 267, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/local/lib/python3.6/subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "/usr/local/lib/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent': 'nonexistent'


Note that the name of the missing file is mentioned twice in the error message.
(Strictly speaking it's once in the message, and once in the filename attribute, but for a casual observer, the effect is the same.)
History
Date User Action Args
2018-01-03 21:34:31jwilksetrecipients: + jwilk
2018-01-03 21:34:31jwilksetmessageid: <1515015271.6.0.467229070634.issue32490@psf.upfronthosting.co.za>
2018-01-03 21:34:31jwilklinkissue32490 messages
2018-01-03 21:34:31jwilkcreate