Comments (11)
Also getting this issue:
plugin init time: 0.647114
loading bindings
loading pointer bindings
found 1 files for base name Spacegray.sublime-theme
Errors parsing theme:
Unknown attribute value
theme loaded
app ready
pre session restore time: 0.824381
using gpu buffer for window
using gamma: 2 (err: 6.9282)
wrote startup cache, added files: 2 orphaned files: 0 total files: 63 cache hits: 61
startup time: 0.934793 (package setup was not run)
Traceback (most recent call last):
File "./sublime_plugin.py", line 175, in on_load
File "./sublime_plugin.py", line 154, in run_timed_function
File "./sublime_plugin.py", line 174, in <lambda>
File "./sublimerl_completion.py", line 232, in on_load
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'
Traceback (most recent call last):
File "./sublime_plugin.py", line 175, in on_load
File "./sublime_plugin.py", line 154, in run_timed_function
File "./sublime_plugin.py", line 174, in <lambda>
File "./sublimerl_completion.py", line 232, in on_load
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'
loaded 844 snippets
no command for selector: noop:
Package Control: Skipping automatic upgrade, last run at 2014-10-23 11:31:23, next run at 2014-10-23 12:31:23 or after
from sublimerl.
@ruanpienaar can you provide me with the file you're trying to save? Are you using ST2 or ST3?
from sublimerl.
version: Sublime Text 2 Build 2221.
the above is from the ST2 console when ST 2 starts.
from sublimerl.
I'll still need some kind of file to reproduce this. :)
from sublimerl.
-module(m).
from sublimerl.
i think i can reproduce how i get this issue. give me a min
from sublimerl.
-package remove SublimErl
-package install SublimErl.
-configure SublimErl settings *( Edit SublimErl.sublime-settings, in ST2 )
pre session restore time: 0.814455
using gpu buffer for window
using gamma: 2 (err: 6.9282)
startup cache, total files: 62 cache hits: 62
startup time: 0.895213 (package setup was not run)
Traceback (most recent call last):
File "./sublime_plugin.py", line 175, in on_load
File "./sublime_plugin.py", line 154, in run_timed_function
File "./sublime_plugin.py", line 174, in <lambda>
File "./sublimerl_completion.py", line 232, in on_load
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'
loaded 844 snippets
Package Control: Skipping automatic upgrade, last run at 2014-10-23 13:46:00, next run at 2014-10-23 14:46:00 or after
When i remove the configuration it produce the error.
SublimErl.sublime-settings:
{
/*
* SublimErl tries to detect automatically the paths for erl, escript, rebar and dialyzer.
* If it doesn't succeed or you prefer to manually configure these, you can do so by inputting the paths here.
*
* "erl_path": "/usr/local/bin/erl",
* "escript_path": "/usr/local/bin/escript",
* "rebar_path": "/usr/local/bin/rebar",
* "dialyzer_path": "/usr/local/bin/dialyzer"
*/
// Skip Erlang libs that match the regex
"completion_skip_erlang_libs": [
"^[cC]os[A-Z].+",
".*orber.*",
"^oe_.+",
"^megaco_.+",
".*wx.*"
]
}
Setting file produces error:
{
/*
* SublimErl tries to detect automatically the paths for erl, escript, rebar and dialyzer.
* If it doesn't succeed or you prefer to manually configure these, you can do so by inputting the paths here.
*
* "erl_path": "/usr/local/bin/erl",
* "escript_path": "/usr/local/bin/escript",
* "rebar_path": "/usr/local/bin/rebar",
* "dialyzer_path": "/usr/local/bin/dialyzer"
*/
"erl_path": "/erlang/bin/erl",
"escript_path": "/erlang/bin/escript",
"rebar_path": "/usr/local/bin/rebar",
"dialyzer_path": "/erlang/bin/dialyzer",
// Skip Erlang libs that match the regex
"completion_skip_erlang_libs": [
"^[cC]os[A-Z].+",
".*orber.*",
"^oe_.+",
"^megaco_.+",
".*wx.*"
]
}
from sublimerl.
No Folders added to project. Just 1 file m.erl.
from sublimerl.
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'
from sublimerl.
Having trouble in following you. Does all of this just boil down to the necessity of having a src
directory?
from sublimerl.
@ostinelli Yes. it seems sublimerl_core.py set_app_name , can't deal with no src
from sublimerl.
Related Issues (20)
- commands not working on ubuntu HOT 3
- Auto completion not working for core erlang HOT 6
- Can I generate some gen skeletons like Emacs? HOT 3
- on MacOS the default bash profile name is '.profile' HOT 1
- need check "None" value in source file 'sublimerl_core.py' HOT 1
- AttributeError: 'NoneType' object has no attribute 'endswith' HOT 3
- Code completion doesn't work as intended HOT 4
- Auto indentation bug
- How to disable auto-compiling? HOT 2
- May I ask when will sublimerl support on windows? HOT 4
- installation
- Incorrect indentation after an arrow and after a dot. HOT 2
- Linux man pages - Command-Alt-i - libs.sublime-completions not found HOT 2
- when error:loop , the cpu and mem are go out
- EUnit Test only run once - Unicode handling
- Use specs for autocomplete
- Installation on Mac 10.9 HOT 2
- update to sublime text 3 HOT 5
- Code Completion not working HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublimerl.