prezesp / scoop-viewer

A gui client for scoop.
MIT License
104 stars 4 forks source link

Scoop was not installed #11

Open ghost opened 6 years ago

ghost commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

To enjoy fixed app, please run:

scoop update
scoop update scoop-viewer
WascawyWabbit commented 5 years ago

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 https://github.com/lukesampson/scoop-extras/pull/2143 https://github.com/ScoopInstaller/Main/pull/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 commented 5 years ago

Steps to reproduce your problem:

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

hdhnl commented 3 years ago
 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 commented 3 years ago

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 commented 1 year ago

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.