Print statements inside an in-proc script tool will lead to a <type 'exceptions.IOError'>: [Errno 9] Bad file descriptor" error."
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM036130
已提交
June 16, 2008
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.3
修正版本
N/A
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
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