Skip to content

livepeer_bench: back-slashes in the file path don't work #1844

Open
@jailuthra

Description

@jailuthra

Describe the bug
Back-slashes in the input manifest's path cause the benchmarking to fail on Windows.

To Reproduce
Here's the original Discord message from a user reporting this problem.

Expected behavior
Back-slashes should work out-of-the-box on Windows, or alternatives (like using forward-slashes) should be better documented.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows

Additional context
Golang's path library does not work well with back-slashes
We can try using an alternate library when creating the segment path from the input manifest's directory:

u := path.Join(dir, v.URI)

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