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

AttributeError: 'str' object has no attribute 'scene' #123

Closed
googolhkl opened this issue Jul 13, 2023 · 2 comments
Closed

AttributeError: 'str' object has no attribute 'scene' #123

googolhkl opened this issue Jul 13, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@googolhkl
Copy link

Describe the bug

hello. I used the Ai Render (V0-9-0) version in blender 3.6 and there is no change over time as shown in the following image.

To reproduce

Ai Render - Change Image Size - Typed in prompt - Render Image(F12)

Error log

Traceback (most recent call last):
File "C:\Users\googo\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\AI-Render\handlers.py", line 21, in load_post_handler
if context.scene.air_props.is_enabled:
AttributeError: 'str' object has no attribute 'scene'

Environment

  • Blender version (upper right corner of splash screen): 3.6.0
  • AI Render version (find in Preferences > Add-ons): 0.9.0
  • Operating system (Windows/Mac/Linux): Windows11

Screenshots/video

화면 캡처 2023-07-13 115557

After a while, it didn't change, so I checked the console and saw the following error message.

화면 캡처 2023-07-13 115825

Is this a bug?

Additional information

No response

@googolhkl googolhkl changed the title Ai Render is not working. AttributeError: 'str' object has no attribute 'scene' Jul 13, 2023
@benrugg
Copy link
Owner

benrugg commented Jul 13, 2023

Thank you for posting this! I've replicated this on my end just now with Blender 3.6. I should be able to push a fix today. Otherwise, Blender 3.0-3.5 work right now.

@benrugg benrugg added the bug Something isn't working label Jul 13, 2023
@benrugg benrugg self-assigned this Jul 13, 2023
@benrugg
Copy link
Owner

benrugg commented Jul 13, 2023

Fixed in 43a9b00. Released here: https://github.com/benrugg/AI-Render/releases/tag/v0.9.1

You should be able to update through AI Render's add-on preferences. And I will update Blender Market and Gumroad in the next few minutes!

@benrugg benrugg closed this as completed Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants