Import error

Issue #881 resolved
Noname created an issue

Hello,

Using easy import I wanted to import some prop assets and it failed with error:

Python: Traceback (most recent call last):
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import-daz-dev\error.py", line 208, in execute
    self.run(context)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import-daz-dev\main.py", line 730, in run
    self.easyImport(context)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import-daz-dev\main.py", line 740, in easyImport
    bpy.ops.daz.import_daz(
  File "C:\Grafika\blender-3.0.1\3.0\scripts\modules\bpy\ops.py", line 132, in __call__
    ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import-daz-dev\error.py", line 208, in execute
    self.run(context)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import-daz-dev\main.py", line 216, in run
    self.loadDazFile(filepath, context)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import-daz-dev\main.py", line 142, in loadDazFile
    asset.build(context)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import-daz-dev\cycles.py", line 86, in build
    self.tree.build()
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import-daz-dev\cycles.py", line 356, in build
    self.buildLayer("")
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import-daz-dev\cycles.py", line 452, in buildLayer
    self.buildDiffuse()
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import-daz-dev\cycles.py", line 703, in buildDiffuse
    self.linkColor(tex, node, color, "Color")
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import-daz-dev\cycles.py", line 1638, in linkColor
    node.inputs[slot].default_value[0:3] = color
TypeError: bpy_prop_array[slice] = value: assignment is not a sequence type

location: C:\blender-3.0.1\3.0\scripts\modules\bpy\ops.py:132



location: <unknown location>:-1

Blender 3.0.1, plugin version 1.6.1.0860

As always, thank You for looking into it.

Best regards

Comments (3)

  1. Log in to comment