Print statements inside an in-proc script tool will lead to a <type 'exceptions.IOError'>: [Errno 9] Bad file descriptor" error."
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM036130
Submitted
June 16, 2008
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
9.3
Version Fixed
N/A
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
1. comment out (or remove) print statements from scripts from a script tool-or-2. Wrap print statements in a try/except like below: try: print "some statement" except IOError: pass