gd3kr / BlenderGPT

Use commands in English to control Blender with OpenAI's GPT-4
MIT License
4.44k stars 323 forks source link

Blender 3.4.1 BrokenPipeError #13

Open drewdru opened 1 year ago

drewdru commented 1 year ago

Blender version: 3.4.1 Error:

Python: Traceback (most recent call last):
  File "/home/drewdru/.config/blender/3.4/scripts/addons/BlenderGPT-main/__init__.py", line 236, in execute
    blender_code = generate_blender_code(context.scene.gpt4_chat_input, context.scene.gpt4_chat_history)
  File "/home/drewdru/.config/blender/3.4/scripts/addons/BlenderGPT-main/__init__.py", line 119, in generate_blender_code
    print(completion_text, flush=True, end='\r')
BrokenPipeError: [Errno 32] Broken pipe

Additional info:

bpy.context.scene.gpt4_chat_input = "add moving in a circle animation to the Cube"
bpy.ops.gpt4.send_message()