Sublime Forum

Something wrong with mdpopups and markdown

#1

Hi
Recently I started to have problem with ColorHelper package that stopped working - no preview and popup. After trying to reinstall it and things like that, I wanted to hit it’s support page. This package has a way to get ‘Support Info’, which I wanted to post there…but when I opened it I found out that:

  • ST ver.: 3157

  • Platform: windows

  • Arch: x64

  • Plugin ver.: 2.5.1

  • Install via PC: True

  • mdpopups ver.: Version could not be acquired!

  • markdown ver.: Version could not be acquired!

  • pygments ver.: 2.1a0

  • jinja2 ver.: 2.8
    So maybe those two things are causing the issue I have? How can I check those two dependencies? Or how can I reinstall them?
    I also found those entries in the console that seems to be related:

    reloading plugin BracketHighlighter.bh_core
    Traceback (most recent call last):
    File “G:\owncloud\Sublime Text\sublime_plugin.py”, line 109, 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 “G:\owncloud\Sublime Text\sublime_plugin.py”, line 1110, in load_module
    exec(compile(source, source_path, ‘exec’), mod.dict)
    File “bh_core in G:\owncloud\Sublime Text\Data\Installed Packages\BracketHighlighter.sublime-package”, line 17, in
    File “”, line 1565, in _find_and_load
    File “”, line 1532, in find_and_load_unlocked
    File “G:\owncloud\Sublime Text\sublime_plugin.py”, line 1110, in load_module
    exec(compile(source, source_path, ‘exec’), mod.dict)
    File “bh_popup in G:\owncloud\Sublime Text\Data\Installed Packages\BracketHighlighter.sublime-package”, line 47, in
    File "G:\owncloud\SUBLIM~2\Data\Packages\mdpopups\st3\mdpopups_init
    .py", line 213, in
    class _MdWrapper(markdown.Markdown):
    AttributeError: ‘module’ object has no attribute ‘Markdown’

    reloading plugin BracketHighlighter.bh_popup
    Traceback (most recent call last):
    File “G:\owncloud\Sublime Text\sublime_plugin.py”, line 109, 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 “G:\owncloud\Sublime Text\sublime_plugin.py”, line 1110, in load_module
    exec(compile(source, source_path, ‘exec’), mod.dict)
    File “bh_popup in G:\owncloud\Sublime Text\Data\Installed Packages\BracketHighlighter.sublime-package”, line 47, in
    File "G:\owncloud\SUBLIM~2\Data\Packages\mdpopups\st3\mdpopups_init
    .py", line 16, in
    from . import version as ver
    ImportError: cannot import name version

    reloading plugin ColorHelper.color_helper
    Traceback (most recent call last):
    File “G:\owncloud\Sublime Text\sublime_plugin.py”, line 109, 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 “G:\owncloud\Sublime Text\sublime_plugin.py”, line 1110, in load_module
    exec(compile(source, source_path, ‘exec’), mod.dict)
    File “color_helper in G:\owncloud\Sublime Text\Data\Installed Packages\ColorHelper.sublime-package”, line 15, in
    File "G:\owncloud\SUBLIM~2\Data\Packages\mdpopups\st3\mdpopups_init
    .py", line 16, in
    from . import version as ver
    ImportError: cannot import name version

    reloading plugin ColorHelper.color_helper_picker
    Traceback (most recent call last):
    File “G:\owncloud\Sublime Text\sublime_plugin.py”, line 109, 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 “G:\owncloud\Sublime Text\sublime_plugin.py”, line 1110, in load_module
    exec(compile(source, source_path, ‘exec’), mod.dict)
    File “color_helper_picker in G:\owncloud\Sublime Text\Data\Installed Packages\ColorHelper.sublime-package”, line 7, in
    File "G:\owncloud\SUBLIM~2\Data\Packages\mdpopups\st3\mdpopups_init
    .py", line 16, in
    from . import version as ver
    ImportError: cannot import name version

0 Likes

#2

try:

  1. Open Command Palette
  2. Package Control: Satisfy Dependencies
0 Likes

#3

Yeah, I forgot that I did try it before. This is the result:
Package Control: All dependencies have been satisfied

0 Likes

#4

Ok, I’ve manage to fix the problem with the help from ColorHelper issue list by deleting anything related to mdpopup and markup and also 0_package_control_loader.sublime-package and then letting ST to reinstall missing dependencies.

0 Likes