By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,820 Members | 1,081 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,820 IT Pros & Developers. It's quick & easy.

Error - "Bad file descriptor... command ID 36864..."

P: 34
Hello All,

I have a fairly simple script that runs fine, does what it is supposed to do, but generally on the second run (after running fine again) it throws the following error:
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\", line 341, in OnFileRun
scriptutils.RunScript(None, None, showDlg)
File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\" , line 342, in RunScript
IOError: [Errno 9] Bad file descriptor
win32ui: Error in Command Message handler for command ID 36864, Code 0

What is this about? How do I fix? Running 2.5 on XP.


Jul 1 '08 #1
Share this Question
Share on Google+
1 Reply

P: 314
Hard to say without seeing your code... Could you post the offending portion?
Jul 7 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.