-
Notifications
You must be signed in to change notification settings - Fork 44
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
Saving erl file with Sublimerl enabled causes error #76
Comments
Also getting this issue:
|
@ruanpienaar can you provide me with the file you're trying to save? Are you using ST2 or ST3? |
version: Sublime Text 2 Build 2221. |
I'll still need some kind of file to reproduce this. :) |
-module(m). |
i think i can reproduce how i get this issue. give me a min |
-package remove SublimErl
When i remove the configuration it produce the error. SublimErl.sublime-settings:
Setting file produces error:
|
No Folders added to project. Just 1 file m.erl. |
No error when i add a Folder to Project, that has a rebar-compatible dir structure. i guess set_app_name in sublimerl_core.py has a issue with no 'src' |
Having trouble in following you. Does all of this just boil down to the necessity of having a |
@ostinelli Yes. it seems sublimerl_core.py set_app_name , can't deal with no src |
Using a Stock install of ST2 - disable Sublimerl files save - enabling Sublimerl file save and generates error
Writing file /Users/studio/CODE/Erlang/hello.erl with encoding UTF-8
Traceback (most recent call last):
File "./sublime_plugin.py", line 190, in on_post_save
File "./sublime_plugin.py", line 154, in run_timed_function
File "./sublime_plugin.py", line 189, in
File "./sublimerl_autocompiler.py", line 86, in on_post_save
File "./sublimerl_autocompiler.py", line 40, in init
File "./sublimerl_core.py", line 224, in init
File "./sublimerl_core.py", line 259, in set_app_name
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'
The text was updated successfully, but these errors were encountered: