Skip to content

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

@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

Activity

added this to the Unreleased milestone on Feb 28, 2021
gopherbot

gopherbot commented on Feb 28, 2021

@gopherbot
Contributor

Change https://golang.org/cl/297369 mentions this issue: playground: check file/dir name conflicts in txtar

added
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
on Mar 2, 2021
dmitshur

dmitshur commented on Mar 2, 2021

@dmitshur
Member

CC @golang/release.

added
NeedsFixThe path to resolution is known, but the work has not been done.
and removed
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
on Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

    Relationships

    None yet

      Development

      Participants

      @yaegashi@dmitshur@gopherbot

      Issue actions

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