Closed davetapley closed 9 months ago
I am seeing this on both xenial
and bionic
, but bizarrely it's working just fine (with the same files) on a production xenial
machine (although I can't guarantee how that machine was configured).
The only notable difference is that it's using an older conda version
: 4.3.30
vs 4.9.2
.
Environment (conda list
):
Details about conda
and system ( conda info
):
I was able to reproduce the error on with conda version
4.3.0
.
If I copy the entire env dir from the machine where it works to a new machine, it works 🤪
diff
on the wgrib2
binary confirms they differ, even though thought they should be identical.
The working version was created Feb 13 2018
, so sometime between then and now it's become broken 😞
After starting with the working env dir, and conda uninstall
ing backwards, I was able to produce this minimal set of dependencies which do work:
dependencies:
- python=3.6.4=0
- pyhdf=0.9.0
- numpy=1.14.0=py36h3dfced4_1
- pillow=5.0.0=py36h3deb7b8_0
- pytz=2017.3=py36h63b9c63_0
- scipy=1.0.0=py36hbf646e7_0
- wgrib2=2.0.5=1
- jasper=1.900.1=4
- libpng=1.6.34=hb9fc6fc_0
- zlib=1.2.11=0
- g2clib=1.6.0=5
- mysql-connector-c=6.1.6=0
- libnetcdf=4.4.1.1=10
- libgcc=7.2.0=h69d50b8_2
- libgcc-ng=7.2.0=h7cc24e2_2
- libgfortran=3.0.0=1
- libgfortran-ng=7.2.0=h9f7466a_2
Thanks for the detailed issue!
We have three build numbers for version 2.0.5 and it is odd that only 1 is working since not much changed in them.
Do you know what is preventing you from getting a newer version of wgrib2 in that environment? We also have 2.0.7 and 2.0.8. Either way, we can remove the builds 0
and 2
of 2.0.5
. I just want to add a test to the feedstock first to avoid regressions in future updates.
@ocefpaf unfortunately it's some old code which has some monkey patches. I was hoping to get a set of dependencies first, then start working forwards.
Turns out there are other dependencies for my this old code which are also missing and/or broken in forge, so it looks like I'm going to be starting from scratch anyway.
At least I caught this on the way 🤪
Thanks. I tried a few tests and combination of dependencies but nothing worked :-/ Let me know if you figure this one out.
I engaged the wgrib2
developer on this and the current indication is that only libpng=1.2
is supported. Digging some more at this yet...
This issue no longer seems reproducible.
Issue:
Encountered with
.grib2
files found here.Environment (
conda list
):Details about
conda
and system (conda info
):