thygate / stable-diffusion-webui-depthmap-script

High Resolution Depth Maps for Stable Diffusion WebUI
MIT License
1.72k stars 159 forks source link

Error completing request when generating video #355

Open semjon00 opened 1 year ago

semjon00 commented 1 year ago

Discussed in https://github.com/thygate/stable-diffusion-webui-depthmap-script/discussions/354

Originally posted by **vitalbuttering** October 12, 2023 Anyone can diagnose why i am getting this error when i try to generate video on Depth? Error completing request Arguments: (None, '300', '40', 1, '-0.015, 0.0, -0.05', '0.03, 0.03, 0.05, 0.03', False, 'mp4', '3') {} Traceback (most recent call last): File "I:\stable-diffusion-webui\modules\call_queue.py", line 56, in f res = list(func(*args, **kwargs)) File "I:\stable-diffusion-webui\modules\call_queue.py", line 37, in f res = func(*args, **kwargs) File "I:\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\core.py", line 590, in run_makevideo if len(fn_mesh) == 0 or not os.path.exists(fn_mesh): TypeError: object of type 'NoneType' has no len()
graemeniedermayer commented 1 year ago

It's so weird that that the last 3 issues are about NoneTypes but also seem unrelated.

TypeError: object of type 'NoneType' has no len() Here TypeError: must be real number, not NoneType https://github.com/thygate/stable-diffusion-webui-depthmap-script/issues/352 cannot unpack non-iterable NoneType object https://github.com/thygate/stable-diffusion-webui-depthmap-script/issues/353

Maybe an import dependency has recently changed. fn_mesh path is so straightforward the only package that comes to mind is a bad gradio update, maybe try reverting to an older gradio? auto1111 will likely try update gradio during startup so this might be a little challenging.

graemeniedermayer commented 1 year ago

They appear to have solved this issue https://github.com/thygate/stable-diffusion-webui-depthmap-script/discussions/354#discussioncomment-7265574 .

Some error message or ui locks might help prevent this in the future.