Fork me on GitHub
#calva
<
2019-04-24
>
ivana14:04:45

Calva 1.3.66, VSCode 1.33.1 (are these latest versions?) - Running the contributed command: 'calva.reconnect' failed. every time on running reconnect command - is it normal? autoconnect on open clojure file works fine

pez14:04:06

@ivana, that's the latest published version. There is also a dev/beta version that sometimes get posted here. Re your problem: I don't think you need to use the reconnect command. Connect should work. Do you get the same error if you do that instead?

ivana14:04:17

Running the contributed command: 'calva.connect' failed. the same thing on connect command

ivana15:04:03

I have to close/open VScode and it solves the problem, and it is not hard to me to do this πŸ™‚ But I think it may be interesting for you πŸ™‚

pez15:04:06

It is. πŸ˜ƒ

pez15:04:01

It sounds a bit like Calva isn't activated. It needs a clojure-ish file to be opened to activate. Do you have that?

pez15:04:05

I should probably try to remove that requriement. I have, in fact tried a few times, but so far my attempts to do so have failed.

ivana15:04:21

Is is strange, but now after reloading it connects πŸ™‚

ivana15:04:52

I just updated my VScode (to 1.33.1), maybe it was relevant to this.

pez15:04:49

The only difference between 1.3.65 and 1.3.66 is that the latter logs some usage data to google analytics. But only if the user allows telemetry logging in settings. Thinking it could have to do with that in some strange way. Do you allow telemetry in your settings?

ivana15:04:51

Manually not, I use default settings for this

pez15:04:04

I don't know what the defaults are.

ivana15:04:24

Where I can check it?

pez15:04:31

But I don't remember opting in and my vscode client logs. πŸ˜ƒ

pez15:04:43

Settings. Search for telemetry.

ivana15:04:21

both check-boxes are setted

ivana15:04:41

enable crash reporter & telemetry

pez15:04:20

OK. So then it shouldn't have to do with that I think. At least I haven't noticed anything like that.

ivana15:04:31

can I unchek them without any relations to my usual work? πŸ™‚

pez15:04:59

Not following πŸ˜ƒ

ivana15:04:45

Ok πŸ™‚

pez15:04:04

If you uncheck them Calva won't log any usage from your sessions. That's the simple relationship. πŸ˜ƒ

pez15:04:20

For the record, Calva really does not log anything personal. And you don't have to take my word for it. It's open source. 😍

ivana15:04:22

No problem πŸ™‚ Anyway I have nothing to cover, and I'm not a paranoid guy πŸ™‚

pez15:04:12

I think we all should be a bit more paranoid, but yeah, open source is cool in that way too.

pez15:04:15

The stats tell me that most of the attempts to connect a cljs repl fail. Which makes me cry, of course, but better that I know it, than I go around thinking everything is dandy.

ivana15:04:15

I understand why stats are important for software developers. But I guessed that these logs only for Microsoft, not for side extensions behaviour

pez15:04:42

The API is there for extensions to check if telemetry is enabled. I know some extensions add an extra setting about their logging, but I kinda hate settings. πŸ˜ƒ

ivana15:04:06

I typed and deleted long sentensies twice, so in a pair of words - thank you for fast answers and your work! πŸ™‚

jehrhardt17:04:09

@pez I now in installed the above 2.0.0-SNAPSHOT. When I run jack-in command, I get an error that calva.jackIn is not found.

jehrhardt17:04:28

Is there any documentation how to set this up?

pez17:04:34

@jehrhardt: I’m glad you didn’t wait for the more stable version. πŸ˜ƒ (It is stuck in production.)

pez17:04:57

This is from a secret Getting Started with Calva 2 doc: 1. Install VS Code. 2. Install Calva (via the Extensions pane). 3. Open a Clojure(Script) file in the root of your project. 4. Issue the *Calva Jack-in* command, ctrl+alt+v ctrl+alt+v

jehrhardt19:04:59

OK, it worked after using the short cut. I have selected, what to run. But I could not start figwheel. Thus I got only a Clojure, but no ClojureScript REPL.

jehrhardt19:04:25

Will have second look maybe tomorrow.

pez21:04:01

Did you get any error messages?

pez17:04:45

I might have changed it to ctrl+alt+v ctrl+alt+j in that version you are testing, I don’t recall.

pez17:04:38

Any clojure-ish file will do. Calva won’t really wake up until such a file is opened. (Because reasons).

pez17:04:11

And remember that a problem with that version is that the processes it starts at jack-in are never killed. So you will need to kill them of with your process-killer tool of choice when you are done with them.