Skip to content

'NoneType' object has no attribute 'writeCsvFile' #71

@Luluam

Description

@Luluam

I'm having this error for days trying to export a mesh from Blender to render in Babylon
Would anyone be able to help me understand the problem and overcome it?

  File "C:\Users\lenovo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\babylon_js\json_exporter.py", line 50, in execute
    if self.settings.writeCsvFile:
AttributeError: 'NoneType' object has no attribute 'writeCsvFile'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\lenovo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\babylon_js\__init__.py", line 71, in execute
    exporter.execute(context, self.filepath, objects)
  File "C:\Users\lenovo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\babylon_js\json_exporter.py", line 175, in execute
    if self.settings.writeCsvFile: stats_handler.close()
AttributeError: 'NoneType' object has no attribute 'writeCsvFile'
bpy.ops.export.bjs(filepath="C:\\Users\\lenovo\\Desktop\\globo3d1.babylon")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions