[Bug]: Cherry-studio-pre:version 1.2.8 Url Wrong

by ADMIN 49 views

Introduction

As a user of Scoop, a command-line installer for Windows, I encountered an issue while installing the cherry-studio-pre package. The installation failed due to a wrong URL in the package's version 1.2.8. In this article, I will provide a detailed report of the issue, including the steps to reproduce, possible solutions, and additional information.

Prerequisites

Before we dive into the issue, let's ensure that we have met the prerequisites:

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

The package name is cherry-studio-pre.

Expected/Current Behaviour

The expected behavior is that the installation of the cherry-studio-pre package should be successful. However, the current behavior is that the installation fails due to a wrong URL.

Steps to Reproduce

To reproduce the issue, follow these steps:

  1. Open a new PowerShell window.
  2. Run the command scoop install versions/cherry-studio-pre.
  3. Observe the output, which should indicate that the package is being installed.

Output

The output of the command is as follows:

WARN  Purging previous failed installation of cherry-studio-pre.
ERROR 'cherry-studio-pre' isn't installed correctly.
Removing older version (1.2.8).
'cherry-studio-pre' was uninstalled.
Installing 'cherry-studio-pre' (1.2.8) [64bit] from 'versions' bucket
The remote server returned an error: (404) Not Found.
URL https://github.com/CherryHQ/cherry-studio/releases/download/v1.2.8/Cherry-Studio-1.2.8-setup.exe#/dl.7z is not valid

Possible Solution

The possible solution to this issue is to change the URL from https://github.com/CherryHQ/cherry-studio/releases/download/v1.2.8/Cherry-Studio-1.2.8-setup.exe#/dl.7z to https://github.com/CherryHQ/cherry-studio/releases/download/v1.2.8/Cherry-Studio-1.2.8-x64-setup.exe#/dl.7z.

Scoop and Buckets Version

To ensure that we are using the latest version of Scoop and corresponding bucket, let's check the version:

scoop --version
Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
299446457 (HEAD -> master, origin/master, origin/HEAD) slang: Update to version 2025.7.1

'extras' bucket:
1c27c3883b (HEAD -> master, origin/master, origin/HEAD) virtualhere-client: Update to version 5.8.7

'versions' bucket:
6626934a2 (HEAD -> master, origin/master, origin/HEAD) webstorm-eap: Update to version 2025.1.1-251.25410.23

'nerd-fonts' bucket:
dc44f444 (HEAD -> master, origin/master, origin/HEAD) iA-Writer-NF: Update to version 3.4.0

Scoop Config

To verify that we are using the correct Scoop configuration, let's check the configuration:

scoop config

last_update        scoop_repo                              scoop_branch
-----------        ----------                              ------------
2025/4/25 18:01:24 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

To ensure that we are using the correct PowerShell version, let's check the version:

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.5.0
PSEdition                      Core
GitCommitId                    7.5.0
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No additional software is required to reproduce this issue.

Conclusion

Q: What is the issue with the cherry-studio-pre package version 1.2.8?

A: The issue with the cherry-studio-pre package version 1.2.8 is that the URL is wrong, resulting in a 404 error when trying to install the package.

Q: What is the correct URL for the cherry-studio-pre package version 1.2.8?

A: The correct URL for the cherry-studio-pre package version 1.2.8 is https://github.com/CherryHQ/cherry-studio/releases/download/v1.2.8/Cherry-Studio-1.2.8-x64-setup.exe#/dl.7z.

Q: How do I reproduce the issue?

A: To reproduce the issue, follow these steps:

  1. Open a new PowerShell window.
  2. Run the command scoop install versions/cherry-studio-pre.
  3. Observe the output, which should indicate that the package is being installed.

Q: What is the output of the command when trying to install the cherry-studio-pre package version 1.2.8?

A: The output of the command is as follows:

WARN  Purging previous failed installation of cherry-studio-pre.
ERROR 'cherry-studio-pre' isn't installed correctly.
Removing older version (1.2.8).
'cherry-studio-pre' was uninstalled.
Installing 'cherry-studio-pre' (1.2.8) [64bit] from 'versions' bucket
The remote server returned an error: (404) Not Found.
URL https://github.com/CherryHQ/cherry-studio/releases/download/v1.2.8/Cherry-Studio-1.2.8-setup.exe#/dl.7z is not valid

Q: What is the possible solution to this issue?

A: The possible solution to this issue is to change the URL from https://github.com/CherryHQ/cherry-studio/releases/download/v1.2.8/Cherry-Studio-1.2.8-setup.exe#/dl.7z to https://github.com/CherryHQ/cherry-studio/releases/download/v1.2.8/Cherry-Studio-1.2.8-x64-setup.exe#/dl.7z.

Q: What is the current version of Scoop and corresponding bucket?

A: The current version of Scoop is v0.5.2 and the corresponding bucket is versions.

Q: How do I check the version of Scoop and corresponding bucket?

A: To check the version of Scoop and corresponding bucket, run the command scoop --version and scoop config.

Q: What is the PowerShell version being used?

A: The PowerShell version being used is 7.5.0.

Q: How do I check the PowerShell version?

A: To check the PowerShell version, run the command $PSVersionTable.

Q: Are there any additional software requirements to reproduce this issue?

A: No there are no additional software requirements to reproduce this issue.