Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors stopping me from exporting nifs #635

Open
3 of 7 tasks
sterbenwarstorm opened this issue May 5, 2024 · 2 comments
Open
3 of 7 tasks

Errors stopping me from exporting nifs #635

sterbenwarstorm opened this issue May 5, 2024 · 2 comments
Assignees
Labels
Bug Issue with specific functionality not working as intended but overall plugin is working.

Comments

@sterbenwarstorm
Copy link

sterbenwarstorm commented May 5, 2024

@niftools/blender-niftools-addon-reviewer -

Before creating a new issue, ensure that

  • Read the user documentation.
  • Check that the issue hasn't already been reported.
  • Read through the list of Helpful resources links on the right-hand side.
  • Talk with the developers to ensure its a valid issue

The issue will get closed off immediately as invalid if

  • Looking for support where the forums, chat or documentation is more appropriate.
  • Goes off topic, loses focus or turns into a discussion.
  • Removing parts of the template the issue.

Fill out the template below to the best of your ability, including .blend files, nifs, logs; help us to help you.

Issue Overview

When I export NIFs, I get a list of errors and can't export

Version Information

Blender Niftools Addon Version Info

v0.1.1

Blender Version Info

3.6.11

Platform information

Latest Windows 10

Context

Any time I attempt to export a NIF, no matter if I edited/deleted/added anything or not, it brings up the same errors and prevents export

Steps to Reproduce

open blender, load NIF, export NIF
#.

Expected Result

Export to selected location

Actual Result

Errors and not exporting

Possible Fix

[Optional, suggest fixes, improvement or reasons for the bug might have occurred]

Screenshot

Screenshot (3)

Logs and Files

**Python: Traceback (most recent call last):
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 240, in validate_instance
f_type.validate_instance(cls.get_field(instance, f_name), context, *f_arguments)
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\formats\base\basic.py", line 86, in validate_instance
assert (instance == cls.from_value(instance))
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 240, in validate_instance
f_type.validate_instance(cls.get_field(instance, f_name), context, *f_arguments)
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 242, in validate_instance
raise ValueError(f"Validation failed on {cls_name}.{f_name}")
ValueError: Validation failed on ByteColor4.a

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 240, in validate_instance
f_type.validate_instance(cls.get_field(instance, f_name), context, *f_arguments)
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\array.py", line 228, in validate_instance
f_type.validate_instance(cls.get_field(instance, f_name), context, *f_arguments)
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 242, in validate_instance
raise ValueError(f"Validation failed on {cls_name}.{f_name}")
ValueError: Validation failed on BSVertexDataSSE.vertex_colors

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\operators\nif_export_op.py", line 148, in execute
return NifExport(self, context).execute()
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\nif_export.py", line 271, in execute
data.validate()
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\formats\nif_init_.py", line 641, in validate
type(block).validate_instance(block, self, arg=0, template=None)
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 242, in validate_instance
raise ValueError(f"Validation failed on {cls_name}.{f_name}")
ValueError: Validation failed on BSTriShape.vertex_data
**

Info Bar Output

[Output from the Info View, available at top of Blender viewport, drag to expand]

Console Output

Read prefs: "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\config\userpref.blend"
{'INFO'}: Loading: Blender Niftools Addon: v0.1.1

{'INFO'}: Loading: NifFormat: 0.10.0.0
{'DEBUG'}: Starting registration
{'DEBUG'}: Configuring auto-updater
io_scene_niftools updater verbose is enabled
io_scene_niftools Updater: Read in JSON settings from file
{'DEBUG'}: Registering submodules for: io_scene_niftools
{'DEBUG'}: Registering Classes for module: io_scene_niftools.update
{'DEBUG'}: Registered Classes: ['UpdaterPreferences']
{'DEBUG'}: Registering submodules for: io_scene_niftools.properties
{'DEBUG'}: Registering Classes for module: io_scene_niftools.properties.armature
{'DEBUG'}: Registered Classes: ['BoneProperty', 'ArmatureProperty']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.properties.collision
{'DEBUG'}: Registered Classes: ['CollisionProperty']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.properties.constraint
{'DEBUG'}: Registered Classes: ['ConstraintProperty']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.properties.material
{'DEBUG'}: Registered Classes: ['Material', 'AlphaFlags']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.properties.object
{'DEBUG'}: Registered Classes: ['BsInventoryMarker', 'ExtraData', 'ExtraDataStore', 'ObjectProperty']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.properties.shader
{'DEBUG'}: Registered Classes: ['ShaderProps']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.properties.scene
{'DEBUG'}: Registered Classes: ['Scene']
{'DEBUG'}: Registered the following submodules: ['io_scene_niftools.properties.armature', 'io_scene_niftools.properties.collision', 'io_scene_niftools.properties.constraint', 'io_scene_niftools.properties.material', 'io_scene_niftools.properties.object', 'io_scene_niftools.properties.shader', 'io_scene_niftools.properties.scene']
{'DEBUG'}: Registering submodules for: io_scene_niftools.operators
{'DEBUG'}: Registering Classes for module: io_scene_niftools.operators.object
{'DEBUG'}: Registered Classes: ['BSXExtraDataAdd', 'UPBExtraDataAdd', 'SampleExtraDataAdd', 'NiExtraDataRemove']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.operators.geometry
{'DEBUG'}: Registered Classes: ['BsInvMarkerAdd', 'BsInvMarkerRemove']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.operators.nif_import_op
{'DEBUG'}: Registered Classes: ['NifImportOperator']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.operators.nif_export_op
{'DEBUG'}: Registered Classes: ['NifExportOperator']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.operators.kf_import_op
{'DEBUG'}: Registered Classes: ['KfImportOperator']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.operators.kf_export_op
{'DEBUG'}: Registered Classes: ['KfExportOperator']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.operators.egm_import_op
{'DEBUG'}: Registered Classes: ['EgmImportOperator']
{'DEBUG'}: Registered the following submodules: ['io_scene_niftools.operators.object', 'io_scene_niftools.operators.geometry', 'io_scene_niftools.operators.nif_import_op', 'io_scene_niftools.operators.nif_export_op', 'io_scene_niftools.operators.kf_import_op', 'io_scene_niftools.operators.kf_export_op', 'io_scene_niftools.operators.egm_import_op']
{'DEBUG'}: Registering submodules for: io_scene_niftools.ui
{'DEBUG'}: Registering Classes for module: io_scene_niftools.ui.armature
{'DEBUG'}: Registered Classes: ['BonePanel', 'ArmaturePanel']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.ui.collision
{'DEBUG'}: Registered Classes: ['CollisionBoundsPanel']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.ui.material
{'DEBUG'}: Registered Classes: ['MaterialColorPanel', 'MaterialFlagPanel']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.ui.object
{'DEBUG'}: Registered Classes: ['ObjectExtraDataList', 'ObjectExtraDataType', 'ObjectExtraData', 'ObjectPanel', 'ObjectBSInvMarkerPanel']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.ui.operators
{'DEBUG'}: Registered Classes: ['OperatorCommonDevPanel']
{'DEBUG'}: Registering submodules for: io_scene_niftools.ui.operators
{'DEBUG'}: Registering Classes for module: io_scene_niftools.ui.operators.nif_import
{'DEBUG'}: Registered Classes: ['OperatorImportIncludePanel', 'OperatorImportTransformPanel', 'OperatorImportGeometryPanel', 'OperatorImportTexturePanel', 'OperatorImportArmaturePanel', 'OperatorImportOverrideArmatureOrientationPanel', 'OperatorImportAnimationPanel']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.ui.operators.nif_export
{'DEBUG'}: Registered Classes: ['OperatorExportTransformPanel', 'OperatorExportArmaturePanel', 'OperatorExportAnimationPanel', 'OperatorExportOptimisePanel']
{'DEBUG'}: Registered the following submodules: ['io_scene_niftools.ui.operators.nif_import', 'io_scene_niftools.ui.operators.nif_export']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.ui.shader
{'DEBUG'}: Registered Classes: ['ShaderPanel']
{'DEBUG'}: Registering Classes for module: io_scene_niftools.ui.scene
{'DEBUG'}: Registered Classes: ['ScenePanel', 'SceneVersionInfoPanel']
{'DEBUG'}: Registered the following submodules: ['io_scene_niftools.ui.armature', 'io_scene_niftools.ui.collision', 'io_scene_niftools.ui.material', 'io_scene_niftools.ui.object', 'io_scene_niftools.ui.operators', 'io_scene_niftools.ui.shader', 'io_scene_niftools.ui.scene']
{'DEBUG'}: Registered the following submodules: ['io_scene_niftools.update', 'io_scene_niftools.properties', 'io_scene_niftools.operators', 'io_scene_niftools.ui']
Info: Deleted 1 object(s)

Info: Deleted 1 object(s)

Info: Deleted 1 object(s)

niftools:INFO:Dev: Sys variable not set
niftools:INFO:Executing - Niftools : Blender Niftools Addon v0.1.1(running on Blender 3.6.11, Nif xml version 0.10.0.0)
niftools:INFO:Importing C:\Users\Sterben\Desktop\Optimize\dwewallsconcesmall02on.nif
niftools:INFO:NIF file version: 14020007
niftools:INFO:Reading .nif file
niftools:INFO:Importing data
niftools:INFO:Scale Correction set to 0.10000000149011612
pyffi.toaster:INFO:--- fix_scale ---
pyffi.toaster:INFO: scaling by factor 0.100000
pyffi.toaster:INFO: ~~~ BSFadeNode [DweWallSconceSmall02On] ~~~
pyffi.toaster:INFO: ~~~ BSXFlags [BSX] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [L2_warp35] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [L2_warp35:0] ~~~
pyffi.toaster:INFO: ~~~ BSLightingShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSLightingShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ BSShaderTextureSet [] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [ColumnFacingGlow147] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiAlphaProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [testfogcircle242] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [testfogcircle242:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiAlphaProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [DwLighttest_interior143] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [DwLighttest_interior143:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiAlphaProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [testfogcircle243] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [testfogcircle243:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiAlphaProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [flickerDwLighttest_interior78] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [flickerDwLighttest_interior78:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiAlphaProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [DwLighttest259] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [DwLighttest259:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiAlphaProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [DwLighttest260] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [DwLighttest260:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiAlphaProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [testfogcircle244] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [testfogcircle244:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderPropertyFloatController [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatInterpolator [] ~~~
pyffi.toaster:INFO: ~~~ NiFloatData [] ~~~
pyffi.toaster:INFO: ~~~ NiAlphaProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiNode [DweWallSconce03Open04] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [DweWallSconce03Open04:0] ~~~
pyffi.toaster:INFO: ~~~ BSLightingShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSShaderTextureSet [] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [DweWallSconce03Open04:6] ~~~
pyffi.toaster:INFO: ~~~ BSLightingShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSShaderTextureSet [] ~~~
niftools:INFO:Importing data for block 'DweWallSconceSmall02On'
niftools:INFO:Importing data for block 'L2_warp35'
niftools:INFO:Importing data for block 'L2_warp35:0'
niftools:INFO:Importing mesh data for geometry 'L2_warp35:0'
niftools:WARNING:Texture 'VaporTileNormal_n.dds' not found or not supported and no alternate available
niftools:INFO:Importing data for block 'ColumnFacingGlow147'
niftools:INFO:Importing mesh data for geometry 'ColumnFacingGlow147'
niftools:WARNING:Texture 'GlowSlightFlash.dds' not found or not supported and no alternate available
niftools:WARNING:Texture 'testGradPortalFireMoreBLue2.dds' not found or not supported and no alternate available
niftools:INFO:Importing data for block 'testfogcircle242'
niftools:INFO:Importing data for block 'testfogcircle242:0'
niftools:INFO:Importing mesh data for geometry 'testfogcircle242:0'
niftools:WARNING:Texture 'FXBrightFash01_blur.dds' not found or not supported and no alternate available
niftools:INFO:Importing data for block 'DwLighttest_interior143'
niftools:INFO:Importing data for block 'DwLighttest_interior143:0'
niftools:INFO:Importing mesh data for geometry 'DwLighttest_interior143:0'
niftools:WARNING:Texture 'CandleFlame01Green.dds' not found or not supported and no alternate available
niftools:INFO:Importing data for block 'testfogcircle243'
niftools:INFO:Importing data for block 'testfogcircle243:0'
niftools:INFO:Importing mesh data for geometry 'testfogcircle243:0'
niftools:WARNING:Texture 'GradAmbFog01.dds' not found or not supported and no alternate available
niftools:INFO:Importing data for block 'flickerDwLighttest_interior78'
niftools:INFO:Importing data for block 'flickerDwLighttest_interior78:0'
niftools:INFO:Importing mesh data for geometry 'flickerDwLighttest_interior78:0'
niftools:WARNING:Texture 'CandleFlame01.dds' not found or not supported and no alternate available
niftools:WARNING:Texture 'GradFireCloak01.dds' not found or not supported and no alternate available
niftools:INFO:Importing data for block 'DwLighttest259'
niftools:INFO:Importing data for block 'DwLighttest259:0'
niftools:INFO:Importing mesh data for geometry 'DwLighttest259:0'
niftools:INFO:Importing data for block 'DwLighttest260'
niftools:INFO:Importing data for block 'DwLighttest260:0'
niftools:INFO:Importing mesh data for geometry 'DwLighttest260:0'
niftools:WARNING:Texture 'CandleFlame01GreenDark.dds' not found or not supported and no alternate available
niftools:INFO:Importing data for block 'testfogcircle244'
niftools:INFO:Importing data for block 'testfogcircle244:0'
niftools:INFO:Importing mesh data for geometry 'testfogcircle244:0'
niftools:INFO:Importing data for block 'DweWallSconce03Open04'
niftools:INFO:Importing data for block 'DweWallSconce03Open04:0'
niftools:INFO:Importing mesh data for geometry 'DweWallSconce03Open04:0'
niftools:WARNING:Texture 'DweDoor01withglow.dds' not found or not supported and no alternate available
niftools:WARNING:Texture 'DweDoor01_n.dds' not found or not supported and no alternate available
niftools:WARNING:Texture 'DweDoor01withglowMAp.dds' not found or not supported and no alternate available
niftools:INFO:Importing data for block 'DweWallSconce03Open04:6'
niftools:INFO:Importing mesh data for geometry 'DweWallSconce03Open04:6'
niftools:WARNING:Texture 'DweDoorSmall01.dds' not found or not supported and no alternate available
niftools:WARNING:Texture 'DweDoorSmall01_n.dds' not found or not supported and no alternate available
niftools:INFO:Finished
niftools:INFO:Dev: Sys variable not set
niftools:INFO:Executing - Niftools : Blender Niftools Addon v0.1.1(running on Blender 3.6.11, Nif xml version 0.10.0.0)
niftools:INFO:Exporting C:\Users\Sterben\Documents\untitled.nif
niftools:INFO:Exporting
niftools:INFO:Exporting geometry and animation
niftools:INFO:Writing NIF version 0x14020007
niftools:INFO:Exporting <bpy_struct, Object("DweWallSconceSmall02On") at 0x0000023640B91D08> as BSFadeNode block
niftools:INFO:Exporting <bpy_struct, Object("ColumnFacingGlow147") at 0x0000023640112B08>
niftools:INFO:Exporting <bpy_struct, Object("ColumnFacingGlow147") at 0x0000023640112B08> as BSTriShape block
niftools:INFO:Exporting NiAlphaProperty block
niftools:INFO:Exporting BSEffectShaderProperty block
niftools:INFO:Exporting <bpy_struct, Object("DweWallSconce03Open04") at 0x000002364087B908> as NiNode block
niftools:INFO:Exporting <bpy_struct, Object("DweWallSconce03Open04:0") at 0x0000023640878108>
niftools:INFO:Exporting <bpy_struct, Object("DweWallSconce03Open04:0") at 0x0000023640878108> as BSTriShape block
niftools:INFO:Exporting BSLightingShaderProperty block
niftools:INFO:Exporting <bpy_struct, Object("DweWallSconce03Open04:6") at 0x0000023640841608>
niftools:INFO:Exporting <bpy_struct, Object("DweWallSconce03Open04:6") at 0x0000023640841608> as BSTriShape block
niftools:INFO:Exporting BSLightingShaderProperty block
niftools:INFO:Exporting <bpy_struct, Object("DwLighttest259") at 0x00000236408CEB08> as NiBillboardNode block
niftools:INFO:Exporting <bpy_struct, Object("DwLighttest259:0") at 0x00000236408CDD08>
niftools:INFO:Exporting <bpy_struct, Object("DwLighttest259:0") at 0x00000236408CDD08> as BSTriShape block
niftools:INFO:Exporting NiAlphaProperty block
niftools:INFO:Exporting BSEffectShaderProperty block
niftools:INFO:Exporting <bpy_struct, Object("DwLighttest260") at 0x00000236408B2408> as NiBillboardNode block
niftools:INFO:Exporting <bpy_struct, Object("DwLighttest260:0") at 0x00000236408B1608>
niftools:INFO:Exporting <bpy_struct, Object("DwLighttest260:0") at 0x00000236408B1608> as BSTriShape block
niftools:INFO:Exporting BSEffectShaderProperty block
niftools:INFO:Exporting <bpy_struct, Object("DwLighttest_interior143") at 0x0000023640923208> as NiBillboardNode block
niftools:INFO:Exporting <bpy_struct, Object("DwLighttest_interior143:0") at 0x0000023640921D08>
niftools:INFO:Exporting <bpy_struct, Object("DwLighttest_interior143:0") at 0x0000023640921D08> as BSTriShape block
niftools:INFO:Exporting BSEffectShaderProperty block
niftools:INFO:Exporting <bpy_struct, Object("flickerDwLighttest_interior78") at 0x00000236408F3208> as NiBillboardNode block
niftools:INFO:Exporting <bpy_struct, Object("flickerDwLighttest_interior78:0") at 0x00000236408E7908>
niftools:INFO:Exporting <bpy_struct, Object("flickerDwLighttest_interior78:0") at 0x00000236408E7908> as BSTriShape block
niftools:INFO:Exporting BSEffectShaderProperty block
niftools:INFO:Exporting <bpy_struct, Object("L2_warp35") at 0x0000023640B92408> as NiBillboardNode block
niftools:INFO:Exporting <bpy_struct, Object("L2_warp35:0") at 0x0000023640B93208>
niftools:INFO:Exporting <bpy_struct, Object("L2_warp35:0") at 0x0000023640B93208> as BSTriShape block
niftools:INFO:Exporting BSLightingShaderProperty block
niftools:INFO:Exporting <bpy_struct, Object("testfogcircle242") at 0x0000023640154108> as NiBillboardNode block
niftools:INFO:Exporting <bpy_struct, Object("testfogcircle242:0") at 0x000002364015C108>
niftools:INFO:Exporting <bpy_struct, Object("testfogcircle242:0") at 0x000002364015C108> as BSTriShape block
niftools:INFO:Exporting NiAlphaProperty block
niftools:INFO:Exporting BSEffectShaderProperty block
niftools:INFO:Exporting <bpy_struct, Object("testfogcircle243") at 0x000002364090A408> as NiBillboardNode block
niftools:INFO:Exporting <bpy_struct, Object("testfogcircle243:0") at 0x0000023640909608>
niftools:INFO:Exporting <bpy_struct, Object("testfogcircle243:0") at 0x0000023640909608> as BSTriShape block
niftools:INFO:Exporting BSEffectShaderProperty block
niftools:INFO:Exporting <bpy_struct, Object("testfogcircle244") at 0x0000023640885D08> as NiBillboardNode block
niftools:INFO:Exporting <bpy_struct, Object("testfogcircle244:0") at 0x0000023640884F08>
niftools:INFO:Exporting <bpy_struct, Object("testfogcircle244:0") at 0x0000023640884F08> as BSTriShape block
niftools:INFO:Exporting BSEffectShaderProperty block
niftools:INFO:Checking collision
niftools:INFO:Checking controllers
niftools:INFO:Scale Correction set to 9.99999985098839
pyffi.toaster:INFO:--- fix_scale ---
pyffi.toaster:INFO: scaling by factor 10.000000
pyffi.toaster:INFO: ~~~ BSFadeNode [DweWallSconceSmall02On] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [ColumnFacingGlow147] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiNode [DweWallSconce03Open04] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [DweWallSconce03Open04:0] ~~~
pyffi.toaster:INFO: ~~~ BSLightingShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSShaderTextureSet [] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [DweWallSconce03Open04:6] ~~~
pyffi.toaster:INFO: ~~~ BSLightingShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSShaderTextureSet [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [DwLighttest259] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [DwLighttest259:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [DwLighttest260] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [DwLighttest260:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [DwLighttest_interior143] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [DwLighttest_interior143:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [flickerDwLighttest_interior78] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [flickerDwLighttest_interior78:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [L2_warp35] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [L2_warp35:0] ~~~
pyffi.toaster:INFO: ~~~ BSLightingShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ BSShaderTextureSet [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [testfogcircle242] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [testfogcircle242:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [testfogcircle243] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [testfogcircle243:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
pyffi.toaster:INFO: ~~~ NiBillboardNode [testfogcircle244] ~~~
pyffi.toaster:INFO: ~~~ BSTriShape [testfogcircle244:0] ~~~
pyffi.toaster:INFO: ~~~ BSEffectShaderProperty [] ~~~
niftools:INFO:Writing .nif file
Traceback (most recent call last):
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 240, in validate_instance
f_type.validate_instance(cls.get_field(instance, f_name), context, *f_arguments)
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\formats\base\basic.py", line 86, in validate_instance
assert (instance == cls.from_value(instance))
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 240, in validate_instance
f_type.validate_instance(cls.get_field(instance, f_name), context, *f_arguments)
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 242, in validate_instance
raise ValueError(f"Validation failed on {cls_name}.{f_name}")
ValueError: Validation failed on ByteColor4.a

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 240, in validate_instance
f_type.validate_instance(cls.get_field(instance, f_name), context, *f_arguments)
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\array.py", line 228, in validate_instance
f_type.validate_instance(cls.get_field(instance, f_name), context, *f_arguments)
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 242, in validate_instance
raise ValueError(f"Validation failed on {cls_name}.{f_name}")
ValueError: Validation failed on BSVertexDataSSE.vertex_colors

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\operators\nif_export_op.py", line 148, in execute
return NifExport(self, context).execute()
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\nif_export.py", line 271, in execute
data.validate()
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\formats\nif_init_.py", line 641, in validate
type(block).validate_instance(block, self, arg=0, template=None)
File "C:\Users\Sterben\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 242, in validate_instance
raise ValueError(f"Validation failed on {cls_name}.{f_name}")
ValueError: Validation failed on BSTriShape.vertex_data

Blend File

https://www.mediafire.com/file/a5dzv4j916st6ik/dwewallsconcesmall02on.blend/file

Nif File

Any nif

Similar Known Issues

[Reference any known issues - https://github.com/niftools/blender_niftools_addon/issues]

Additional Information

[Anything else you feel is relevant]

@sterbenwarstorm sterbenwarstorm added the Bug Issue with specific functionality not working as intended but overall plugin is working. label May 5, 2024
@MysteriouStrangrr
Copy link

Been getting the same types of errors when trying to export any kind of nif file as well. Can load up an nif straight out of the game, export it, and it'll give me the errors

Python: Traceback (most recent call last):
File "C:\Users\PC\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 240, in validate_instance
f_type.validate_instance(cls.get_field(instance, f_name), context, *f_arguments)
File "C:\Users\PC\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\array.py", line 212, in validate_instance
return RaggedArray.validate_instance(instance, context, arg, template, shape, dtype)
File "C:\Users\PC\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\array.py", line 393, in validate_instance
assert instance.shape == shape, f"shape {instance.shape} doesn't match {shape} on {cls}"
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\PC\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\operators\nif_export_op.py", line 148, in execute
return NifExport(self, context).execute()
File "C:\Users\PC\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\nif_export.py", line 271, in execute
data.validate()
File "C:\Users\PC\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\formats\nif_init_.py", line 641, in validate
type(block).validate_instance(block, self, arg=0, template=None)
File "C:\Users\PC\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_niftools\dependencies\nifgen\base_struct.py", line 242, in validate_instance
raise ValueError(f"Validation failed on {cls_name}.{f_name}")
ValueError: Validation failed on NiTriStripsData.points

@Orfey1
Copy link

Orfey1 commented Jul 19, 2024

Same exact problem, can not export anything out of Blender as nif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issue with specific functionality not working as intended but overall plugin is working.
Projects
None yet
Development

No branches or pull requests

4 participants