Closed patel999jay closed 8 months ago
Nothing has changed in arlpy
recently, so I suspect this is a problem with version mismatch between the tested bellhop.exe
and what you're using. What version of OALIB Acoustics Toolbox have you installed?
First I thought it may be something to do with my installation but I installed a fresh ubuntu and downloaded the newest version of acoustic toolbox(i guess the one updated on 2020_11_4).
I think arlpy is running an empty env file when we call an function pm.models() and that is why it is throwing that error but works fine when we're supplying an env. I will take a closer look tomorrow and keep updating the issue.
Thanks for your time and help.
I recall there was a known issue (and perhaps a resolution) for this, but don't offhand remember details. Let me check and get back on this.
This is the previous issue and discussion re this: https://github.com/org-arl/arlpy/issues/9
@patel999jay has this been resolved for you?
No, This has not resolved yet. I still has the same issue.
with the newer AT models (released on 5/2023), it works fine. we can close this now.
I am trying to trace an error that
bellhop
is throwing when it takesarlpy default env file
.I don't think it is running
bellhop
incorrectly because the print file with and withoutarlpy
are exactly same.Here is what i am using right now to test this:
When I called the
pm.models()
frompython
or inipython
terminal. bellhop returns with the error thatSTOP Fatal Error: Check the print file for details
I checked the print files at temporary location and it looks fine. Only difference would be(that is acceptable) :
I am attaching both files as zip if that helps. arlpy_run_tmpvpslno76.zip without_arlpy_tmpvpslno76.zip
so i thought it may be
bellhop/acoustic toolbox
throwing an error but it is running fine just as normal.It looks like it took an empty env file first somehow and then it retrieve a temporary default *.env file or am i missing something ?
P.S. I thought there is something wrong my old bellhop installation so i install a fresh new ubuntu 22.04 and acoustic toolbox and tested this ; also tested this with
windows 10
andwindows 11
. I am experiencing the issue on all platforms. Is there a workaround this ?Update
I back-trace the issue and found out that this is when bellhop run *.env which is empty.
This is behavior of
arlpy
when we callspm.models()
I made an empty *.env file and when i run the
bellhop.exe
from command line, it behaves exactly the same way as above, below is the traceback of the same.