These are chat archives for ensime/ensime-sublime

27th
Jan 2016
Magnus Andersson
@magnusart
Jan 27 2016 00:02
Publishing sexpress, jerk… :open_mouth:
Sam Halliday
@fommil
Jan 27 2016 00:03
yeah, the bug is in sexpress we think
Magnus Andersson
@magnusart
Jan 27 2016 00:04
sexpress = "sexual pressure" in Swedish.
Sam Halliday
@fommil
Jan 27 2016 00:04
lol
oh god
I did not know that
it's an S-Expression serialisation library
Magnus Andersson
@magnusart
Jan 27 2016 00:04
Not really a common word but it would kinda translate into that
Matthew de Detrich
@mdedetrich
Jan 27 2016 00:04
Must release the sexual pressure, rofl
Magnus Andersson
@magnusart
Jan 27 2016 00:04
Aha. :D
Sam Halliday
@fommil
Jan 27 2016 00:06
it must be nearly ready now, is it?
Magnus Andersson
@magnusart
Jan 27 2016 00:09
Yes I tried it but the Ensime server does not seem to start (using the sublime plugin to start)
I’m looking at the console right now. I tried to run the commands Client log and Server log but nothing happens
Sam Halliday
@fommil
Jan 27 2016 00:10
huh
is there an "update ensime server" button or something?
Magnus Andersson
@magnusart
Jan 27 2016 00:11
AttributeError: 'NoneType' object has no attribute '_output'
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 439, in is_enabled_
    ret = self.is_enabled()
  File "ensime in /Users/magnus/Library/Application Support/Sublime Text 3/Installed Packages/Ensime.sublime-package", line 1832, in is_enabled
  File "ensime in /Users/magnus/Library/Application Support/Sublime Text 3/Installed Packages/Ensime.sublime-package", line 2034, in can_show
AttributeError: 'NoneType' object has no attribute ’_output’
This might explain the logging issue:
AttributeError: 'EnsimeEnvironment' object has no attribute 'log_root'
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 439, in is_enabled_
    ret = self.is_enabled()
Sam Halliday
@fommil
Jan 27 2016 00:14
oh dear
I have no idea what happened there, this is all sublimey stuff
did you try exiting sublime and coming back?
no need to update anything inside sublime as far as I know
Magnus Andersson
@magnusart
Jan 27 2016 00:16
The console is kind of useless in sublime though. No timestamps so it is a mess to keep track of what is new when running commands.
Sam Halliday
@fommil
Jan 27 2016 00:16
this is running it against a project that was working for you before?
Magnus Andersson
@magnusart
Jan 27 2016 00:19
Yes, did a cleanCache now and it is working again
(restarted sbt and sublime for project)
Sam Halliday
@fommil
Jan 27 2016 00:20
cool
ok, can you do some method completions?
maybe make some edits without saving the file
like create a new line in a file
and then "hello".to<TAB>
Magnus Andersson
@magnusart
Jan 27 2016 00:22
Works
I actually republished just now.
So I think I’m back to the new version. How do I check to make sure?
Sam Halliday
@fommil
Jan 27 2016 00:23
hmm, I'm not actually sure. maybe check the classpath in visualvm ?
and you're definitely using that branch I sent, not just my master branch on that repo?
Magnus Andersson
@magnusart
Jan 27 2016 00:24
Yes
Sam Halliday
@fommil
Jan 27 2016 00:24
cool
Magnus Andersson
@magnusart
Jan 27 2016 00:24
I swiched to parboiled2
Sam Halliday
@fommil
Jan 27 2016 00:25
ok, are you able to reproduce the problem dick was seeing?
Magnus Andersson
@magnusart
Jan 27 2016 00:26
/Users/magnus/.ivy2/local/org.ensime/ensime_2.11/0.9.10-SNAPSHOT/jars/ensime_2.11.jar
Sam Halliday
@fommil
Jan 27 2016 00:26
cool, that looks like its using the new one
Magnus Andersson
@magnusart
Jan 27 2016 00:26
Looks like I’m running the new one
Let me see what problems he had
”During regular use” :) that is not terribly specific. What you suggested works tho ”Hello”.to<TAB>
Sam Halliday
@fommil
Jan 27 2016 00:29
yeah, dick is the best when it comes to reproduction cases :-P
ok, I'm going to put this whole thing down to something else and ask dick to check out my branch on his code again
thanks for looking into this!
Magnus Andersson
@magnusart
Jan 27 2016 00:29
Code completion works at least
No problem.
Time for sleep, getting late here.
Sam Halliday
@fommil
Jan 27 2016 00:30
here too!
way too late
Sam Halliday
@fommil
Jan 27 2016 21:19
@dickwall I renamed JERK and SWANK to JERKY and SWANKY
Sam Halliday
@fommil
Jan 27 2016 22:45
@/all I've merged a contentious PR that broke things for @dickwall last week in sublime. If you see any problems like ensime/ensime-server#1243 go back to ensime/ensime-server@4c80058 and do a publishLocal and try to grab me when you have some time to walk through the problem
I should say that we tried to reproduce last night in sublime and couldn't, so it's likely that this was a transient failure