我在Windows7上遇到了这个奇怪的问题,ensime在sublime上。在进行ensime启动时,我遇到以下异常:
我试着以管理员的身份运行sublime,但这对没有帮助
有谁有个好主意吗?
[Ensime] 2016-07-29 17:08:26,902 [INFO ] New Logger initialised
Created ensime environment for C:Mycomdepotkernel 5.00qanbinbi-qa-v2-perf
warning: mnemonic t not found in menu caption Tools
Package Control: Skipping automatic upgrade, last run at 2016-07-29 16:58:35, next run at 2016-07-29 17:58:35 or after
[Ensime] 2016-07-29 17:08:35,201 [INFO ] -----------------------------------------------------------
[Ensime] 2016-07-29 17:08:35,201 [INFO ] Initialising server
[Ensime] 2016-07-29 17:08:35,202 [INFO ] Cache dir = C:Mycomdepotkernel 5.00qanbinbi-qa-v2-perf.ensime_cache
[Ensime] 2016-07-29 17:08:35,202 [INFO ] Java home = C:Program FilesJavajdk1.8.0_51
[Ensime] 2016-07-29 17:08:35,202 [INFO ] Target scala version = 2.11.8
[Ensime] 2016-07-29 17:08:35,208 [INFO ] Resolving, log available in C:Mycomdepotkernel 5.00qanbinbi-qa-v2-perf.ensime_cacheResolutionsaveClasspath.log
[Ensime] 2016-07-29 17:08:35,209 [INFO ] Running sbt saveClasspath (in C:Mycomdepotkernel 5.00qanbinbi-qa-v2-perf.ensime_cacheResolution)
[Ensime] 2016-07-29 17:08:35,211 [INFO ] Save classpath task running
Unhandled exception in thread started by <function exec_save_classpath.<locals>.worker at 0x00000000030BE8C8>
Traceback (most recent call last):
File "./python3.3/subprocess.py", line 1104, in _execute_child
PermissionError: [WinError 5] Access is denied
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "server in C:UsersrquillevereAppDataRoamingSublime Text 3Installed PackagesEnsime.sublime-package", line 84, in worker
File "./python3.3/subprocess.py", line 523, in call
File "./python3.3/subprocess.py", line 819, in __init__
File "./python3.3/subprocess.py", line 1110, in _execute_child
PermissionError: [WinError 5] Access is denied
Sublime->首选项->套餐设置->Ensime->设置-用户
{
"sbt_binary": "/path/to/sbt"
}