Menu

#565 Windows Installer: close failed in file object destructor

closed-duplicate
nobody
win32 (141)
5
2015-01-05
2011-09-01
Bryan Cook
No

When running through pywin32-216.win-amd64-py2.7.exe on Windows Server 2008 R2, I got the following message on the 'Finish' screen of the Installation Wizard ...

close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr

... does this negatively impact the installation at all?

Discussion

  • Bryan Cook

    Bryan Cook - 2011-09-01

    Installation Wizard Error

     
  • Enrico Tröger

    Enrico Tröger - 2011-09-07

    We got the same problem here.

    Some more details:
    - Windows 2008 R2 Datacenter SP1
    - Python 2.7.2 64bit
    - PyWin32 pywin32-216.win-amd64-py2.7.exe

    What we also noticed:
    - in the Datacenter edition with SP1 it works as user, even with admin privileges but it won't work when installed as the user Administrator (i.e. showing the error messages in the OP's report)
    - it worked in Windows Server 2008 R2 Standard even as user Administrator

    Could the fix in [1] be related to this problem?

    [1] http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/rev/a64d8ac23e61

     
  • Mark Hammond

    Mark Hammond - 2011-09-08
    • status: open --> closed-duplicate
     
  • Mark Hammond

    Mark Hammond - 2011-09-08

    There is another open bug on this, so I'm closing this as a duplicate. To ensure the post install process completes, you can just run "python scripts\pywin32_postinstall.py -install" at any time. Also, the change you mention should be the fix for this problem - it is just that a new release is yet to be made with that patch in place.