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

[Bug] The link to the model is incorrect in the GitHub Actions environment. #873

Open
pansong291 opened this issue Oct 20, 2023 · 2 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@pansong291
Copy link

  • I didn't find a similar issue already open.
  • I read the documentation (README AND Wiki)
  • I have installed FFMpeg
  • My problem is related to Spleeter only, not a derivative product (such as Webapplication, or GUI provided by others)
  • I have found the specific location of the relevant code.

Description

I ran the spleeter separate command in an Ubuntu environment using GitHub Actions, but encountered an error. The issue lies in the incorrect download link for the model.

The information is

httpx.HTTPStatusError: 404 Client Error: Not Found for url: https://github.com/pansong291/github-action-tasks/releases/download/v1.4.0/2stems.tar.gz

And the code looks like

        return cls(
            environ.get("GITHUB_HOST", cls.DEFAULT_HOST),
            environ.get("GITHUB_REPOSITORY", cls.DEFAULT_REPOSITORY),
            environ.get("GITHUB_RELEASE", cls.LATEST_RELEASE),
        )

I suspect that this issue may be caused by the presence of a duplicate variable with the same name in the environment variables of GitHub Actions.

Step to reproduce

  1. A different github repo
  2. Use the Github Actions
  3. Got 404 error

Output

httpx.HTTPStatusError: 404 Client Error: Not Found for url: https://github.com/pansong291/github-action-tasks/releases/download/v1.4.0/2stems.tar.gz

Environment

OS Linux (Ubuntu)
Installation type pip
RAM available --
Hardware spec CPU

Additional context

@pansong291 pansong291 added bug Something isn't working invalid This doesn't seem right labels Oct 20, 2023
@pansong291
Copy link
Author

pansong291 commented Oct 23, 2023

Due to the limitations of GitHub Actions, it is not possible to directly modify the GITHUB_REPOSITORY environment variable within its workflow, which means that running spleeter directly in the workflow is not feasible. Where can I modify this link address or are there any other solutions available? I can put this file in the release page of my repository. However, this is a temporary solution, and I hope there are other ways to fully resolve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant