calva

Wednesdays you might find @U0ETXRFEW in the Gather Calva space. Invite is https://gather.town/invite?token=GZqrm7CR and the password is `Be kind`.
Stefan 2020-10-01T12:02:59.087600Z

@pez I didn’t get around to trying this earlier, but I just did and I can’t get the REPL over LiveShare to work. The host has shared their REPL port. When I try to connect to it, using “connect to a running REPL”, I would expect to have to provide a port number, which doesn’t happen. Instead, in the VSCode “Log (Window)“, I see this error:

[2020-10-01 13:58:17.820] [renderer1] [error] Error: EROFS: read-only file system, mkdir '/.calva': Unknown (FileSystemError) (FileSystemError): Error: EROFS: read-only file system, mkdir '/.calva'
    at _handleError (/Applications/Visual Studio <http://Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:706:514|Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:706:514>)
    at runMicrotasks (&lt;anonymous&gt;)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
Please note that his happens both when .calva is in .gitignore (and hence I don’t see the folder as guest), and when it is not.

Stefan 2020-10-01T12:05:22.088Z

Does this suggest a potential solution to you maybe?

pez 2020-10-01T15:13:24.090300Z

It could be that we use the wrong method to create the directory. Or that we need to be liveshare aware…

Stefan 2020-10-01T15:38:59.091200Z

Not sure. I think the ‘issue’ may be before that, because on the host the folder actually exists. So maybe the method for checking whether or not the folder exists needs to be live share aware?

pez 2020-10-01T16:19:57.092900Z

If you run Calva in development, you could just make a no-op instead of the mkdir and see where/if it fails after that,.. I can make myself available tonight to experiment together with you.

Stefan 2020-10-02T07:50:23.100400Z

Sorry I noticed your message just now. I juggling with quite a few balls at the moment, so even though I very much appreciate your offer I’m going to postpone that a bit. Maybe I’ll give it a shot myself when I have a bit of time left here or there. It would be nice if this works, but it it not the-highest-prio for me atm, sorry.

pez 2020-10-02T10:03:27.100600Z

Too bad. 😃 But maybe you can find the time to file an issue about it?

Stefan 2020-10-02T14:09:04.100800Z

Of course, should have done that sooner: https://github.com/BetterThanTomorrow/calva/issues/803

❤️ 1
Stefan 2020-10-04T09:42:15.111Z

@pez If you’re still up for it I’d be happy to have a call about this, so that you can point me in the right direction 🙂 I would be able to do it today, or tomorrow evening for example.

pez 2020-10-04T09:46:06.111200Z

Cool! I might be able to do it now, or in 15-20 minutes, at least. Would that work for you? Not that I know the direction so please lower your expectations. 😃

pez 2020-10-04T09:58:38.111400Z

Now works for me. I can start a zoom meeting

Stefan 2020-10-04T10:01:47.111600Z

Sure, great @pez!