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] Failed to update WinPython to version 3.12.3.0 #5762

Closed
Amazingkenneth opened this issue Apr 27, 2024 · 3 comments · Fixed by #5770
Closed

[Bug] Failed to update WinPython to version 3.12.3.0 #5762

Amazingkenneth opened this issue Apr 27, 2024 · 3 comments · Fixed by #5770
Labels
bug Something isn't working

Comments

@Amazingkenneth
Copy link

Bug Report

Current Behavior

PS C:\Users\a> scoop update *
winpython: 3.11.8.0 -> 3.12.3.0
Updating one outdated app:
Updating 'winpython' (3.11.8.0 -> 3.12.3.0)
Downloading new version
Loading Winpython64-3.12.3.0.exe from cache.
Checking hash of Winpython64-3.12.3.0.exe ... ok.
Uninstalling 'winpython' (3.11.8.0)
Unlinking D:\Scoop\apps\winpython\current
Installing 'winpython' (3.12.3.0) [64bit] from 'main' bucket
Loading Winpython64-3.12.3.0.exe from cache.
Extracting dl.7z ... done.
Linking D:\Scoop\apps\winpython\current => D:\Scoop\apps\winpython\3.12.3.0
Creating shim for 'idle'.
Get-Command : The term 'scripts\idle.bat' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
At D:\Scoop\apps\scoop\current\lib\install.ps1:783 char:21
+             $bin = (Get-Command $target).Source
+                     ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (scripts\idle.bat:String) [Get-Command], C
   ommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.Get
   CommandCommand

Can't shim 'scripts\idle.bat': File doesn't exist.
PS C:\Users\a>

Expected Behavior

Successful Installation/Update

Additional context/output

The required scripts\idle.bat batch file (described in the winpython.json file) is removed in the latest release of WinPython, causing the error to occur. script\winidle.bat probably serves the same function since both files call "%WINPYDIR%\python.exe" "%WINPYDIR%\Lib\idlelib\idle.pyw" %* in the older version (3.11.8.0).

Possible Solution

Modify winpython.json file in the main bucket.

System details

Windows version: 11

OS architecture: 64bit

PowerShell version: 5.1.22621.2506

Scoop Configuration

{
    "last_update": "2024-04-27T19:50:22.3031048+08:00",
    "aria2-warning-enabled": false,
    "scoop_branch": "master",
    "scoop_repo": "https://github.com/ScoopInstaller/Scoop"
}
@Amazingkenneth Amazingkenneth added the bug Something isn't working label Apr 27, 2024
@niheaven niheaven transferred this issue from ScoopInstaller/Scoop Apr 27, 2024
@aliesbelik
Copy link
Contributor

@niheaven, seems should be in Main.

@niheaven niheaven transferred this issue from ScoopInstaller/Extras Apr 27, 2024
@greenhull
Copy link

I keep getting a link to "googleads.g.doubleclick.net/....". which looks like a very bad link has something been hacked?? this is via the sourceforge link to the executeables

@Amazingkenneth
Copy link
Author

I keep getting a link to "googleads.g.doubleclick.net/....". which looks like a very bad link has something been hacked?? this is via the sourceforge link to the executeables

The link works fine here. Did you use the link described in winpython.json? It should be https://downloads.sourceforge.net/project/winpython/WinPython_3.12/3.12.3.0/Winpython64-3.12.3.0.exe#/dl.7z

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.

3 participants