Author mmokrejs
Recipients mmokrejs
Date 2009-01-12.16:26:55
SpamBayes Score 0.00620771
Marked as misclassified No
Message-id <1231777617.86.0.584511455662.issue4925@psf.upfronthosting.co.za>
In-reply-to
Content
I think the following error output unsatisfactory as it does not give me
any hint what file was not found:

$ fetch_quals.py blah.txt 
Traceback (most recent call last):
  File "/home/mmokrejs/bin/fetch_quals.py", line 15, in <module>
    _p1 = subprocess.Popen(['query_tracedb', 'retrieve', 'quality',
_id], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
  File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
    errread, errwrite)
  File "/usr/lib/python2.5/subprocess.py", line 1091, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
$

I know now that I had to specify full path tot he binary or include
shell=True argument but anyway, please improve the error message.
History
Date User Action Args
2009-01-12 16:26:57mmokrejssetrecipients: + mmokrejs
2009-01-12 16:26:57mmokrejssetmessageid: <1231777617.86.0.584511455662.issue4925@psf.upfronthosting.co.za>
2009-01-12 16:26:56mmokrejslinkissue4925 messages
2009-01-12 16:26:56mmokrejscreate