Bug #63052 Workbench doesn't want to start after upgrade
Submitted: 31 Oct 2011 23:47 Modified: 1 Nov 2011 4:52
Reporter: Marc Schipperheyn Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[31 Oct 2011 23:47] Marc Schipperheyn
Description:
After upgrading Mysql workbench 5.2.33 and 5.2.35

Exception = System.UnauthorizedAccessException
Message = Access to the path 'C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE\python\ctypes\_endian.pyc' is denied.
FullText = System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE\python\ctypes\_endian.pyc' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.Delete(String path)
   at MySQL.GUI.Workbench.Program.RemoveCompiledPythonFiles(String folder)
   at MySQL.GUI.Workbench.Program.RemoveCompiledPythonFiles(String folder)
   at MySQL.GUI.Workbench.Program.RemoveCompiledPythonFiles(String folder)
   at MySQL.GUI.Workbench.Program.Main(String[] Args)

How to repeat:
After upgrading Mysql workbench 5.2.33 and 5.2.35

Exception = System.UnauthorizedAccessException
Message = Access to the path 'C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE\python\ctypes\_endian.pyc' is denied.
FullText = System.UnauthorizedAccessException: Access to the path 'C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE\python\ctypes\_endian.pyc' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.Delete(String path)
   at MySQL.GUI.Workbench.Program.RemoveCompiledPythonFiles(String folder)
   at MySQL.GUI.Workbench.Program.RemoveCompiledPythonFiles(String folder)
   at MySQL.GUI.Workbench.Program.RemoveCompiledPythonFiles(String folder)
   at MySQL.GUI.Workbench.Program.Main(String[] Args)
[1 Nov 2011 0:06] Marc Schipperheyn
After running workbench as Administrator and then restarting normally, the problem went away
[1 Nov 2011 4:52] Valeriy Kravchuk
This is a duplicate of bug #62709.