Errors with Addon Archimesh when creating "Roller Curtains" and "Japanese Curtains" #72875

Closed
opened 2020-01-03 13:03:26 +01:00 by Aranzazu Hurtado · 6 comments

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: blender/blender@f1aa4d18d4
Worked: (optional)

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

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

image.png

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

image.png

Same with the "Japanese curtains"

**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: `blender/blender@f1aa4d18d4` 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 ``` ![image.png](https://archive.blender.org/developer/F8258085/image.png) I should be able to edit it aftewards, but I can't, it doesn't give the option after the error. ![image.png](https://archive.blender.org/developer/F8258088/image.png) Same with the "Japanese curtains"

Added subscriber: @zutxita

Added subscriber: @zutxita
Antonio Vazquez was assigned by Germano Cavalcante 2020-01-08 17:56:53 +01:00

Added subscriber: @shw

Added subscriber: @shw

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.

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.

Added subscriber: @rjg

Added subscriber: @rjg

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

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

This issue was fixed by commit f95373003e

This issue was fixed by commit f95373003e
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#72875
No description provided.