openvinotoolkit / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
250 stars 39 forks source link

[Bug]: stable-diffusion-webui\webui-user.bat was unexpected #30

Closed TheWonderfulTartiflette closed 10 months ago

TheWonderfulTartiflette commented 10 months ago

Is there an existing issue for this?

What happened?

I'm trying to reinstall Stable Diffusion with OpenVINO, but now I'm getting this weird error "Diffusion\stable-diffusion-webui\webui-user.bat was unexpected."

This was the command I entered : "C:\Stable Diffusion\stable-diffusion-webui>first-time-runner.bat"

For now I only cloned the GitHub repo and went in the stable-diffusion-webui folder, trying to run first-time-runner.bat

Steps to reproduce the problem

Said everything above

What should have happened?

Not give this error

Version or Commit where the problem happens

Idk? Latest?

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Windows

What device are you running WebUI on?

Other GPUs

Cross attention optimization

Automatic

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

No

List of extensions

No

Console logs

C:\Stable Diffusion\stable-diffusion-webui>first-time-runner.bat
Diffusion\stable-diffusion-webui\webui-user.bat était inattendu.

Additional information

No response

qiacheng commented 10 months ago

could you try removing the space in the folder "Stable Diffusion"? it looks like the error is caused by the space in path. Thanks for addressing this and we will update the setup script

TheWonderfulTartiflette commented 10 months ago

@qiacheng thanks, this worked :)