nurdism / neko

A self hosted virtual browser (rabb.it clone) that runs in docker.
Apache License 2.0
2.03k stars 185 forks source link

[BUG] Building the container in vscode hangs on keyboard layout selection #53

Closed secondubly closed 4 years ago

secondubly commented 4 years ago

Not exactly a bug, but following the instructions on developing inside a container causes issues when trying to build the container for dev. I've done the following steps (let me know if I messed up anywhere!)

  1. Clone the repo
  2. Start VS Code and click on the quick actions Status Bar item in the lower left corner of the window.
  3. Select Remote-Containers: Open Folder in Container... from the command list that appears, and open the root folder of the project you just cloned (in my case neko\)
  4. The container starts installing and then hits this point:
...
[62864 ms] Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ...
[62874 ms] Setting up libdb-dev:amd64 (5.3.1) ...
[62884 ms] Setting up libjsoncpp1:amd64 (1.7.4-3) ...
[62894 ms] Setting up libvorbisfile3:amd64 (1.3.5-4+deb9u2) ...
[62904 ms] Setting up libedit2:amd64 (3.1-20160903-3) ...
[62913 ms] Setting up libgmp-dev:amd64 (2:6.1.2+dfsg-1) ...
[62923 ms] Setting up libx265-95:amd64 (2.1-2+b2) ...
[62933 ms] Setting up keyboard-configuration (1.164) ...
[63005 ms] debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
[63300 ms] Configuring keyboard-configuration
----------------------------------

Please select the layout matching the keyboard for this machine.

[63300 ms]   1. English (US)
  2. English (US) - Cherokee
  3. English (US) - English (Colemak)
  4. English (US) - English (Dvorak alternative international no dead keys)
  5. English (US) - English (Dvorak)
  6. English (US) - English (Dvorak, international with dead keys)
  7. English (US) - English (Macintosh)
[63300 ms]   8. English (US) - English (Programmer Dvorak)
  9. English (US) - English (US, alternative international)
  10. English (US) - English (US, international with dead keys)
[63300 ms]   11. English (US) - English (US, with euro on 5)
  12. English (US) - English (Workman)
[63300 ms]   13. English (US) - English (Workman, international with dead keys)
  14. English (US) - English (classic Dvorak)
[63300 ms]   15. English (US) - English (international AltGr dead keys)
  16. English (US) - English (left handed Dvorak)
  17. English (US) - English (right handed Dvorak)
  18. English (US) - English (the divide/multiply keys toggle the layout)
  19. English (US) - Russian (US, phonetic)
  20. English (US) - Serbo-Croatian (US)
  21. Other
[63300 ms] Keyboard layout: 

I can't enter anything in the terminal (typing does nothing) so it just hangs - I'm probably just misunderstanding the instructions, has anyone else got this functioning properly and could provide some assistance?

Edit: realized I forgot to include the OS and vs code version:

OS:

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:    18.04
Codename:   bionic

VS Code:


Version: 1.43.2
Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50
Date: 2020-03-24T07:52:11.516Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.3.0-42-generic snap
nurdism commented 4 years ago

I'm not sure about this one, everything worked out of the box for me. Might be a vscode issue

secondubly commented 4 years ago

Strangely enough, I tried the same process on a Macbook and managed to get past that step so I'm thinking it's an Ubuntu-related problem. I'm going to do a bit more digging to see if there's anything I can figure out.