stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Installation Failed - Nothing happen when I click on the "LAUNCH WEBUI" from Launcher V1.7.0

Open vrthur opened this issue 2 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

Hello, I hope that my request is correctly formulated and that I am in the right place. My computer is in French, I indicate the translations of all the French contents at the end of the message

During the installation, I have all this content displayed in the "A1111 WebUI (Pin to Taskbar)" console:

Loading A111 WebUI Launcher
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
i   Settings file found, loading
→   Updating Settings File  ✓
i   Launcher Version 1.7.0
i   No Launcher launch options
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
→   Checking requirements :
i   Python 3.10.6150.1013 found in registry:  C:\Users\lebel\AppData\Local\Programs\Python\Python310\
i   Clearing PATH of any mention of Python
→   Adding python 3.10 to path  ✓
i   Git found and already in PATH:  C:\Program Files\Git\cmd\git.exe
i   Automatic1111 SD WebUI found:  F:\Program Files\Personal\A1111 Web UI Autoinstaller\stable-diffusion-webui
i   One or more checkpoint models were found
Get-Content : L'accès au chemin d'accès 'F:\Program Files\Personal\A1111 Web UI
Autoinstaller\stable-diffusion-webui\.git\refs\heads\master' est refusé.
Au caractère F:\Program Files\Personal\A1111 Web UI Autoinstaller\Launcher\Functions.psm1:167 : 13
+     $hash = Get-Content $hashPath
+             ~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo          : PermissionDenied: (F:\Program File...fs\heads\master:String) [Get-Content], Unauthorized
 AccessException
  + FullyQualifiedErrorId : GetContentReaderUnauthorizedAccessError,Microsoft.PowerShell.Commands.GetContentCommand

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Loading Complete, opening launcher

This part part is in red, so I guess there is an error on these steps:

`Get-Content : L'accès au chemin d'accès 'F:\Program Files\Personal\A1111 Web UI
Autoinstaller\stable-diffusion-webui\.git\refs\heads\master' est refusé.
Au caractère F:\Program Files\Personal\A1111 Web UI Autoinstaller\Launcher\Functions.psm1:167 : 13
+     $hash = Get-Content $hashPath
+             ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (F:\Program File...fs\heads\master:String) [Get-Content], Unauthorized
   AccessException
    + FullyQualifiedErrorId : GetContentReaderUnauthorizedAccessError,Microsoft.PowerShell.Commands.GetContentCommand`

In any case, the dialog box: "Launcher V1.7.0" opens. But once I click on "LAUNCH WEBUI", the "Launcher V1.7.0" dialog box disappears, and the "A1111 WebUI (Pin To Taskbar)" terminal shows the following lines and then disappears (I had to use OBS to save the screen in order to read the last lines to display the error). Here are the last lines displayed in "A1111 WebUI (Pin To Taskbar)" :

Loading Complete, opening launcher
No arguments set 
No arguments set 
WEBUI LAUNCHING VIA EMS LAUNCHER, EXIT THIS WINDOW TO STOP THE WEBUI 
Any error happening after 'commit hash : XXXX' is not related to the launcher. Please report them on Automatic1111' s github instead : 
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/new/choose 
Start-Process : Impossible d'executer cette commande en raison de l'erreur : Le fichier spécifié est introuvable. 
Au caractère F:\Program Files\Personal\A1111 Web UI Autoinstaller\Launcher\LauncherUI.ps1:95 : 5
+ Start-Process "$webuiPath/webui.bat" -NoNewWindow 
+ --------- 
+ CategoryInfo : InvalidOperation : (:) [Start-Process], InvalidOperationException 
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand 

The last 4 lines are in red

French to English translations: French "L'accès au chemin d'accès 'F:\Program Files\Personal\A1111 Web UI Autoinstaller\stable-diffusion-webui\.git\refs\heads\master' est refusé." "Au caractère F:\Program Files\Personal\A1111 Web UI Autoinstaller\Launcher\Functions.psm1:167 : 13" English "Access to the path 'F:\Program Files\Personal\A1111 Web UI Autoinstaller\stable-diffusion-webui\.git\refs\heads\master' is denied." "To the character F:\Program Files\PersonalA1111 Web UI Autoinstaller\Launcher\Functions.psm1:167: 13"

French "Start-Process : Impossible d'executer cette commande en raison de l'erreur : Le fichier spécifié est introuvable. Au caractère F:\Program Files\Personal\A1111 Web UI Autoinstaller\Launcher\LauncherUI.ps1:95 : 5" English "Start-Process: Unable to execute this command due to error: The specified file cannot be found. At character F:\Program Files\Personal\A1111 Web UI AutoinstallerLauncher\LauncherUI.ps1:95 : 5"

Thank you a lot in advance, wishing you all a wondedrfull week end.

Steps to reproduce the problem

The error occurs every time I try to install the program. Despite restarts. I have also removed the read-only option from the installation folder. But unfortunately I don't know how to allow you to reproduce the error

What should have happened?

I guess I should have had the browser launch with the program interface

Commit where the problem happens

V1.7.0

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

No.

List of extensions

No.

Console logs

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Loading A111 WebUI Launcher
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 i   Settings file found, loading
 →   Updating Settings File  ✓
 i   Launcher Version 1.7.0
 i   No Launcher launch options
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 →   Checking requirements :
 i   Python 3.10.6150.1013 found in registry:  C:\Users\lebel\AppData\Local\Programs\Python\Python310\
 i   Clearing PATH of any mention of Python
 →   Adding python 3.10 to path  ✓
 i   Git found and already in PATH:  C:\Program Files\Git\cmd\git.exe
 i   Automatic1111 SD WebUI found:  F:\Program Files\Personal\A1111 Web UI Autoinstaller\stable-diffusion-webui
 i   One or more checkpoint models were found
Get-Content : L'accès au chemin d'accès 'F:\Program Files\Personal\A1111 Web UI
Autoinstaller\stable-diffusion-webui\.git\refs\heads\master' est refusé.
Au caractère F:\Program Files\Personal\A1111 Web UI Autoinstaller\Launcher\Functions.psm1:167 : 13
+     $hash = Get-Content $hashPath
+             ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : PermissionDenied: (F:\Program File...fs\heads\master:String) [Get-Content], Unauthorized
   AccessException
    + FullyQualifiedErrorId : GetContentReaderUnauthorizedAccessError,Microsoft.PowerShell.Commands.GetContentCommand

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Loading Complete, opening launcher
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 i   Arguments are now: --ckpt-dir 'F:\Program Files\Personal\A1111 Web UI Autoinstaller\stable-diffusion-webui\models\Stable-diffusion'

`Loading Complete, opening launcher
No arguments set 
No arguments set 
WEBUI LAUNCHING VIA EMS LAUNCHER, EXIT THIS WINDOW TO STOP THE WEBUI 
Any error happening after 'commit hash : XXXX' is not related to the launcher. Please report them on Automatic1111' s github instead : 
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/new/choose 
Start-Process : Impossible d'executer cette commande en raison de l'erreur : Le fichier spécifié est introuvable. 
Au caractère F:\Program Files\Personal\A1111 Web UI Autoinstaller\Launcher\LauncherUI.ps1:95 : 5
+ Start-Process "$webuiPath/webui.bat" -NoNewWindow 
+ --------- 
+ CategoryInfo : InvalidOperation : (:) [Start-Process], InvalidOperationException 
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand 
`

Additional information

No response

vrthur avatar Feb 11 '23 10:02 vrthur

It may be you need to install on your C drive, where other program files for powershell are located.

Your system seeks F:\Program Files\Personal\A1111 Web UI AutoinstallerLauncher\LauncherUI.ps1:95

do you have program files here?

don't know enough about this launcher, maybe you can ask on their github

ClashSAN avatar Feb 11 '23 16:02 ClashSAN

like clashsan said, it looks like error is in A1111 Web UI AutoinstallerLauncher\LauncherUI.ps1, so it should be reported to whoever wrote that launcher, not here.

vladmandic avatar Feb 12 '23 21:02 vladmandic

你好,问题解决了吗,我也遇到了这个问题

hjyyy123 avatar Mar 19 '23 04:03 hjyyy123

Please report this in the correct repo. https://github.com/EmpireMediaScience/A1111-Web-UI-Installer

catboxanon avatar Aug 11 '23 16:08 catboxanon