Skip to content

Unable to export Keyword file#1226

Description

@pvinod13

馃攳 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

馃悶 Description of the bug

This get_abaqus_simulation_data is a beta API. The behavior and implementation may change in future.
CRITICAL - - logger - handle_exception - Uncaught exception
Traceback (most recent call last):
File "d:\2025\g2\saf-cli_310\battery-characterization_bkp\tests\unit\test_cell_format_creation.py", line 88, in
test_cell_type_pouch()
File "d:\2025\g2\saf-cli_310\battery-characterization_bkp\tests\unit\test_cell_format_creation.py", line 25, in test_cell_type_pouch
cell_pouch = geometry.CellFormat(
File "d:\2025\g2\saf-cli_310\battery-characterization_bkp\src\ansys\solutions\battery_characterization\solution\scripts\geometry.py", line 290, in init
prime.FileIO(model).export_lsdyna_keyword_file(
File "D:\2025\g2\saf-cli_310\battery-characterization_bkp.venv\lib\site-packages\ansys\meshing\prime\core\fileio.py", line 588, in export_lsdyna_keyword_file
sim_data = json.loads(super().get_abaqus_simulation_data(0))
File "C:\Users\vpallapa\AppData\Local\Programs\Python\Python310\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\vpallapa\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\vpallapa\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

馃摑 Steps to reproduce

Trying to export simple mesh file into Dyna file (pyprime-0.9.5), Ansys 25.2

馃捇 Which operating system are you using?

Windows

馃搥 Which ANSYS version are you using?

252

馃悕 Which Python version are you using?

3.10

馃摝 Installed packages

ansys-meshing-prime="^0.9.5"

Metadata

Metadata

Assignees

No one assigned

    Labels

    apsAnything related to Ansys Prime ServerbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions