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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jld730
    New Member
    • Apr 2007
    • 34

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

    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\Li b\site-packages\python win\pywin\frame work\intpyapp.p y", line 341, in OnFileRun
    scriptutils.Run Script(None, None, showDlg)
    File "C:\Python25\Li b\site-packages\python win\pywin\frame work\scriptutil s.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
  • jlm699
    Contributor
    • Jul 2007
    • 314

    #2
    Hard to say without seeing your code... Could you post the offending portion?

    Comment

    Working...