Fork me on GitHub
#calva
<
2020-10-01
>
Stefan12:10:59

@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 )
    at runMicrotasks (<anonymous>)
    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.

Stefan12:10:22

Does this suggest a potential solution to you maybe?

pez15:10:24

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

Stefan15:10:59

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?

pez16:10:57

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.

Stefan07:10:23

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.

pez10:10:27

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

Stefan14:10:04

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

❤️ 1
Stefan09:10:15

@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.

pez09:10:06

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. 😃

pez09:10:38

Now works for me. I can start a zoom meeting

Stefan10:10:47

Sure, great @pez!