amotile / stable-diffusion-studio

An animation focused workflow frontend for Stable Diffusion
MIT License
477 stars 31 forks source link

Generating images locally was successful for the web ui side, but not for your frontend. #25

Open 1229119561Weike opened 1 year ago

1229119561Weike commented 1 year ago

Error: ENOENT: no such file or directory, stat 'D:\data/collected/' at Object.statSync (node:fs:1551:3) at Object.statSync (pkg/prelude/bootstrap.js:1479:32) at __nodeinternal (node:internal/fs/utils:799:8) at Object.rmSync (node:fs:1226:13) at C:\snapshot\stable-diffusion-backend\dist\http-server.js:82:32 at Layer.handle [as handle_request] (C:\snapshot\stable-diffusion-backend\node_modules\express\lib\router\layer.js:95:5) at next (C:\snapshot\stable-diffusion-backend\node_modules\express\lib\router\route.js:144:13) at C:\snapshot\stable-diffusion-backend\node_modules\body-parser\lib\read.js:137:5 at AsyncResource.runInAsyncScope (node:async_hooks:202:9) at invokeCallback (C:\snapshot\stable-diffusion-backend\node_modules\raw-body\index.js:231:16) { errno: -4058, syscall: 'stat', code: 'ENOENT', path: 'D:\data/collected/'

amotile commented 1 year ago

Does it work if you create that folder? It shouldn't be needed but worth trying. The other thing you could try is running it as administrator. maybe there's some read access issues?

1229119561Weike commented 1 year ago

Does it work if you create that folder? It shouldn't be needed but worth trying. The other thing you could try is running it as administrator. maybe there's some read access issues?

This is really weird. I created folders and ran the program as administrator, but it still doesn't seem to work.

Error: No result! at Object. (C:\snapshot\stable-diffusion-backend\dist\process\implementations\automatic1111.js:160:35) at step (C:\snapshot\stable-diffusion-backend\dist\process\implementations\automatic1111.js:33:23) at Object.next (C:\snapshot\stable-diffusion-backend\dist\process\implementations\automatic1111.js:14:53) at fulfilled (C:\snapshot\stable-diffusion-backend\dist\process\implementations\automatic1111.js:5:58) at processTicksAndRejections (node:internal/process/task_queues:96:5)

1229119561Weike commented 1 year ago

Does it work if you create that folder? It shouldn't be needed but worth trying. The other thing you could try is running it as administrator. maybe there's some read access issues?

In my folder D:\data\output, the generated PNG file is 0kb and the json file is 1kb. The images generated by the front end display only a small image icon in the center.

amotile commented 1 year ago

How mysterious, I will try with the latest version of AUTOMATIC when I have time to see if they changed something.