ostinelli / SublimErl

An Erlang Plugin for Sublime Text 2, which enables code completion and allows you to run tests within the editor itself.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not load on Mountain Lion / 2.0

denen99 opened this issue · comments

after installing from both Git and package manager , trying the auto-indent feature returns

Exception in thread Thread-4:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "./sublimerl_completion.py", line 143, in run
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/posixpath.py", line 67, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Build 2217 on Osx Mountain Lion

Can't reproduce. Any more specific info?

Yea looks like you need to have rebar in your path in /usr/local/bin. When upgrading to Mountain Lion , this seems to get broken for some reason. Once erl, erlc, rebar and dialyzer are in the PATH everything works.

Might be good to check that the necessary binaries are available in PATH and throw an error or something, just a thought. Someone on the Erlang G+ community tipped me off to the issue.

thanks for a great plugin !

commented

I've faced with same problem.
Two macs, 10.6 both. In first case I installed rebar and it fixed problem.
I've made same steps on another mac - it didn't help.

I'm on Mountain Lion. Can't do much about this issue, issue #55 might help in fixing this too.

commented

Afer all steps I removed sublilme (full), and reinstall. It solved problem.

I see this is closed, but what is the solution? Reinstall hasn't worked for me.

commented

Did you try remove sublime manually?

It's not working on Debian Squeeze for me either, fresh install.

On Mon, Mar 4, 2013 at 2:20 PM, Yury notifications@github.com wrote:

Did you try remove sublime manually?


Reply to this email directly or view it on GitHubhttps://github.com//issues/53#issuecomment-14380279
.

commented

I'm using jetbrains community edition + erlang plugin now, not bad.

so I installed sublime and eErlang (via homebrew) and then installed this plugin through the sublime package manager and it failed to work because of the missing rebar dependency. I know you have it in your instructions to install rebar, but it might be useful (if possible) to display some sort of file/message when you install the plugin to remind you to install any dependencies such as rebar (or possibly even Erlang)