Page MenuHome

Errors with Addon Archimesh when creating "Roller Curtains" and "Japanese Curtains"
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: Intel(R) HD Graphics 630 Intel 4.5.0 - Build 26.20.100.7156

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-12-04 11:32, hash: rBf1aa4d18d49d
Worked: (optional)

Short description of error
When adding some objects from the addon Archimesh I get an error <unknow location>.

Exact steps for others to reproduce the error

(Activate addon Archimesh to work)

Add (Mesh)>Archimesh>Decoration props>Roller curtains

or

Add (Mesh)>Archimesh>Decoration props>Japanese curtains

I get this errors:

bpy.context.area.ui_type = 'INFO'
bpy.ops.object.select_all(action='SELECT')
bpy.ops.object.delete(use_global=False)
Deleted 4 object(s)
bpy.ops.object.shade_smooth()
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.remove_doubles()
bpy.ops.object.editmode_toggle()
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.normals_make_consistent(inside=False)
bpy.ops.object.editmode_toggle()
bpy.ops.object.shade_smooth()
bpy.ops.object.modifier_add(type='SUBSURF')
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.remove_doubles()
bpy.ops.object.editmode_toggle()
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.normals_make_consistent(inside=False)
bpy.ops.object.editmode_toggle()
bpy.ops.object.shade_smooth()
bpy.ops.object.modifier_add(type='SUBSURF')
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.remove_doubles()
bpy.ops.object.editmode_toggle()
bpy.ops.object.editmode_toggle()
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.normals_make_consistent(inside=False)
bpy.ops.object.editmode_toggle()
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\archimesh\achm_curtain_maker.py", line 239, in execute
    create_roller_mesh(self)
  File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\archimesh\achm_curtain_maker.py", line 256, in create_roller_mesh
    generate_roller(self)
  File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\archimesh\achm_curtain_maker.py", line 675, in generate_roller
    0.265)
  File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\archimesh\achm_tools.py", line 850, in create_fabric_material
    inn = nodes['Diffuse BSDF'].inputs['Color']
KeyError: 'bpy_prop_collection[key]: key "Color" not found'

location: <unknown location>:-1

This goes in red:

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\archimesh\achm_curtain_maker.py", line 239, in execute
    create_roller_mesh(self)
  File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\archimesh\achm_curtain_maker.py", line 256, in create_roller_mesh
    generate_roller(self)
  File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\archimesh\achm_curtain_maker.py", line 675, in generate_roller
    0.265)
  File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\addons\archimesh\achm_tools.py", line 850, in create_fabric_material
    inn = nodes['Diffuse BSDF'].inputs['Color']
KeyError: 'bpy_prop_collection[key]: key "Color" not found'

location: <unknown location>:-1

I should be able to edit it aftewards, but I can't, it doesn't give the option after the error.

Same with the "Japanese curtains"

Event Timeline

One workaround I found is to change Render Engine to Workbench before adding the object. It doesn't show any edit options as far as I can tell but it does not throw the error regarding color and creates the whole object.