After the latest update (on Linux) Terminus does not work anymore. No errors in the console log, it just does not open. Downgrading to 4168 solves the problem.
ST 4170 - Terminus does not work
Try restarting or disabling and then enabling Terminus. I seemed to have run into a similar issue with Terminus after install, but disabling and re-enabling seemed to get it working again.
Doesn’t here. Terminus suffers from new RuntimeError
raised, when accessing API functions before API is ready.
It somehow seems related with Package Control “POST_UPGRADE” event handling.
reloading plugin Terminus.main
Traceback (most recent call last):
File "<ST>\Lib\python38\sublime_plugin.py", line 327, in reload_plugin
m = importlib.import_module(modulename)
File "./python3.8/importlib/__init__.py", line 127, in import_module
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 868, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<ST>\Data\Packages\Terminus\main.py", line 13, in <module>
if events.post_upgrade(__package__):
File "<ST>\Data\Packages\Package Control\package_control\events.py", line 142, in post_upgrade
event = _tracker().get(POST_UPGRADE) or {}
File "<ST>\Data\Packages\Package Control\package_control\events.py", line 26, in _tracker
tracker = sublime.load_settings("Package Control Events")
File "<ST>\Lib\python38\sublime.py", line 1272, in load_settings
settings_id = sublime_api.load_settings(base_name)
RuntimeError: API is not available
Note: I run all plugins on python 3.8 already.
Package Control uses sublime.Settings()
to provide events across plugin_hosts. Terminus uses this API at import time, which causes API access before it being ready.
A PR with a fix can be found at https://github.com/randy3k/Terminus/pull/412
Restarting does not help. Disabling, restarting and enabling helps, but just for the current session. After restarting, it does not work again.
@deathaxe Thanks for the info! Hopefully a release will be out soon. It seems as a workaround, disabling and re-enabling is required until the issue is patched.