DAZ 4.22 breaks scene loading
Issue #1824
resolved
On DAZ 4.22 this error appears on every import:
Loading c:\folder\daz422test.duf
Parsing data
Preprocessing...
Fitting objects with dbz file...
Building objects...
Ignore <Instance Tonemapper%20Options-1 L:Tonemapper Options 0 N: Tonemapper Options P: None R: None>
Ignore <Instance Environment%20Options-1 L:Environment Options 0 N: Environment Options P: None R: None>
Traceback (most recent call last):
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\error.py", line 223, in execute
self.run(context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\main.py", line 286, in run
self.loadDazFile(filepath, context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\main.py", line 182, in loadDazFile
inst.finalize(context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\node.py", line 483, in finalize
self.buildChannels(ob)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\camera.py", line 103, in buildChannels
value = self.getChannelValue(channel, None)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\channels.py", line 150, in getChannelValue
return (value[0] + value[1] + value[2])/3
TypeError: unsupported operand type(s) for /: 'str' and 'int'
Error: Python: Traceback (most recent call last):
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\error.py", line 223, in execute
self.run(context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\main.py", line 286, in run
self.loadDazFile(filepath, context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\main.py", line 182, in loadDazFile
inst.finalize(context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\node.py", line 483, in finalize
self.buildChannels(ob)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\camera.py", line 103, in buildChannels
value = self.getChannelValue(channeTraceback (most recent call last):
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\error.py", line 223, in execute
self.run(context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\main.py", line 771, in run
self.easyImport(context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\main.py", line 780, in easyImport
bpy.ops.daz.import_daz(
File "C:\Program Files\Blender Foundation\blender-4.0\4.0\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.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\error.py", line 223, in execute
self.run(context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\main.py", line 286, in run
self.loadDazFile(filepath, context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\main.py", line 182, in loadDazFile
inst.finalize(context)
File "C:\Users\x\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\node.py", line 483, in finalize
self.buildChannels(ob)
File "C:\Users\Wildfire\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\camera.py", line 103, in buildChannels
value = self.getChannelValue(channel, None)
File "C:\Users\Wildfire\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Diffeomorphic-import_daz-906a7f4312b3\channels.py", line 150, in getChannelValue
return (value[0] + value[1] + value[2])/3
TypeError: unsupported operand type(s) for /: 'str' and 'int'
Location: C:\Program Files\Blender Foundation\blender-4.0\4.0\scripts\modules\bpy\ops.py:109
Comments (10)
-
-
- changed status to open
-
repo owner I downloaded DS 4.22 and saved G81F and Victoria 9, but I didn’t have any problems. Could you upload a file which triggers the error.
-
reporter - attached daz422test.duf
<div class="preview-container wiki-content"><!-- loaded via ajax --></div> <div class="mask"></div> </div>
</div> </form>
-
reporter Interestingly this error is in every import I make, even this basic new one… Sorry I forgot to upload the duf.
-
repo owner Fixed in last commit. There was a problem with DS 4.22 cameras, but I never import cameras myself so I didn’t see the problem before.
-
reporter Thank you, this fixes it up to blender 4.0, but on 4.1 it throws an error. Should I create a new ticket or post the error here?
-
4.1 is currently in alpha thus not supported, Thomas needs at least a beta for a stable api
-
reporter okay, then I close this issue. Thank you.
-
reporter - changed status to resolved
Issue fixed. Thank you.
- Log in to comment
You may want to provide a 4.22 duf file for Thomas to check. Personally I’m not going to install 4.22 until they fix it of the bugs.