benrugg / AI-Render

Stable Diffusion in Blender
MIT License
1.08k stars 83 forks source link

New install crashes on render. #45

Closed drswoboda closed 1 year ago

drswoboda commented 1 year ago

Describe the bug

Fresh install of AI-Render. Simple scene. Simple prompt. Select RENDER in Blender and the plugin ERRORS. Automatic1111 runs fine in my browser window. -David

flowers_01.zip Blender_SD_RunError.txt SD_ServerErrorOnRender.txt SD_ServerLaunch.txt

blender_q8ijKPueRN

blender_MotbfbUW6s

blender_NantmdhORX

To reproduce

Just try to Render the scene in Blender. Stable Diffusion throws errors in the console.

Error log

Read prefs: C:\Users\drswo\AppData\Roaming\Blender Foundation\Blender\3.3\config\userpref.blend Reloading external rigs... Reloading external metarigs... _____REgister previews .. .ao .. .ao_legacy .. .bevel_mask .. .cavity .. .curvature .. .diffuse .. .displacment .. .dust .. .id_element .. .id_material .. .normal_object .. .normal_object_bevel .. .normal_tangent .. .normal_tangent_bevel .. .paint_base .. .position .. .selection .. .wireframe register Registered MACHIN3tools 1.1.0.DeusEx with 9 tools, 9 pie menus HardOps 0.9.87.33 available! Info: Updated sidebar tabs Read blend: G:\Projects__Projects BLENDER\AI Renders\flowers_01.blend AI Render Error: An error occurred in the Automatic1111 Stable Diffusion server. Check the server logs for more info.

Environment

Screenshots/video

No response

Additional information

No response

benrugg commented 1 year ago

Yeah, someone else had that issue earlier this week: #42

It's an error in Automatic1111, and none of us are sure why it's happening. Apparently a fresh install of Automatic1111 will solve it. (You can copy out the large weights file and then copy it back in, so you don't have to download it again, if you want)

benrugg commented 1 year ago

PS. Thank you for the diligent work posting all the logs!

drswoboda commented 1 year ago

Thanks for the quick reply. I am looking forward to trying your plugin in Blender. It looks really great. I'm glad the bug report was helpful, just trying to make your work a tad bit easier, figuring you can't really give too much information.

drswoboda commented 1 year ago

I just did a full reinstall of Automatic1111 Stable Diffusion, and I still get the Render error. I'll put this on the back burner until there is a known solution. Please let me know if you need any more data to help fix this issue. Thanks, -David

benrugg commented 1 year ago

ah, lame... That's really weird. I guess you might want to consider posting on Automatic1111 or seeing if there's already an issue about it. It would be the error you saw, while using "img2img in api mode"