Error while loading the plugin on startup
See original GitHub issuesublime version: 4074
I wanted to try the typescript branch 😃 (master is also affected) and I stumbled upon this:
reloading python 3.3 plugin GithubPR.OpenPackage
reloading python 3.3 plugin JSCustom.plugin
Traceback (most recent call last):
File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 274, in reload_plugin
m = importlib.import_module(modulename)
File "./python3.3/importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1022, in load_module
File "<frozen importlib._bootstrap>", line 1003, in load_module
File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 868, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "/home/predrag/.config/sublime-text/Packages/JSCustom/plugin.py", line 12, in <module>
from .src.commands.build_syntaxes import BuildJsCustomSyntaxCommand, BuildJsCustomSyntaxesCommand
File "/home/predrag/.config/sublime-text/Packages/JSCustom/src/commands/build_syntaxes.py", line 3, in <module>
from pathlib import Path
ImportError: No module named 'pathlib'
For some reason this JSCustom gets loaded with the python 3.3 version. (pathlib is available from version 3.4 and above) but I can see in the .python-version file that this plugin should use version 3.8.
It is probably a ST issue, but before I reach out to them, just wanted to check with you if you can maybe solve this?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Pro Tools quits unexpectedly while loading plug-ins on launch
1. Go to your Pro Tools plug-ins folder: Mac: Macintosh HD/Library/Application Support/Avid/Audio · 2. Move the Plug-Ins folder to the Desktop.
Read more >Errors prevented startup: While loading plugin `basicFileTypes ...
When I launch the app with meteor run android-device or simply meteor run I get this error in the console (19:21:32)[meteortest]$ meteor run ......
Read more >MUSHclient : General : MUSHClient giving error ... - Gammon Forum
Gammon Forum : MUSHclient : General : MUSHClient giving error when loading plugin on startup. ... Line 1249: Error parsing script (problem in...
Read more >Premiere Pro V 15.1 crash on startup (when loading...
Hi Dan. Startup crashes in Premiere are not only because of corrupt or incompatible plugins but also due to VST's that may cause...
Read more >Pro Tools 2020.9.1 won't load plugins on startup
So today pro tools won't start and it had to do with third party plugins. I removed all the plugins and it loaded...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well this issue hasn’t lived long 😃
Can confirm that the startup error is fixed
Damn it 😄
I wanted to do a PR, but it is just 2 lines. can you remove the references to pathlib in
build_tests.py
? 😃After this change, there should be no errors