Installation
See original GitHub issueHey,
I have sourcekitten
installed via homebrew, and running sourcekitten
in a shell works.
I’m getting this in the Sublime Console though:
reloading plugin SourceKittenSubl.subl
plugins loaded
Package Control: Skipping automatic upgrade, last run at 2017-01-09 11:59:13, next run at 2017-01-09 12:59:13 or after
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 591, in on_query_completions
res = callback.on_query_completions(v, prefix, locations)
File "/Users/rudedogg/Library/Application Support/Sublime Text 3/Packages/SourceKittenSubl/subl.py", line 18, in on_query_completions
suggestions = subl_source_kitten.complete(offset, file, project_directory, text)
File "/Users/rudedogg/Library/Application Support/Sublime Text 3/Packages/SourceKittenSubl/dependencies/../src/subl_source_kitten.py", line 16, in complete
collection = source_kitten.complete(offset, file, project_directory, text)
File "/Users/rudedogg/Library/Application Support/Sublime Text 3/Packages/SourceKittenSubl/dependencies/../src/source_kitten.py", line 25, in complete
return _execute(cmd, _json_parse)
File "/Users/rudedogg/Library/Application Support/Sublime Text 3/Packages/SourceKittenSubl/dependencies/../src/source_kitten.py", line 86, in _execute
return _execute_cached("§§§".join(cmd), result_handler)
File "./python3.3/functools.py", line 275, in wrapper
File "/Users/rudedogg/Library/Application Support/Sublime Text 3/Packages/SourceKittenSubl/dependencies/../src/source_kitten.py", line 92, in _execute_cached
with Popen(cmd, stdout=PIPE, stderr=PIPE) as p:
File "./python3.3/subprocess.py", line 819, in __init__
File "./python3.3/subprocess.py", line 1448, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'sourcekitten'
Did I go wrong somewhere?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Installation Definition & Meaning - Merriam-Webster
noun ; 1 · the act of installing : the state of being installed ; 2 · something that is installed for use...
Read more >Installation Definition & Meaning - Dictionary.com
something installed, as machinery or apparatus placed in position or connected for use. the act of installing. the fact of being installed.
Read more >Installation - Definition, Meaning & Synonyms - Vocabulary.com
Installation is the process of putting something in a position so it can work properly. If the installation of the new dishwasher goes...
Read more >Installation - Wikipedia
Installation may refer to: Installation (computer programs); Installation, work of installation art; Installation, military base; Installation, ...
Read more >INSTALLATION definition | Cambridge English Dictionary
the act of putting furniture, a machine, or a piece of equipment into position and making it ready to use : Do you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Did a little searching and found this: http://stackoverflow.com/questions/18855932/file-not-found-error-when-running-local-binary-with-popen
Changing line 18 of
source_kitten.py
to"/usr/local/bin/sourcekitten"
did the trick.@dielsonsales the line numbers have probably changed a bit
Give this a go: https://github.com/Dan2552/SourceKittenSubl/blob/master/src/source_kitten.py#L23