Skip to content

Buildozer stack-overflows on Windows platforms, when not in WORKSPACE directory #123

@katzdm

Description

@katzdm

It seems that on Windows platforms, Buildozer will stack-overflow, if no super-directory contains a WORKSPACE file.

Root cause is in the function "func Find(dir string) (string, error) {...}" in the file "buildtools/wspace/workspace.go". The condition:

if dir == "" || dir == "/" || dir == "."

which checks whether the top-level directory has been reached, does not seem to take into account the possibility that the top-level directory is something like "C:". Stack-overflow seems to be the result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions