Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unterminated quoted string bug #21

Closed
spikhoff opened this issue Feb 24, 2022 · 4 comments
Closed

Unterminated quoted string bug #21

spikhoff opened this issue Feb 24, 2022 · 4 comments

Comments

@spikhoff
Copy link
Contributor

After rebasing F35 to F36 I'm no longer able to open vscode in toolbox.

Steps to reproduce:

$ podman --version
podman version 4.0.0-rc4

$ toolbox enter
$ code .
ERRO[0000] Printing inspect output: template: all inspect:1: unterminated quoted string 
$HOME in container config is: '' - don't know how to handle this
@spikhoff spikhoff changed the title Fix unterminated quoted string bug Unterminated quoted string bug Feb 24, 2022
@owtaylor
Copy link
Owner

This looks like some sort of incompatibility with newer podman or just a podman bug. If you find a container with 'podman ps' and try:

podman inspect CONTAINER_NAME -format='{{ range .Config.Env }}{{ . }}{{"\n"}}{{ end }}'

does that produce the same error?

@spikhoff
Copy link
Contributor Author

It does:

$ podman inspect fedora-toolbox-36 -format='{{ range .Config.Env }}{{ . }}{{"\n"}}{{ end }}'
ERRO[0000] Printing inspect output: template: all inspect:1: unterminated quoted string

@owtaylor
Copy link
Owner

Would you mind filing a bug against containers/libpod about this? It's possible that the template there is invalid in some way, but:

  • It works with older versions of podman
  • It doesn't obviously contain an unterminated quoted string

@owtaylor
Copy link
Owner

owtaylor commented Mar 9, 2022

Worked around by #23

@owtaylor owtaylor closed this as completed Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants