Poikilos / io_import_x

Import/export .x files in Blender 3.0 (and some earlier versions). The *Poikilos fork* attempts to maintain compatibility with the latest stable Blender and allows install via GUI (Click "Code", "Download ZIP"--See "Install" in readme for the rest of the steps). Related project (also recently updated): https://github.com/ldo/blender-addons-orphaned
GNU General Public License v3.0
32 stars 9 forks source link

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

Open wallacev opened 1 year ago

wallacev commented 1 year ago

Python: Traceback (most recent call last): File "C:\Users\Esmeralda\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\io_import_x-masterinit.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 importdXtree 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

Poikilos commented 1 year ago

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

wallacev commented 1 year ago

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

Poikilos commented 7 months ago

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.