DPF access violation writing - pynstaller

Hello,

Context

I am building an application that use dpf script to read .rth. I compile this application with pyinstaller.

Tools

Here are the charateristic of what i use :

python : 3-11
dpf server : the one from my instalation of ansys 22r2
ansys dpf core : 0.9.0
ansys dpf gate : 0 4 1
ansys dpf gatebin : 0 4 1

Problem

When I run the application (by clincking on the executable or running the sources) everything is fine.

However, when someone elese run the executable and try to use a feature that ask dpf to read a .rth file, the following error is returned :

I have read a post about it : https://discuss.ansys.com/discussion/3249/error-while-reading-large-55gb-rst-files-in-pydpf-reader but I wonder why it works fine with me and it crash when someone else use the app.

The strangest thing is that there are users that do not have the problem.

To use the solution provided in https://discuss.ansys.com/discussion/3249/error-while-reading-large-55gb-rst-files-in-pydpf-reader it seems that I need to upgrade DPF but I don't know if it fit well with a local dpf serve.

Does anyone had the same issue ?

Kind regards,
Eric Heulhard

Tagged:

Answers