Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 358, in on_query_completions
res = callback.on_query_completions(v, prefix, locations)
File "/Users/user/Library/Application Support/Sublime Text 3/Packages/ElixirSublime/elixir_sublime.py", line 270, in on_query_completions
if not session.send('COMPLETE', expand_selection(view, locations[0], aliases=aliases)):
File "/Users/user/Library/Application Support/Sublime Text 3/Packages/ElixirSublime/elixir_sublime.py", line 189, in send
self.socket.send(str.encode(cmd))
AttributeError: 'NoneType' object has no attribute 'send'
I’ve investigated this issue (Win 10 x64, ST3 Build 3083). By looking at the source code I’ve found that you can find log file in
%TEMP%\ElixirSublime.log. And the log file was really helpful.My log file had the following content:
So the reason of this error is a missing Hex package manager. To install it run the following command:
mix local.hex.After that the
socket.timeout: timed outerror was fixed. Then I’ve got another error in ST3 console:The reason of this error is that I haven’t run
mix runfor the first time. So running this command fixed the issue.Hope these bugs will be fixed soon and the info provided by me will be useful.
Thanks, Michael.