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

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

Open
1229119561Weike opened this issue Nov 2, 2022 · 4 comments

Comments

@1229119561Weike
Copy link

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 _node_internal (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
Copy link
Owner

amotile commented Nov 2, 2022

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
Copy link
Author

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
Copy link
Author

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
Copy link
Owner

amotile commented Nov 2, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants