@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 (<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.Does this suggest a potential solution to you maybe?
It could be that we use the wrong method to create the directory. Or that we need to be liveshare aware…
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?
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.
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.
Too bad. 😃 But maybe you can find the time to file an issue about it?
Of course, should have done that sooner: https://github.com/BetterThanTomorrow/calva/issues/803
@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.
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. 😃
Now works for me. I can start a zoom meeting
Sure, great @pez!