You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The programming language (e.g., all/C/C++/Fortran/Julia/MATLAB/Python/R/...): all (python)
The operating system (e.g., all/Windows/Linux/macOS/WSL1/WSL2/...): Windows
The architecture (e.g., all/x86_x64/Intelx64/ARM/POWER9/...): all
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. It would be great to have this new algorithm [...]
Yes, Windows frequently locks the output files from the Paradram sampler if a runtime error occurs.
This happens commonly in interpreted languages where the runtime session keeps running, while the paramonte sampler run
and the corresponding DLL fail for some reason and lock the files with the opened DLL, such that any future runs will not be able to
overwrite the old existing files, because their ownership remains with the original opened DLL.
Describe the solution you'd like
A clear and concise description of what you want to happen.
While there is no remedy for the global windows locks, the sampler could attempt to delete the existing files and if the deletion fails,
it would print a diagnostic message that better describes the nature of the error and the specific solution to it,
which is a reset of the environment (application, python session, matlab, ...) to clear the ownership of the files.
Describe alternatives you've considered if any
A clear and concise description of any alternative solutions or features you've considered.
Currently the messages are somewhat unclear about the cause of the error.
Additional context
Add any other context or screenshots about the feature request here.
This happens frequently in ipython or jupyter notebook sessions.
The text was updated successfully, but these errors were encountered:
The programming language (e.g., all/C/C++/Fortran/Julia/MATLAB/Python/R/...): all (python)
The operating system (e.g., all/Windows/Linux/macOS/WSL1/WSL2/...): Windows
The architecture (e.g., all/x86_x64/Intelx64/ARM/POWER9/...): all
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. It would be great to have this new algorithm [...]
Yes, Windows frequently locks the output files from the Paradram sampler if a runtime error occurs.
This happens commonly in interpreted languages where the runtime session keeps running, while the paramonte sampler run
and the corresponding DLL fail for some reason and lock the files with the opened DLL, such that any future runs will not be able to
overwrite the old existing files, because their ownership remains with the original opened DLL.
Describe the solution you'd like
A clear and concise description of what you want to happen.
While there is no remedy for the global windows locks, the sampler could attempt to delete the existing files and if the deletion fails,
it would print a diagnostic message that better describes the nature of the error and the specific solution to it,
which is a reset of the environment (application, python session, matlab, ...) to clear the ownership of the files.
Describe alternatives you've considered if any
A clear and concise description of any alternative solutions or features you've considered.
Currently the messages are somewhat unclear about the cause of the error.
Additional context
Add any other context or screenshots about the feature request here.
This happens frequently in ipython or jupyter notebook sessions.
The text was updated successfully, but these errors were encountered: