io_import_x icon indicating copy to clipboard operation
io_import_x copied to clipboard

AttributeError: 'NoneType' object has no attribute 'inputs'

Open wallacev opened this issue 2 years ago • 3 comments
trafficstars

Python: Traceback (most recent call last): File "C:\Users\Esmeralda\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\io_import_x-master__init__.py", line 237, in execute return import_x.load(self, context, **keywords) File "C:\Users\Esmeralda\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\io_import_x-master\import_x.py", line 1096, in load import_dXtree(rootTokens, item_file.name) File "C:\Users\Esmeralda\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\io_import_x-master\import_x.py", line 735, in import_dXtree child = importdXtree(getChilds(tokenname), file+"_"+tokenname, lvl=lvl+1) File "C:\Users\Esmeralda\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\io_import_x-master\import_x.py", line 680, in import_dXtree ob = getMesh(parentname, tokenname) File "C:\Users\Esmeralda\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\io_import_x-master\import_x.py", line 983, in getMesh mat_input = mat_shadernode.inputs[0] AttributeError: 'NoneType' object has no attribute 'inputs'

Can't import .x files on my notebook Mostly same specs, Python 3.10.5, Blender 3.5.1

On my desktop works fine, importing the same file and I can't figure why

wallacev avatar May 21 '23 20:05 wallacev

See issue #13 and also please double check and reply with the Blender version on the other machine.

Poikilos avatar May 22 '23 22:05 Poikilos

Same version, downloaded from Steam, checked 2 times, can't figure why, through it was python version and installed the same on the notebook but the error its the same, computer working just fine image

wallacev avatar May 23 '23 14:05 wallacev

Do you think maybe you have used a different renderer on the other machine? Are both set to Eevee or what? I'm not sure if that would affect the issue but I really can't imagine why it would work on one computer and not the other with the same Blender version and same file. Please provide the x file to me if it is ok to share, in case I can reproduce the issue and maybe if you provide a license such as if it is a Creative Commons file I even create a regression test.

Poikilos avatar Feb 10 '24 15:02 Poikilos