Unable to import charachter.

Issue #1190 resolved
Jessy Berbers created an issue

I’ve tried to import a charachter today.
But upon import into Blender, it gave me the following errors.
Diffeomorphic itself is not generating any error reports for some mysterious reason despite the box being ticked to do it.

My systems is

Language: Dutch (Regional Setting: Dutch)
System Manufacturer: System manufacturer
System Model: System Product Name
BIOS: BIOS Date: 03/15/18 15:37:48 Ver: 05.0000C (type: BIOS)
Processor: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 CPUs), ~4.0GHz
Memory: 16384MB RAM
Available OS Memory: 16320MB RAM
Page File: 11380MB used, 8780MB available
Windows Dir: C:\WINDOWS
DirectX Version: DirectX 12
DX Setup Parameters: Not found
User DPI Setting: 96 DPI (100 percent)
System DPI Setting: 96 DPI (100 percent)
DWM DPI Scaling: Disabled
Miracast: Available, no HDCP

Microsoft Graphics Hybrid: Not Supported
DirectX Database Version: 1.0.8
DxDiag Version: 10.00.19041.1741 64bit Unicode

Blender version 3.3.1(LTS)

Loading DAZ
DAZ loaded
Load settings from C:/Users/Jessy Berbers/import-daz-settings-28x.json

Loading C:\00-ToBlenderLocal\Ruby Export Attempt 3.duf
Parsing data
Preprocessing...
Found UV set 'Golden Palace' in '/data/Meipex/GoldenPalace/G3F_GoldenPalace_Genitalia_v2/UV Sets/Meipex\Base\Golden Palace.dsf#Golden Palace'
Fitting objects with dbz file...
Zero verts: GoldenPalace_Shell
Building objects...
Traceback (most recent call last):
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\error.py", line 207, in execute
self.run(context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\main.py", line 230, in run
self.loadDazFile(filepath, context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\main.py", line 156, in loadDazFile
asset.build(context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cycles.py", line 87, in build
self.tree.build()
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cycles.py", line 333, in build
self.buildShells()
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cycles.py", line 419, in buildShells
node = self.addShellGroup(shell, push)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cycles.py", line 310, in addShellGroup
group.addNodes((shmat, shell.uv))
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cgroup.py", line 76, in addNodes
self.buildLayer(uvname)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\pbr.py", line 84, in buildLayer
self.buildWeighted()
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cycles.py", line 1096, in buildWeighted
fac = glossweight / (glossweight + diffweight)
ZeroDivisionError: division by zero
Error: Python: Traceback (most recent call last):
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\error.py", line 207, in execute
self.run(context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\main.py", line 230, in run
self.loadDazFile(filepath, context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\main.py", line 156, in loadDazFile
asset.build(context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cycles.py", line 87, in build
self.tree.build()
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cycles.py", line 333, in build
self.buildShells()
File "Traceback (most recent call last):
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\error.py", line 207, in execute
self.run(context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\main.py", line 744, in run
self.easyImport(context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\main.py", line 754, in easyImport
bpy.ops.daz.import_daz(
File "C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\modules\bpy\ops.py", line 113, in call
ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Python: Traceback (most recent call last):
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\error.py", line 207, in execute
self.run(context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\main.py", line 230, in run
self.loadDazFile(filepath, context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\main.py", line 156, in loadDazFile
asset.build(context)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cycles.py", line 87, in build
self.tree.build()
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cycles.py", line 333, in build
self.buildShells()
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cycles.py", line 419, in buildShells
node = self.addShellGroup(shell, push)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cycles.py", line 310, in addShellGroup
group.addNodes((shmat, shell.uv))
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cgroup.py", line 76, in addNodes
self.buildLayer(uvname)
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\pbr.py", line 84, in buildLayer
self.buildWeighted()
File "C:\Users\Jessy Berbers\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Diffeomorphic-import_daz-4ef01984ac48\cycles.py", line 1096, in buildWeighted
fac = glossweight / (glossweight + diffweight)
ZeroDivisionError: division by zero
Location: C:\Program Files\Blender Foundation\Blender 3.3\3.3\scripts\modules\bpy\ops.py:113

Comments (8)

  1. Jessy Berbers reporter

    It doesnt crash, but it simply doesnt work at all, and spits out that error.
    I dont know what to do and it only happens with that one charachter.

  2. Thomas Larsson repo owner

    Could you upload the duf file so I can have a look. Materials are usually fully defined in the scene file itself, so it should be enough to see what happens, even if textures may be missing.

  3. Thomas Larsson repo owner

    I didn’t see anything unusual, but I don’t have all assets so the error may be skipped over. Could you copy the console output so I can see what the error was.

  4. Thomas Larsson repo owner

    Oops. I only fixed this locally but didn’t push the fix to the master branch. Now the error should be gone.

  5. Log in to comment