toolbox-vscode icon indicating copy to clipboard operation
toolbox-vscode copied to clipboard

Shell server terminated due to syntax error after running 'code .'

Open thatLeaflet opened this issue 2 years ago • 0 comments

About My Setup

I'm running Ubuntu 22.04. Since toolbox isn't packaged for Ubuntu, I manually compiled it using the instructions here. Toolbox seems to be working correctly; I created a Fedora 34 container, updated it, and even ran Firefox inside of it.

What I did

  1. I compiled toolbox for my system using the instructions and rebooted my system
  2. I created a Fedora 34 toolbox and updated it
  3. I followed toolbox-vscode's install instructions, git cloned the repository into ~/.local/share and ran the other commands
  4. Went to my program's directory and ran code .
  5. Was prompted to install VSCodium, installed it, installed Remote Container Extension
  6. Tried rebooting to see if that solved the issue

Result

Image of VSCode and Error

[34 ms] Remote-Containers 0.234.0 in VS Code 1.67.0 (57fd6d0195bb9b9d1b49f6da5db789060795de47). [34 ms] Start: Resolving Remote [35 ms] Setting up container: fedora-toolbox-34 [39 ms] Start: Run: /home/evan/.local/bin/podman-host inspect --type container fedora-toolbox-34 [164 ms] Start: Check Docker is running [164 ms] Start: Run: /home/evan/.local/bin/podman-host version --format {{.Server.APIVersion}} [287 ms] Server API version: 3.4.4 [288 ms] Start: Inspecting container [288 ms] Start: Run: /home/evan/.local/bin/podman-host inspect --type container 223bedeca7beef658f3421bf189bed7c2d5f9af725bcd40e3870ee8d6273f3c1 [411 ms] Start: Run in container: /bin/sh [413 ms] Start: Run in container: uname -m [420 ms] Start: Run in container: cat /etc/passwd [420 ms] Stdin closed! [422 ms] Shell server terminated (code: 2, signal: null)

-: 2: Syntax error: "(" unexpected

Possible causes

  • I get a "F: Filesystem suffix "create" is not applicable for --nofilesystem" message after running 'code .'
  • After installing locate using DNF, I saw a message that says "System has not been booted with systemd as init system (PID 1). Can't operate.... Failed to connect to bus: Host is down"

thatLeaflet avatar May 18 '22 20:05 thatLeaflet