ansys / pymapdl-reader

Legacy binary interface to MAPDL binary files.
https://reader.docs.pyansys.com
MIT License
47 stars 23 forks source link

Unknown error while reading the rst file via "pymapdl_reader.read_binary" #408

Open luckboat opened 6 months ago

luckboat commented 6 months ago

šŸ” Before submitting the issue

šŸž Description of the bug

I use "self.results = pymapdl_reader.read_binary(_rstFile)" to read one of my rst file. The error message is Process finished with exit code -1073740791 (0xC0000409). Then I debug the code, the message given is " longint = struct.pack(">I", inth) + struct.pack(">I", intl) struct.error: required argument is not an integer " As the rst file can be open by both ansys workbench and Hyperview, I think there is no problem on the rst file, but the pyansys package. Is there any help? Thank you in advance.

šŸ“ Steps to reproduce

Try to use from ansys.mapdl import reader as pymapdl_reader results = pymapdl_reader.read_binary("job.rst") to open my job.rst result file. Please leave your email, if you need the "job.rst" file.

šŸ’» Which operating system are you using?

Windows

šŸ“€ Which ANSYS version are you using?

Ansys version 19 and version 18

šŸ Which Python version are you using?

3.9

šŸ“¦ Installed packages

aiohttp==3.8.1
aiosignal==1.2.0
altgraph==0.17.3
ansys-api-fluent==0.3.12
ansys-api-mapdl==0.5.1
ansys-api-mechanical==0.1.0
ansys-api-meshing-prime==0.1.1
ansys-api-platform-instancemanagement==1.0.0
ansys-api-pyensight==0.3.0
ansys-api-sherlock==0.1.14
ansys-api-systemcoupling==0.1.0
ansys-corba==0.1.1
ansys-dpf-composites==0.2.0
ansys-dpf-core==0.8.1
ansys-dpf-gate==0.3.1
ansys-dpf-gatebin==0.4.1
ansys-dpf-post==0.4.0
ansys-dynamicreporting-core==0.4.0
ansys-fluent-core==0.14.0
ansys-grantami-bomanalytics==1.1.3
ansys-grantami-bomanalytics-openapi==1.0.0
ansys-grantami-recordlists==1.0.0
ansys-grantami-serverapi-openapi==1.0.0
ansys-grpc-dpf==0.8.1
ansys-mapdl-core==0.64.1
ansys-mapdl-reader==0.53.0
ansys-math-core==0.1.1
ansys-mechanical-core==0.8.0
ansys-meshing-prime==0.4.1
ansys-motorcad-core==0.1.3
ansys-openapi-common==1.2.1
ansys-optislang-core==0.2.1
ansys-platform-instancemanagement==1.1.1
ansys-pyensight-core==0.5.3
ansys-pythonnet==3.1.0rc1
ansys-seascape==0.2.0
ansys-sherlock-core==0.2.0
ansys-systemcoupling-core==0.1.3
appdirs==1.4.4
asgiref==3.7.2
async-timeout==4.0.2
attrs==22.1.0
backports.zoneinfo==0.2.1
build==1.0.3
cachetools==5.3.2
certifi==2023.11.17
cffi==1.16.0
charset-normalizer==2.1.1
click==8.1.7
clr-loader==0.2.6
colorama==0.4.6
contourpy==1.0.7
cryptography==41.0.7
cycler==0.11.0
Django==4.2.9
docutils==0.20.1
filelock==3.13.1
fonttools==4.30.0
frozenlist==1.3.1
future==0.18.2
google-api-core==2.15.0
google-api-python-client==2.112.0
google-auth==2.26.1
google-auth-httplib2==0.2.0
googleapis-common-protos==1.62.0
grpcio==1.60.0
grpcio-status==1.48.2
h5py==3.10.0
httplib2==0.22.0
idna==3.4
importlib-metadata==4.13.0
importlib-resources==6.1.1
jaraco.classes==3.3.0
keyring==24.3.0
kiwisolver==1.4.0
lxml==5.0.0
markdown-it-py==3.0.0
matplotlib==3.6.3
mdurl==0.1.2
more-itertools==10.1.0
multidict==6.0.2
nh3==0.2.15
numpy==1.22.3
opencv-python==4.9.0.80
packaging==21.3
pandas==2.0.3
pefile==2022.5.30
pillow==10.2.0
pkginfo==1.9.6
platformdirs==4.1.0
plumbum==1.8.2
pooch==1.8.0
protobuf==3.20.3
psutil==5.9.7
pyaedt==0.6.76
pyansys==2023.2.11
pyansys-docker==5.0.4
pyansys-tools-versioning==0.4.0
pyasn1==0.5.1
pyasn1-modules==0.3.0
pycparser==2.21
pygame==2.1.2
Pygments==2.17.2
pyiges==0.3.1
pyinstaller==5.6.2
pyinstaller-hooks-contrib==2022.13
PyOpenGL==3.1.6
pyparsing==3.1.1
pypiwin32==223
pypng==0.20220715.0
pyproject_hooks==1.0.0
PyQt5==5.15.7
PyQt5-Qt5==5.15.2
PyQt5-sip==12.11.0
pyspnego==0.10.2
python-dateutil==2.8.2
pythonnet==3.0.1
pytwin==0.3.0
pytz==2023.3.post1
pyvista==0.43.4
pywin32==306
pywin32-ctypes==0.2.0
PyYAML==6.0.1
readme-renderer==42.0
requests==2.31.0
requests-negotiate-sspi==0.5.2
requests-ntlm==1.2.0
requests-toolbelt==1.0.0
rfc3986==2.0.0
rich==13.7.0
rpyc==5.3.1
rsa==4.9
scipy==1.8.0
scooby==0.9.2
six==1.16.0
sqlparse==0.4.4
sspilib==0.1.0
tomli==2.0.1
tqdm==4.66.1
twine==4.0.2
typing==3.7.4.3
typing_extensions==4.9.0
tzdata==2023.4
uritemplate==4.1.1
urllib3==1.26.18
vtk==9.1.0
websocket-client==1.7.0
wslink==1.8.2
xlrd==2.0.1
xlwt==1.3.0
yarl==1.8.1
zipp==3.17.0