Giter Club home page Giter Club logo

Comments (2)

neatorobito avatar neatorobito commented on August 22, 2024

Hey, thanks for filing this. I'll investigate it and try to come up with a fix this weekend.

from scoop-crystal.

neatorobito avatar neatorobito commented on August 22, 2024

Unfortunately it seems like this is an issue with scoop across the board. I setup a fresh VM with a non-ASCII username and got this before I even got to installing crystal.

PS C:\Users\Максим> iwr -useb get.scoop.sh | iex
Initializing...
Downloading scoop...
Extracting...
Creating shim...
Downloading main bucket...
Extracting...
Adding ~\scoop\shims to your path.
'lastupdate' has been set to '2022-01-26T16:34:39.7081718-08:00'
Scoop was installed successfully!
Type 'scoop help' for instructions.
PS C:\Users\Максим> scoop bucket add crystal-preview https://github.com/neatorobito/scoop-crystal
Git is required for buckets. Run 'scoop install git' and try again.
PS C:\Users\Максим> scoop install git
Installing '7zip' (21.07) [64bit]
7z2107-x64.msi (1.8 MB) [=====================================================================================] 100%
Checking hash of 7z2107-x64.msi ... ok.
install-context.reg (764 B) [=================================================================================] 100%
Checking hash of install-context.reg ... ok.
uninstall-context.reg (498 B) [===============================================================================] 100%
Checking hash of uninstall-context.reg ... ok.
Extracting 7z2107-x64.msi ... done.
Running pre-install script...
Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\21.07
Creating shim for '7z'.
Value does not fall within the expected range.
At C:\Users\Максим\scoop\apps\scoop\current\lib\shortcuts.ps1:48 char:5
+     $wsShell.TargetPath = $target.FullName
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], ArgumentException
    + FullyQualifiedErrorId : System.ArgumentException

Unable to save shortcut "C:\Users\??????\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Scoop Apps\7-Zip.lnk".
At C:\Users\Максим\scoop\apps\scoop\current\lib\shortcuts.ps1:56 char:5
+     $wsShell.Save()
+     ~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], FileNotFoundException
    + FullyQualifiedErrorId : System.IO.FileNotFoundException

Creating shortcut for 7-Zip (7zFM.exe)
Persisting Codecs
Persisting Formats
'7zip' (21.07) was installed successfully!
Notes
-----
Add 7-Zip as a context menu option by running: "C:\Users\Максим\scoop\apps\7zip\current\install-context.reg"
Installing 'git' (2.35.0.windows.1) [64bit]
PortableGit-2.35.0-64-bit.7z.exe (43.7 MB) [==================================================================] 100%
Checking hash of PortableGit-2.35.0-64-bit.7z.exe ... ok.
Extracting dl.7z ... done.
Linking ~\scoop\apps\git\current => ~\scoop\apps\git\2.35.0.windows.1
Creating shim for 'git'.
Creating shim for 'gitk'.
Creating shim for 'git-gui'.
Creating shim for 'tig'.
Creating shim for 'git-bash'.
Value does not fall within the expected range.
At C:\Users\Максим\scoop\apps\scoop\current\lib\shortcuts.ps1:48 char:5
+     $wsShell.TargetPath = $target.FullName
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], ArgumentException
    + FullyQualifiedErrorId : System.ArgumentException

Unable to save shortcut "C:\Users\??????\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Scoop Apps\Git
Bash.lnk".
At C:\Users\Максим\scoop\apps\scoop\current\lib\shortcuts.ps1:56 char:5
+     $wsShell.Save()
+     ~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], FileNotFoundException
    + FullyQualifiedErrorId : System.IO.FileNotFoundException

Creating shortcut for Git Bash (git-bash.exe)
Value does not fall within the expected range.
At C:\Users\Максим\scoop\apps\scoop\current\lib\shortcuts.ps1:48 char:5
+     $wsShell.TargetPath = $target.FullName
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], ArgumentException
    + FullyQualifiedErrorId : System.ArgumentException

Unable to save shortcut "C:\Users\??????\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Scoop Apps\Git GUI.lnk".
At C:\Users\Максим\scoop\apps\scoop\current\lib\shortcuts.ps1:56 char:5
+     $wsShell.Save()
+     ~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], FileNotFoundException
    + FullyQualifiedErrorId : System.IO.FileNotFoundException

Creating shortcut for Git GUI (git-gui.exe)
'git' (2.35.0.windows.1) was installed successfully!
Notes
-----
Set Git Credential Manager Core by running: "git config --global credential.helper manager-core"
PS C:\Users\Максим>

Please re-file this issue upstream here.

In the meantime, if you still want to try Crystal you can download the preview release binaries directly from the GitHub releases page.

from scoop-crystal.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.