Open live4right opened 8 years ago
Here's the fix on macOS:
pip install -I jep==3.4.1
(any other version of jep seems to crash CAVE)site-packages
directory that corresponds to your Python installation (mine is in /usr/local/lib/python2.7/site-packages/
, so I'll refer to that path going forward)sudo cp /usr/local/lib/python2.7/site-packages/jep/libjep.jnilib /Library/Java/Extensions
-- you will need to provide your passwordWill verify a Windows-specific fix later tonight. Stay tuned, @live4right...
For me, the 250mb heights always loaded, a good test would be say the 250mb isobaric wind field as barbs, that product has never loaded for me on the Unidata AWIPS platforms. But thanks for looking into this issue... :) --Carl
Was diving into this some more on Windows tonight (Windows 10 Anniversary Edition) and noticed a few things...
Have a feeling this will be better sorted out by Build 16. Initial release on a platform seems to be rough around the edges...
Well doing basically the same thing (trying to get wind data from a model) causes an outright crash on Linux as of the current version in the repositories (16.2.2-3).
Attached are several logs, and some summarized gdb output:
hs_err_pid9858.txt hs_err_pid6211.txt hs_err_pid5251.txt hs_err_pid13569.txt hs_err_pid12719.txt cave_20170208_logs.txt cave_20170208_logs.2.txt gdb-pid13567.txt
@ipatrol I'm seeing /usr/lib64/python2.7/site-packages/jep/jep.so in the stacktrace in hs_err_pid12719.txt
CAVE is finding jep in /usr/lib64/python2.7 before /awips2/python/lib/python2.7 because the /usr/lib64 version is defined in LD_LIBRARY_PATH already.
LD_LIBRARY_PATH=/usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64-debug//lib:/usr/lib64/python2.7/:/usr/lib64/python2.7/site-packages/jep:/awips2/psql/lib:/awips2/postgresql/lib:/awips2/qpid/lib:/awips2/notification/lib64:/awips2/tools/lib:/awips2/python/lib:
/etc/profile.d/awips2.sh is set up to overwrite and define LD_LIBRARY_PATH on login, so if you're adding /usr/lib64 python to PATH and LD_LIBRARY_PATH they should be appended rather than prepended.
You can also control this for specific user accounts on both CAVE and EDEX machines, such as how root's environment is left unchanged in awips2.sh
@mjames-upc I did that intentionally as a debugging attempt, but it happened even with the typical environment. I will note that on Linux the software appears to function normally after a (very exhausting) system downgrade back to CentOS 6.8, so something that changed between 6.8 and 7 appears to be at fault, whatever it is.
Hi Michael,
Since I am using the Unidata AWIPS II I figured this would be the place to put this issue. When loading products such as Computed Cape and others they act as if they are loading then they give the following error "Multiple frames: com.raytheon.uf.common.inventory.exception.DataCubeException: com.raytheon.uf.common.inventory.exception.DataCubeException: Error executing Derived Parameter."
Do you know why they do this or if there is a way to fix them so they don't do that anymore? Thanks
--Carl