package_control
package_control copied to clipboard
Package control freezes on package removal
- Delete all files in
C:\Users\Kaba\AppData\Roaming\Sublime Text 3\Packages\User
andC:\Users\Kaba\AppData\Roaming\Sublime Text 3\Installed Packages
. Reboot the computer. - Install latest
Sublime Text Build 3126 x64 Setup.exe
on Windows 10. - Install Package Control from the Sublime Text menu.
- Install "LatexTools" package.
- Remove "LatexTools" package.
This freezes Sublime Text, so I cannot access the debug log. But here is a screenshot of the last moments:
This indeed reveals a Windows PermissionError, where the package control cannot access its file.
Probably related to:
- https://github.com/SublimeText/LaTeXTools/issues/1226 Autocompletion is slow and sometimes it is blocking Sublime Text for ever with 0% CPU usage
Sublime Text has a bug which causes it to enter on a deadlock state when reloading/unloading settings or packages files:
- https://github.com/SublimeTextIssues/Core/issues/1966 Deadlock/hang when batch deleting/creating settings files
If you kill the process plugin_host.exe
Sublime Text unhangs and you can save your work.
Just FYI, I get this hang when removing GitGutter (and a couple of few more I don't remember, in the past), on OS X.
Package Control 4 resolves this issue.
- Depedencies don't need a 00_package_control_loader which was involved here
- Several changes were made to reduce the risk of hitting locked files or folders during package operations.
- Several race conditions which could be the root cause of most of the trouble are fixed.