Python Error as I try to import New Genitalia For Victoria 8

Issue #1173 resolved
Rob Inters created an issue

import of any Scene with New Genitalia For Victoria 8 in to Blender results always in the following error:

I already tried to use different Blender versions 3.0, 3.1, 3.2, 3.3 and the Diffeomorphic stable version and the development version, nothing seems to help.

Python: Traceback (most recent call last):
  File "C:\Users\max\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\error.py", line 208, in execute
    self.run(context)
  File "C:\Users\max\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\main.py", line 124, in run
    self.loadDazFile(filepath, context)
  File "C:\Users\max\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\main.py", line 244, in loadDazFile
    asset.postbuild()
  File "C:\Users\max\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\cycles.py", line 126, in postbuild
    self.tree.selectDiffuse(marked)
  File "C:\Users\max\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\cycles.py", line 1759, in selectDiffuse
    if self.diffuseTex and marked[self.diffuseTex.name]:
KeyError: ''

Comments (4)

  1. Thomas Larsson repo owner

    I don’t get this problem when I load NGV8. Besides, you must be using an old version because in the dev version the relevant line is 1987 rather than 1759. However, I changed the code at the new location and the error should be gone in the latest commit.

  2. Rob Inters reporter

    Yes, this is the error message from the stable version but I tested it on both, the dev and the stable, both resulted in errors, I will install the latest dev version tomorrow again and post the results here, have a nice day and till tomorrow.

  3. Rob Inters reporter

    So, I installed version 16.2.1192 and everything seems fine now, I don’t know why it didn’t work previously… suppose some error on my end than, have a great day and many thanks for this addon. )

  4. Log in to comment