These are chat archives for ensime/ensime-atom

13th
Feb 2016
Ghost
@ghost~540393fe163965c9bc2018ce
Feb 13 2016 11:53
has anyone had any luck installing Atom on Windows?
Viktor Hedefalk
@hedefalk
Feb 13 2016 12:02
You mean ensime-atom? I think so. There were some issues with Python and stuff before, but I think they're solved. Basically you need some compile tools for some typical node deps and Atom prebuilds some of them but If you want to depend on anything node-gyp you need some compile tools, Python on path and stuff that anything *nix has, but maybe not Windows.
nico78
@nico78
Feb 13 2016 12:08
nope, can't even install atom - tried several attempts killed processes , cleared folders
, run as admin, etc. always get this
2016-02-13 11:36:57> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Nic\AppData\Local\atom\packages\RELEASES'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   ...
2016-02-13 11:37:00> IEnableLogger: Failed to install package to app dir: System.IO.IOException: The process cannot access the file 'C:\Users\Nic\AppData\Local\atom\app-1.5.3\lib\net45\atom.exe' because it is being used by another process.
Ghost
@ghost~540393fe163965c9bc2018ce
Feb 13 2016 12:09
@hedefalk just atom, doesn't seem to be installing on windows
Viktor Hedefalk
@hedefalk
Feb 13 2016 12:09
Oh, that's bad. Google the stack trace, I mean Atom definitely is supposed to support Windows…
Ghost
@ghost~540393fe163965c9bc2018ce
Feb 13 2016 12:10
oh well
nico78
@nico78
Feb 13 2016 12:12
yeah, have done , no luck so far. I'll try again a bit later . thanks anyway
Viktor Hedefalk
@hedefalk
Feb 13 2016 12:12

But this is with the standard installer, not when building from source is it? That's super bad.

https://github.com/atom/atom/labels/windows

nico78
@nico78
Feb 13 2016 12:14
yes. standard installer , and yeah that issue basically.
but i dont' have the masses of temp files he mentiones
mentions
Viktor Hedefalk
@hedefalk
Feb 13 2016 12:15
Ok.
You tried killing of C:\Users\Nic\AppData\Local\atom totally?
nico78
@nico78
Feb 13 2016 12:16
yup
Viktor Hedefalk
@hedefalk
Feb 13 2016 12:19
Hm. Sorry, I have little knowledge of Windows. But please ask here: https://discuss.atom.io/ It's a pretty friendly community with help always around the corner.
nico78
@nico78
Feb 13 2016 12:19
ok will do - thanks a lot for looking
Ghost
@ghost~540393fe163965c9bc2018ce
Feb 13 2016 12:49
@hedefalk ok, we got atom installed... but now its claiming there is no .ensime file
maybe a windows path thing?
nico78
@nico78
Feb 13 2016 12:55
think it was because there was still a .ensime-session file hanging around
Viktor Hedefalk
@hedefalk
Feb 13 2016 13:39
It first gets the full list of .ensime's under your projects paths. Then filters out already started. So if you have .port file left from a running server that message is shown if this was the only .ensime. A bit misleading message. I'll fix.
Or please open a ticket and I'll fix later :)
nico78
@nico78
Feb 13 2016 14:10
ok. btw i installed atom via the windows zip under https://github.com/atom/atom/releases/tag/v1.5.3 since the installer wasn't working
ensime package installed and working, but it doesn't look like it installed the other packages described on the doc page
ie had to manually install these:
language-scala for syntax highlighting.
hyperclick for code navigation. ENSIME hooks in as provider.
browser-plus to display ScalaDoc.
[linter] for display of errors and warnings.
not quite sure which linter package it is i should install though
But then the auto-install is broken I guess. It should install on package activation.
Please raise a ticket!
Viktor Hedefalk
@hedefalk
Feb 13 2016 14:26
I created a ticket.
v0.35.3 out that fixes this.
nico78
@nico78
Feb 13 2016 14:29
ah sorry was a bit slow to raise - thanks!
Viktor Hedefalk
@hedefalk
Feb 13 2016 17:46
@nico78 no worries, just me being eager to fix :)