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

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

Open
Luluam opened this issue Jan 8, 2024 · 1 comment
Open

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

Luluam opened this issue Jan 8, 2024 · 1 comment

Comments

@Luluam
Copy link

Luluam commented Jan 8, 2024

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")
@Palmer-JC
Copy link
Collaborator

Palmer-JC commented Jan 8, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants