Closed thep0y closed 3 years ago
Maybe restart Sublime? I imagine maybe it just updated?
Maybe restart Sublime? I imagine maybe it just updated?
I have already restarted Sublime, but Sublime still throws this exception. It happens on Linux and Mac.
Maybe something went wrong with the update then. Try deleting mdpopups
from your Packages
folder. Run Package Control: Satisfy dependencies
from the command palette, check the console to make sure it finishes updating, and then restart Sublime. I'm running it right now without issues, and I know the LSP guys tested it recently, so I'm pretty sure it should run without issues.
The version string is imported here: https://github.com/sublimelsp/LSP/blob/f08b63b5864faf04c489c3b49a49eb52a98d3e61/plugin/core/sessions.py#L157
Maybe something went wrong with the update then. Try deleting
mdpopups
from yourPackages
folder. RunPackage Control: Satisfy dependencies
from the command palette, check the console to make sure it finishes updating, and then restart Sublime. I'm running it right now without issues, and I know the LSP guys tested it recently, so I'm pretty sure it should run without issues.
I have tried these operations you said and can't solve this issue.
It seems that this issue that has occurred after the LSP
is updated, and mdpopups
can be imported normally before that.
I can not determine the cause of this issue.
I cannot reproduce this issue at all. You may need to try a Sublime revert: https://www.sublimetext.com/docs/revert.html
What version of Sublime Text are you running?
This is what I did to try and recreate the issue. Basically, I had a fresh Sublime Text install (Build 4113) to try and recreate. Here are my steps:
I have created a fresh portable install of ST on my mac (add Data
folder to Sublime Text.app/Contents/MacOS
and run xattr -cr Sublime\ Text.app
). So the environment is fresh with no plugins or anything installed.
I installed Package Control and then LSP.
Restarted Sublime.
Checked console, no errors.
Imported mdpopups
within the Sublime console (under PY3.3 console). No issues.
Python 3.3>>> import mdpopups
Python 3.3>>> mdpopups.version()
(4, 2, 0)
Python 3.3>>> mdpopups.markdown.__version__
'3.2.2'
Installed another plugin (BracketHighlighter) that uses mdpopups
, just to quickly confirm popups are working:
@gir-bot add S: more-info-needed
This issue was resolved after reverting sublime.
An exception occurred when importing mdpopups.