firetools / blenderfds

The open user interface for the NIST Fire Dynamics Simulator (FDS)
https://blenderfds.org
GNU General Public License v3.0
41 stars 10 forks source link

ValueError when trying to import *.fds file #50

Open Helllink opened 1 week ago

Helllink commented 1 week ago

I get the following error when I import an fds file:

Traceback (most recent call last):
  File "C:\Users\sth\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderfds\bl\operators\scene_import.py", line 57, in execute
    utils.ui.view_all(context=context)
  File "C:\Users\sth\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderfds\utils\ui.py", line 92, in view_all
    bpy.ops.view3d.view_all(override)
  File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\modules\bpy\ops.py", line 106, in __call__
    C_exec, C_undo = _BPyOpsSubModOp._parse_args(args)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\modules\bpy\ops.py", line 60, in _parse_args
    raise ValueError("1-2 args execution context is supported")
ValueError: 1-2 args execution context is supported

I use the latest stable version of BlenderFDS and Blender 4.1.1 on Windows11.

emanuelegissi commented 6 days ago

Hi, this is a known issue with Blender 4.1 ( https://github.com/firetools/blenderfds/issues/47). This should only prevent automatic zooming in imported objects, but does not affect the correct import of the fds file.

I'm going to fix it as soon as possible. Thank you for reporting it. Emanuele

Il mer 26 giu 2024, 13:39 Helllink @.***> ha scritto:

I get the following error when I import an fds file:

Traceback (most recent call last): File "C:\Users\sth\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderfds\bl\operators\scene_import.py", line 57, in execute utils.ui.view_all(context=context) File "C:\Users\sth\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderfds\utils\ui.py", line 92, in view_all bpy.ops.view3d.view_all(override) File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\modules\bpy\ops.py", line 106, in call C_exec, C_undo = _BPyOpsSubModOp._parse_args(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\modules\bpy\ops.py", line 60, in _parse_args raise ValueError("1-2 args execution context is supported") ValueError: 1-2 args execution context is supported

I use the latest stable version of BlenderFDS and Blender 4.1.1 on Windows11.

— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/50, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVY6DPTQA5RRFTPTLMMDZJKR7XAVCNFSM6AAAAABJ5WRZE2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TKMJQGA4DONA . You are receiving this because you are subscribed to this thread.Message ID: @.***>