Skip to content

x/playground: web app runtime error with file/dir name conflicts in the txtar #44678

Open
golang/playground
#11
@yaegashi

Description

@yaegashi

What did you do?

Run the following in the Go Playground: https://play.golang.org/p/92soX8Gyrsn

package main

func main() {}
-- a --
-- a/b --

What did you expect to see?

It should tell there's a file/dir name conflict in the txtar.

What did you see instead?

Error communicating with remote server.
Program exited.

Addtional info

The playground web app emits either of the following runtime errors when there's a file/dir name conflict:

cmdFunc error: mkdir /tmp/sandbox253661173/a: not a directory
cmdFunc error: error creating temp file "/tmp/sandbox446449006/a": open /tmp/sandbox446449006/a: is a directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions