Author nikratio
Recipients nikratio
Date 2010-07-28.16:03:39
SpamBayes Score 0.000171397
Marked as misclassified No
Message-id <>
The attached test program calls apply_async with a function that will raise CalledProcessError. However, when result.get() is called, it raises a TypeError and the program hangs:

$ ./
Traceback (most recent call last):
  File "./", line 19, in run_with
    dW1 = run_dcon()
  File "./", line 26, in run_dcon
    subprocess.check_call(['dcon'], stdout=fh, stderr=fh)
  File "/usr/lib/python2.6/", line 498, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['dcon']' returned non-zero exit status 127
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/", line 532, in __bootstrap_inner
  File "/usr/lib/python2.6/", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.6/multiprocessing/", line 259, in _handle_results
    task = get()
TypeError: ('__init__() takes exactly 3 arguments (1 given)', <class 'subprocess.CalledProcessError'>, ())
Date User Action Args
2010-07-28 16:03:47nikratiosetrecipients: + nikratio
2010-07-28 16:03:47nikratiosetmessageid: <>
2010-07-28 16:03:40nikratiolinkissue9400 messages
2010-07-28 16:03:40nikratiocreate