Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

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

Question posted by: jld730 (Member) on July 1st, 2008 07:55 PM
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\intpyapp.py", line 341, in OnFileRun
scriptutils.RunScript(None, None, showDlg)
File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 342, in RunScript
f.close()
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.

Thanks,

jenn
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
jlm699's Avatar
jlm699
Needs Regular Fix
313 Posts
July 7th, 2008
12:12 PM
#2

Re: Error - "Bad file descriptor... command ID 36864..."
Hard to say without seeing your code... Could you post the offending portion?

Reply
Reply
Not the answer you were looking for? Post your question . . .
182,081 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Top Python Forum Contributors