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

MySQL Workbench 8.0.38 - Extraction issue #5972

Closed
3 tasks done
DavidEurenius opened this issue Jul 2, 2024 · 2 comments · Fixed by #5974
Closed
3 tasks done

MySQL Workbench 8.0.38 - Extraction issue #5972

DavidEurenius opened this issue Jul 2, 2024 · 2 comments · Fixed by #5974
Labels
bug Something isn't working

Comments

@DavidEurenius
Copy link

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

MySQL-workbench

Expected/Current Behaviour

Scoop has issues extracting and installing the package 8.0.38

Steps to Reproduce

PowerShell 7.4.3
PS C:\Users\david> scoop update *
mysql-workbench: 8.0.36 -> 8.0.38
Updating one outdated app:
Updating 'mysql-workbench' (8.0.36 -> 8.0.38)
Downloading new version
Loading mysql-workbench-community-8.0.38-winx64.msi from cache
Checking hash of mysql-workbench-community-8.0.38-winx64.msi ... ok.
Uninstalling 'mysql-workbench' (8.0.36)
Installing 'mysql-workbench' (8.0.38) [64bit] from 'main' bucket
Loading mysql-workbench-community-8.0.38-winx64.msi from cache
Extracting mysql-workbench-community-8.0.38-winx64.msi ... Exception: C:\Users\david\scoop\apps\scoop\current\lib\core.ps1:864
Line |
 864 |          throw "Could not find '$(fname $from)'! (error $($proc.ExitCo …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not find 'MySQL Workbench 8.0 CE'! (error 16)
PS C:\Users\david>

Possible Solution

I think the path is wrong or maybe \ in JSON, the folder is called mysql-workbench

Scoop and Buckets Version

PS C:\Users\david> scoop --version
Current Scoop version:
d337bb1f (HEAD -> master, tag: v0.4.2, origin/master, origin/HEAD) chore(release): Bump to version 0.4.2 (#5964)

'main' bucket:
9f77f1dad (HEAD -> master, origin/master, origin/HEAD) openapi-generator-cli: Update to version 7.7.0

'extras' bucket:
1de909a21 (HEAD -> master, origin/master, origin/HEAD) sidekick-browser: Update to version 122.60.1.40405-4e57373

'versions' bucket:
e9562f569 (HEAD -> master, origin/master, origin/HEAD) ipfilter-nightly@1719810439: Fix hash (Closes #1819)

'nonportable' bucket:
2b94c2e8 (HEAD -> master, origin/master, origin/HEAD) 10x-np: Update to version 1.0.179

Scoop Config

PS C:\Users\david> scoop config

last_update         scoop_repo                              scoop_branch aria2-warning-enabled
-----------         ----------                              ------------ ---------------------
2024-07-02 10:33:16 https://github.com/ScoopInstaller/Scoop master                       False

PowerShell Version

PS C:\Users\david> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.3
PSEdition                      Core
GitCommitId                    7.4.3
OS                             Microsoft Windows 10.0.22631
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 response

@DavidEurenius DavidEurenius added the bug Something isn't working label Jul 2, 2024
@MellowPhi
Copy link

MellowPhi commented Jul 4, 2024

I am facing the same issue. I have tried uninstalling and installing, clearing cache (although idk if this would help)
I am not sure if this issue is related to this issue ScoopInstaller/Scoop#6038 (comment) and possible solution suggested by @qwertyhjklxyz in the comment.

Reproducing steps

➜ ~  scoop install main/mysql-workbench
Installing 'mysql-workbench' (8.0.38) [64bit] from 'main' bucket
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 6aa399|OK  |   3.0MiB/s|C:/Users/mellowphi/scoop/cache/mysql-workbench#8.0.38#https_cdn.mysql.com_Downloads_MySQLGUITools_mysql-workbench-community-8.0.38-winx64.msi
Download: Status Legend:
Download: (OK):download completed.
Checking hash of mysql-workbench-community-8.0.38-winx64.msi ... ok.
Extracting mysql-workbench-community-8.0.38-winx64.msi ... Exception: C:\Users\mellowphi\scoop\apps\scoop\current\lib\core.ps1:864
Line |
 864 |          throw "Could not find '$(fname $from)'! (error $($proc.ExitCo
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not find 'MySQL Workbench 8.0 CE'! (error 16)

Scoop and Buckets Version

➜ ~  scoop --version
Current Scoop version:
d337bb1f (HEAD -> master, tag: v0.4.2, origin/master, origin/HEAD) chore(release): Bump to version 0.4.2 (#5964)

'main' bucket:
7d31ad518 (HEAD -> master, origin/master, origin/HEAD) simplex-chat: Update to version 5.8.2

'extras' bucket:
5cae5a73b (HEAD -> master, origin/master, origin/HEAD) windirstat@1.1.2: Fix download url & autoupdate

'versions' bucket:
3acb714eb (HEAD -> master, origin/master, origin/HEAD) zig-dev: Update to version 0.14.0-dev.144

'nonportable' bucket:
2a123382 (HEAD -> master, origin/master, origin/HEAD) 10x-np: Update to version 1.0.179```

### Scoop Config
```pwsh
➜ ~  scoop config

last_update          scoop_branch scoop_repo                              aria2-enabled
-----------          ------------ ----------                              -------------
4/07/2024 9:32:04 AM master       https://github.com/ScoopInstaller/Scoop          True

PowerShell Version


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

@MellowPhi
Copy link

Issue is fixed. Thank you.

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

Successfully merging a pull request may close this issue.

2 participants