Sublime Forum

No Package Control after updating to Sublime Text 4?

#17

There’s a lot of activity in this conversation, but I don’t think I picked up what the recommended non-nuclear solution is. If there’s ignored_packages what should be done? Is the only solution to nuke SLT cache? I appear to be bitten by this bug on 2x different machines so this is most certainly triggered by the update to SLT4 from 3.

0 Likes

#18

If your issue is that Package Control doesn’t seem to be there when it was before the upgrade:

  1. Preferences > Settings, check the pane on the right. Do you see Package Control or 0_package_control_loader in the list? If yes, remove them from the list.

  2. Preferences > Browse Packages, then in the window that opens, go up one level and into the folder named Installed Packages; do you see Package Control.sublime-package in the list? If not, then something may have removed it (though not the update; it leaves this folder alone). In that case, reinstalling Package Control would solve the problem.

The general problem you see with Package Control seemingly going missing is the fact that when Package Control updates any package (including itself) it has to add them to the list of ignored packages so that Sublime will unload the package, or on some OS’s the old file can’t be moved away.

If you restart Sublime in the middle of such an upgrade, when Sublime restarts Package Control is in the list of ignored packages, isn’t loaded, and thus can’t finish the upgrade. Removing it from the list of ignored packages clears the situation.

That’s not related to an update of Sublime Text in any way other than when Sublime upgrades itself it involves the process restarting, so if you happen to upgrade Sublime while PC is upgrading packages, things can potentially go sideways.

As such, that can potentially happen any time Sublime upgrades itself, and the fact that it happens to have happened on an upgrade that carried someone over to the new version is effectively a red herring if anyone is looking to finger something for blame reasons.

1 Like

#19

I can’t really understand a lot of the word salad, but it comes across you are upset about the price. For me the cost went from about an initial $70 in like 2017 or so to $80 add’l if I want to upgrade.

You can use other software. Its OK.

In all seriousness, hope you find a constructive outlet for your own sake.

0 Likes

#20

Read your link, thanks. Perhaps C-SBS is maintained for ST2. Regardless, try using raw ST, no packages, just latest and Monokai greatest… Yesterday, ST3 without installed packages was doing half-second SBS flashes. Clearly, the ST Net 4 devo teams are doing something with SBS.

Any thoughts on that?

0 Likes

#21

My thoughts are that you aren’t doing yourself any favors with that word salad. If you want help, be more clear and concise.

0 Likes

#22

ST version 3 politely includes Install Packaage Control in the Sublime Text menu.

ST version 4 politely include Install Packaage Control in the Tools menu.

Or we can cryptically leaves it to users to somehow find the above mentioned command and manually run that commmand to “install” package control in (lol) half-awake Package Control.

https://packagecontrol.io/installation
For mac, press keys command-shift-p, then type install package control which highlights “Install Package Control”. Press Return to install package control.

0 Likes

#23

Your misssion, should you aaccept it, is to find another ST install method. Try this post….

Menu !! Tools > Install Package Control

0 Likes

#24

Screenshot_1%20(2)

0 Likes

#25

I’m not sure if I missed something above but did this get solved?
I’ve been using version 4 for sometime and everything seemed to setup fine at the time. I updated to 4152 recently and didn’t think about it, until just a few days ago when I thought about further customizing my install and noticed that Package Control was missing.
I’ve gone through the diagnostic stuff mentioned above but still have no PC. Bad part is that I uninstalled ST from my system and deleted the application preferences from my Mac. Now I’m unable to install my preferred syntax highlighting and other preferred packages.

Is there a link for the fix to this issue?

0 Likes

#26

Do you see any errors in the console (View > Show Console)?

0 Likes

#27

Most likely because Mac updates its openssl to v3 which breaks Package Control. In that case, manually using a beta version of Package Control v4 fixes it. https://github.com/sublimehq/sublime_text/issues/6037#issuecomment-1674337039

1 Like

#28

There has to be a better approach, if Mac is doing this then SBT needs to do X.

0 Likes

#29

Package control is missing in sublime text 4. There is no “install package” thing. https://prnt.sc/tY-1_CkOOHIk and it is also not in ignored list.

None of the above solutions has worked for me,

0 Likes

#31

I’ve got my Package Control back after installing the latest 4.0 beta manually from Github: https://github.com/wbond/package_control/releases

There was just one trick: before copying Package Control.sublime-package into ST’s package folder, I had to rename the downloaded file because for some reason an extra period was inserted between the 1st two words (=> Package.Control.sublime-package)

2 Likes

#32

Github doesn’t allow spaces in download artefacts, unfortunatelly.

1 Like

#33

hi
i first installed package control, then the “install …” gone.
not in ignored list as well, and now
Traceback (most recent call last):
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto_ctypes.py”, line 305, in
File “./python3.3/ctypes/init.py”, line 366, in getattr
File “./python3.3/ctypes/init.py”, line 371, in getitem
AttributeError: dlsym(0x7ff91eae8c60, EVP_PKEY_size): symbol not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 308, in reload_plugin
m = importlib.import_module(modulename)
File “./python3.3/importlib/init.py”, line 90, in import_module
File “”, line 1584, in _gcd_import
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/2_bootstrap.py”, line 26, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/bootstrap.py”, line 20, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/download_manager.py”, line 24, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/downloaders/init.py”, line 20, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/downloaders/oscrypto_downloader.py”, line 44, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/tls.py”, line 11, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_mac/tls.py”, line 39, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_mac/util.py”, line 208, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto.py”, line 15, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto_ctypes.py”, line 688, in
Package Control.package_control.deps.oscrypto._ffi.FFIEngineError: Error initializing ctypes
reloading python 3.3 plugin Package Control.Package Control
Traceback (most recent call last):
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto_ctypes.py”, line 305, in
File “./python3.3/ctypes/init.py”, line 366, in getattr
File “./python3.3/ctypes/init.py”, line 371, in getitem
AttributeError: dlsym(0x7ff91eae8c60, EVP_PKEY_size): symbol not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 308, in reload_plugin
m = importlib.import_module(modulename)
File “./python3.3/importlib/init.py”, line 90, in import_module
File “”, line 1584, in _gcd_import
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/Package Control.py”, line 89, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/commands/init.py”, line 3, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/commands/advanced_install_package_command.py”, line 10, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/package_manager.py”, line 34, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/downloaders/init.py”, line 20, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/downloaders/oscrypto_downloader.py”, line 44, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/tls.py”, line 11, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_mac/tls.py”, line 39, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_mac/util.py”, line 208, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto.py”, line 15, in
File “”, line 1565, in _find_and_load
File “”, line 1532, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py”, line 1692, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/null/Library/Application Support/Sublime Text/Installed Packages/Package Control.sublime-package/package_control/deps/oscrypto/_openssl/_libcrypto_ctypes.py”, line 688, in
Package Control.package_control.deps.oscrypto._ffi.FFIEngineError: Error initializing ctypes
plugins loaded

1 Like

#34

@nullqube Hey,
Have you solved this issue?

I got the same errors

0 Likes

#35

I’d recomment installing Package Control 4.0 beta.

Also see the pinned topic about it: SublimeText 4 Install Package not showing the menu

1 Like

#37

This also helped me (MacOS, Sublime 4, Package Control didn’t work with a bunch of errors in the console)

0 Likes

#38

This was what I needed to fix my error. Dec2023

0 Likes