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]: cmdow installed without working shim #13672

Closed
3 tasks done
soredake opened this issue Jul 21, 2024 · 1 comment
Closed
3 tasks done

[Bug]: cmdow installed without working shim #13672

soredake opened this issue Jul 21, 2024 · 1 comment
Labels

Comments

@soredake
Copy link

soredake commented Jul 21, 2024

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

cmdow

Expected/Current Behaviour

cmdow should be installed with working shim.

Current behaviour:

❯ scoop install extras/cmdow
Installing 'cmdow' (1.4.8) [64bit] from 'extras' bucket
Downloading https://github.com/ritchielawrence/cmdow/archive/v1.4.8.zip (-1 B)...

Checking hash of v1.4.8.zip ... ok.
Extracting v1.4.8.zip ... done.
Linking ~\scoop\apps\cmdow\current => ~\scoop\apps\cmdow\1.4.8
Creating shim for 'cmdow'.
InvalidOperation: C:\Users\user\scoop\apps\scoop\current\lib\core.ps1:19
Line |
  19 |          $binaryReader.Close()
     |          ~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
InvalidOperation: C:\Users\user\scoop\apps\scoop\current\lib\core.ps1:20
Line |
  20 |          $fileStream.Close()
     |          ~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.
'cmdow' (1.4.8) was installed successfully!
❯ cmdow
Shim: Could not determine if target is a GUI app. Assuming console.
Shim: Could not create process with command '"C:\Users\user\scoop\apps\cmdow\current\bin\Release\cmdow.exe" '.

Steps to Reproduce

scoop install extras/cmdow

Possible Solution

I don't know.

Scoop and Buckets Version

scoop --version
Current Scoop version:
be56faf2 (HEAD -> master, tag: v0.5.1, origin/master, origin/HEAD) chore(release): Bump to version 0.5.1 (#6057)

'main' bucket:
6f9be62da (HEAD -> master, origin/master, origin/HEAD) saml2aws: Update to version 2.36.17

'extras' bucket:
6f4630e9e (HEAD -> master, origin/master, origin/HEAD) sidekick-browser: Update to version 122.60.1.39616-1131b84

'versions' bucket:
ce4b950ff (HEAD -> master, origin/master, origin/HEAD) labplot-nightly: Update to version 6972

'nirsoft' bucket:
b38031d (HEAD -> master, origin/master, origin/HEAD) updated manifests

'sysinternals' bucket:
47f9751 (HEAD -> main, origin/main, origin/HEAD) chore(ci): Update 'psmodulecache' to 'main'

'nonportable' bucket:
1000f86 (HEAD -> master, origin/master, origin/HEAD) nodejs-np: Update to version 22.5.1

'java' bucket:
5c1770d3 (HEAD -> master, origin/master, origin/HEAD) zulufx8-jre: Update to version 8.80.0.17

'games' bucket:
6fdf267e4 (HEAD -> master, origin/master, origin/HEAD) duckstation-preview: Update to version 20240721-g533022b

'naderi' bucket:
1e4a7eef (HEAD -> master, origin/master, origin/HEAD) vscode-insider: Update to version 1721365552039

Scoop Config

scoop config

last_update       : 21.07.2024 16:34:22
use_external_7zip : True
scoop_repo        : https://github.com/ScoopInstaller/Scoop
scoop_branch      : master
use_sqlite_cache  : True

PowerShell Version

echo $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

@soredake soredake added the bug label Jul 21, 2024
@aliesbelik
Copy link
Collaborator

Depending on the antivirus software you are using and its settings it could block installation or quarantine binary in case of threat detection (see e.g. Is Cmdow Malware?).
Ensure first that it's not your case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants