Page MenuHome

Archimesh in 2.83: AttributeError: 'NodeSocketShader' object has no attribute 'default_value'
Confirmed, NormalPublicBUG

Description

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: rB4af74f453d4e
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

Event Timeline

Ankit (ankitm) renamed this task from Archimesh broken in 2.83 to Archimesh in 2.83: AttributeError: 'NodeSocketShader' object has no attribute 'default_value'.Fri, Feb 14, 11:11 AM
Ankit (ankitm) updated the task description. (Show Details)
Ankit (ankitm) added a project: Add-ons.
Ankit (ankitm) updated the task description. (Show Details)
Ankit (ankitm) updated the task description. (Show Details)
Ankit (ankitm) changed the task status from Needs Triage to Confirmed.Fri, Feb 14, 11:15 AM
Bastien Montagne (mont29) changed the subtype of this task from "Report" to "Bug".
Antonio Vazquez (antoniov) changed the task status from Confirmed to Needs Developer to Reproduce.Tue, Feb 18, 12:25 PM

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

Antonio Vazquez (antoniov) changed the task status from Needs Developer to Reproduce to Confirmed.Tue, Feb 18, 12:26 PM