-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: SublimeText 2 load of util #6
Conversation
Thanks. It appears Python 3 deprecated implicit relative imports, so As it stands, this patch will drop ST 3 support. ST 3 is in public If not, I'm a bit swamped right now but will try to get to it soon. On Tue, Jul 16, 2013 at 9:17 AM, Ethan J. Brown
|
No worries... Will see if I can learn enough python to fix it. I'm a licensed sublime user, so I've had st3 installed for a while, but all When I get home, will see if this is applicable ... http://stackoverflow.com/questions/1875259/importing-a-module-based-on-installed-python-version -e
|
util was not loading with the following error: Writing file /C/Users/Parity/AppData/Roaming/Sublime Text 2/Packages/OpenSearchResult/open_search_result.py with encoding UTF-8 Reloading plugin C:\Users\Parity\AppData\Roaming\Sublime Text 2\Packages\OpenSearchResult\open_search_result.py Traceback (most recent call last): File ".\sublime_plugin.py", line 62, in reload_plugin m = imp.load_module(modulename, *m_info) File ".\open_search_result.py", line 3, in <module> from .util import parse_line_number, is_file_path ValueError: Attempted relative import in non-package
FYI -- I think this should do the trick on the import.... |
I just verified in ST3 as well -- no problemo -- works like a charm. |
Thanks! I appreciate you looking into this. |
fix: SublimeText 2 load of util
Util.py
was not loading with the following error:I have not verified this also works in ST3 -- but before pulling, you should do that.