Work to get Drizzlepac to build and run under Windows revealed that the logging implemented in AstroDrizzle silently fails under Linux and Mac yets throws an Exception under Windows. The initial workaround is to turn off multiprocessing when running AstroDrizzle under Windows (as implemented under Drizzlepac PR #794).
The Python documentation discusses the best practice for performing logging while multiprocessing in this Section of the Logging Cookbook. This method will require setting up Socket Server/Client system within the code to manage the logs from each thread.
This issue does not significantly impact pipeline operations as it only affects the logs from the single-drizzle step, but it does cause problems for supporting this code on all platforms (particularly, Windows).
Issue HLA-423 was created on JIRA by Warren Hack:
Work to get Drizzlepac to build and run under Windows revealed that the logging implemented in AstroDrizzle silently fails under Linux and Mac yets throws an Exception under Windows. The initial workaround is to turn off multiprocessing when running AstroDrizzle under Windows (as implemented under Drizzlepac PR #794).
The Python documentation discusses the best practice for performing logging while multiprocessing in this Section of the Logging Cookbook. This method will require setting up Socket Server/Client system within the code to manage the logs from each thread.
This issue does not significantly impact pipeline operations as it only affects the logs from the single-drizzle step, but it does cause problems for supporting this code on all platforms (particularly, Windows).