Archimesh in 2.83: AttributeError: 'NodeSocketShader' object has no attribute 'default_value' #73794

Closed
opened 2020-02-14 09:24:14 +01:00 by Stretch · 9 comments

System Information
Operating system: Linux-4.15.0-76-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: Mesa DRI Intel(R) Haswell Mobile Intel Open Source Technology Center 4.5 (Core Profile) Mesa 20.0.0-devel - padoka PPA

Blender Version
Broken: version: 2.83 (sub 2), branch: master, commit date: 2020-02-13 23:33, hash: blender/blender@4af74f453d
Worked: (optional)

Short description of error
Has been the same for the last few 2.83 versions. Adding a mesh results in an error window. Trying to alter parameters on a previously created blind results in it disappearing.
https://docs.blender.org/manual/en/latest/addons/add_mesh/archimesh.html?highlight=archimesh
Exact steps for others to reproduce the error
Enable "add mesh: Archimesh" in preferences.
Shift A > Archimesh > [most options] cause error:

Traceback (most recent call last):
  File "/Users/ankit/blender-build/build/bin/Debug/Blender.app/Contents/Resources/2.83/scripts/addons/archimesh/achm_room_maker.py", line 338, in execute
    create_room(self, context)
  File "/Users/ankit/blender-build/build/bin/Debug/Blender.app/Contents/Resources/2.83/scripts/addons/archimesh/achm_room_maker.py", line 363, in create_room
    shape_walls_and_create_children(roomobject, roommesh)
  File "/Users/ankit/blender-build/build/bin/Debug/Blender.app/Contents/Resources/2.83/scripts/addons/archimesh/achm_room_maker.py", line 549, in shape_walls_and_create_children
    mat = create_diffuse_material("Wall_material", False, 0.765, 0.650, 0.588, 0.8, 0.621, 0.570, 0.1, True)
  File "/Users/ankit/blender-build/build/bin/Debug/Blender.app/Contents/Resources/2.83/scripts/addons/archimesh/achm_tools.py", line 340, in create_diffuse_material
    node.inputs[0].default_value = [r, g, b, 1]
AttributeError: 'NodeSocketShader' object has no attribute 'default_value'

location: <unknown location>:-1
**System Information** Operating system: Linux-4.15.0-76-generic-x86_64-with-debian-buster-sid 64 Bits Graphics card: Mesa DRI Intel(R) Haswell Mobile Intel Open Source Technology Center 4.5 (Core Profile) Mesa 20.0.0-devel - padoka PPA **Blender Version** Broken: version: 2.83 (sub 2), branch: master, commit date: 2020-02-13 23:33, hash: `blender/blender@4af74f453d` Worked: (optional) **Short description of error** Has been the same for the last few 2.83 versions. Adding a mesh results in an error window. Trying to alter parameters on a previously created blind results in it disappearing. https://docs.blender.org/manual/en/latest/addons/add_mesh/archimesh.html?highlight=archimesh **Exact steps for others to reproduce the error** Enable "add mesh: Archimesh" in preferences. Shift A > Archimesh > [most options] cause error: ``` Traceback (most recent call last): File "/Users/ankit/blender-build/build/bin/Debug/Blender.app/Contents/Resources/2.83/scripts/addons/archimesh/achm_room_maker.py", line 338, in execute create_room(self, context) File "/Users/ankit/blender-build/build/bin/Debug/Blender.app/Contents/Resources/2.83/scripts/addons/archimesh/achm_room_maker.py", line 363, in create_room shape_walls_and_create_children(roomobject, roommesh) File "/Users/ankit/blender-build/build/bin/Debug/Blender.app/Contents/Resources/2.83/scripts/addons/archimesh/achm_room_maker.py", line 549, in shape_walls_and_create_children mat = create_diffuse_material("Wall_material", False, 0.765, 0.650, 0.588, 0.8, 0.621, 0.570, 0.1, True) File "/Users/ankit/blender-build/build/bin/Debug/Blender.app/Contents/Resources/2.83/scripts/addons/archimesh/achm_tools.py", line 340, in create_diffuse_material node.inputs[0].default_value = [r, g, b, 1] AttributeError: 'NodeSocketShader' object has no attribute 'default_value' location: <unknown location>:-1 ```
Author

Added subscriber: @Stretch

Added subscriber: @Stretch
Ankit Meel changed title from Archimesh broken in 2.83 to Archimesh in 2.83: AttributeError: 'NodeSocketShader' object has no attribute 'default_value' 2020-02-14 11:12:49 +01:00
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Antonio Vazquez was assigned by Bastien Montagne 2020-02-17 15:56:46 +01:00

Changed status from 'Confirmed' to: 'Needs Developer To Reproduce'

Changed status from 'Confirmed' to: 'Needs Developer To Reproduce'

It fails only in 2.83. In 2.82 and previous work.

It fails only in 2.83. In 2.82 and previous work.

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Member

Added subscriber: @nacioss

Added subscriber: @nacioss
Member

I fixed the issue just now! submitting for differential...

I fixed the issue just now! submitting for differential...

This issue was referenced by f95373003e

This issue was referenced by f95373003e19e7eea0d13d69c36e3e33ddc3ed80

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#73794
No description provided.