I have the plugin OpenRelated (github.com/vojtajina/sublime-OpenRelated) installed in Sublime 2.0.1. Worked nicely untill somewhere last week.
When looking in the console, now I get the following error
Reloading plugin C:\Users…\AppData\Roaming\Sublime Text 2\Packages\Open Related\open_related.py
Traceback (most recent call last):
File “.\sublime_plugin.py”, line 62, in reload_plugin
File “.\open_related.py”, line 3, in
from . import converter
ValueError: Attempted relative import in non-package
The plugin loads another module from the same directory on line 3 …
import sublime, sublime_plugin
import os.path
from . import converter
How can I allow this loading? How can I load a relative import, or how can I make sure that open_related is not a ‘non-package’ anymore?