laptop and a wrench

Bug

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, 2014 No Product Found
Bug ID Number NIM036130
SubmittedJune 16, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.3
Version FixedN/A
StatusFixed

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

Steps to Reproduce

Bug ID: NIM036130

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options