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

Scoop was not installed #11

Open
ghost opened this issue Apr 29, 2018 · 7 comments
Open

Scoop was not installed #11

ghost opened this issue Apr 29, 2018 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Apr 29, 2018

Hi,

When opening scoop-viewer with scoop gui from cmd/powershell, the UI shows

Scoop was not installed

go to scoop.sh

Can you have a look at this?

Here's some informations about my scoop installation:

OS: Windows 8.1 64bit

Scoop version: latest

Environment: variableSCOOP was set to D:\opt\scoop manually before installing scoop from their website.

Output of scoop --version

Current Scoop version:
fatal: not a git repository (or any of the parent directories): .git

'scoop-viewer-bucket' bucket:
1d630cb (HEAD -> master, origin/master, origin/HEAD) [scoop-viewer] Update vers
on to v0.6
@prezesp
Copy link
Owner

prezesp commented May 1, 2018

Thanks for submitting bug. Until now checking if scoop is installed has been relied on scoop --version. But this command returns error when scoop directory is not a git repository.

@prezesp prezesp closed this as completed in 606bede May 1, 2018
@prezesp
Copy link
Owner

prezesp commented May 1, 2018

To enjoy fixed app, please run:

scoop update
scoop update scoop-viewer

@WascawyWabbit
Copy link

Same problem here. Win10 v1809, scoop and scoop-viewer are up to date.

Output of scoop --version:

Current Scoop version:
6141e46d (HEAD -> master, origin/master, origin/HEAD) fix(decompress): Change dark.exe parameter order ScoopInstaller/Extras#2143 ScoopInstaller/Main#56

'extras' bucket:
abcb428f (HEAD -> master, origin/master, origin/HEAD) skaffold: Update to version 0.30.0

'main' bucket:
6d746f04 (HEAD -> master, origin/master, origin/HEAD) pshazz: Update to version 0.2019.05.24

'scoop-viewer-bucket' bucket:
37053a2 (HEAD -> master, origin/master, origin/HEAD) [scoop-viewer] Update version to v0.7

'versions' bucket:
29e2f45 (HEAD -> master, origin/master, origin/HEAD) rclone-beta: Update to version 1.47.0-075-g9aac2d69

@prezesp
Copy link
Owner

prezesp commented Jun 13, 2019

Steps to reproduce your problem:

  • set environment variable %SCOOP% only for scoop installation purposes (path under %SCOOP% variable must be different than default)
  • run scoop in another cmd session, wherein variable not exists

Please show output from where scoop and echo %scoop% .

@prezesp prezesp reopened this Jun 13, 2019
@prezesp prezesp self-assigned this Jun 13, 2019
@prezesp prezesp added the bug Something isn't working label Jun 13, 2019
@hdhnl
Copy link

hdhnl commented Jul 27, 2021

 scoop bucket add scoop-viewer-bucket https://github.com/prezesp/scoop-viewer-bucket.git
Checking repo... ok
The scoop-viewer-bucket bucket was added successfully.
PS C:\Windows\System32> scoop install scoop-viewer
Installing 'scoop-viewer' (0.10.0) [64bit]
Loading scoop-viewer.zip from cache
WARN  Warning: No hash in manifest. SHA256 for 'scoop-viewer.zip' is:
    10b60bdc8f12d0114bbb90373181997ddfccacad1d294e75541e71638476ddf2
Extracting scoop-viewer.zip ... done.
Linking ~\scoop\apps\scoop-viewer\current => ~\scoop\apps\scoop-viewer\0.10.0
Creating shim for 'scoopviewer'.
Running post-install script...
Alias gui doesn't exist.
'scoop-viewer' (0.10.0) was installed successfully!

Gui doesn't work,
with error message:
" Scoop was not installed
go to scoop.sh"
What is the meaning of error message "Alias gui doesn't exist."

@hdhnl
Copy link

hdhnl commented Jul 31, 2021

Solved ✅
On a clean windows installation,
follow these instructions about power-shell configuration.
https://www.itexperience.net/fix-file-cannot-be-loaded-because-running-scripts-is-disabled-on-this-system/
And you will have a full-functional scoop-viewer.
I have used the latest release zip file for installation instead of command line installation.
https://github.com/prezesp/scoop-viewer/releases/download/0.10.0/scoop-viewer.zip
Finally I did the installation from the command line after rebooting.

@Roadrunner67
Copy link

I just had the same issue. In my case my Documents\PoweShell\profile.ps1 was referring to posh-git which I have no longer installed. After removing the reference, scoop gui works as intended.

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

No branches or pull requests

4 participants