Skip to content
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

[err] AttributeError: 'module' object has no attribute 'parse' when trying to install plugin #34

Open
evandrix opened this issue Dec 20, 2016 · 1 comment

Comments

@evandrix
Copy link

Stack trace

reloading plugin StringEncode.string_encode
Traceback (most recent call last):
  File "/opt/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 "<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 "/opt/sublime_text/sublime_plugin.py", line 915, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "string_encode in /opt/sublime_text/Data/Installed Packages/StringEncode.sublime-package", line 27, in <module>
AttributeError: 'module' object has no attribute 'parse'
@colinta
Copy link
Owner

colinta commented Dec 20, 2016

That's really weird! What version of Sublime are you using? Can you open a console (from within Sublime - control+backtick on a Mac) and try importing that package:

import urllib.parse
quote_plus = urllib.parse.quote_plus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants