Error in Blender 4.2

Issue #2075 invalid
goodwillsoft created an issue

Using the newest beta, Blender throws an error only seen in the blender console:

Parsing data
Preprocessing...
Fitting objects with dbz file...
Building objects...
Traceback (most recent call last):
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\error.py", line 223, in execute
    self.run(context)
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\main.py", line 287, in run
    self.loadDazFile(filepath, context)
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\main.py", line 184, in loadDazFile
    asset.postbuild()
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\cycles.py", line 130, in postbuild
    self.tree.postbuild()
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\cycles.py", line 2137, in postbuild
    marked = pruneNodeTree(self, active)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\tree.py", line 624, in pruneNodeTree
    makeDazImages(tree)
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\tree.py", line 742, in makeDazImages
    for link in list(first.inputs["Vector"].links):
                     ~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'bpy_prop_collection[key]: key "Vector" not found'
Error: Python: Traceback (most recent call last):
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\error.py", line 223, in execute
    self.run(context)
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\main.py", line 287, in run
    self.loadDazFile(filepath, context)
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\main.py", line 184, in loadDazFile
    asset.postbuild()
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\cycles.py", line 130, in postbuild
    self.tree.postbuild()
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\cycles.py", line 2137, in postbuild
    marked = pruneNodeTree(self, active)
    Traceback (most recent call last):
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\error.py", line 223, in execute
    self.run(context)
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\main.py", line 758, in run
    self.easyImport(context)
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\main.py", line 767, in easyImport
    bpy.ops.daz.import_daz_manually(
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py", line 109, in __call__
    ret = _op_call(self.idname_py(), kw)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\error.py", line 223, in execute
    self.run(context)
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\main.py", line 287, in run
    self.loadDazFile(filepath, context)
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\main.py", line 184, in loadDazFile
    asset.postbuild()
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\cycles.py", line 130, in postbuild
    self.tree.postbuild()
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\cycles.py", line 2137, in postbuild
    marked = pruneNodeTree(self, active)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\tree.py", line 624, in pruneNodeTree
    makeDazImages(tree)
  File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\Diffeomorphic-import_daz-1d9135e4f57e\tree.py", line 742, in makeDazImages
    for link in list(first.inputs["Vector"].links):
                     ~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'bpy_prop_collection[key]: key "Vector" not found'
Location: C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py:109

It loads the scene, the only thing that i notice is the geografts wont get merged.

It happens in every scene with geografts.

Comments (5)

  1. Alessandro Padovani

    Blender 4.2 is currently alpha, this means everything can change, thus it’s not supported.

  2. goodwillsoft reporter

    I know, it’s just a heads up for Thomas Larsson, maybe it’s just a trivial bug that is fixed in one minute.

  3. Thomas Larsson repo owner

    It sounds like the changed the name of the “Vector” input socket of the image texture node. To “UV” perhaps. But it is too early to think about Blender 4.2.0, that will only happen in version 4.2.0 of the addon.

  4. Log in to comment