[MacPorts] #38256: Import Error with HDF5 version 1.8.10
#38256: Import Error with HDF5 version 1.8.10 ---------------------------+-------------------------------- Reporter: andrealphus@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: hdf5-18, netcdf4 ---------------------------+-------------------------------- See similar ticket; http://code.google.com/p/netcdf4-python/issues/detail?id=147 What steps will reproduce the problem? 1. compile hdf5 version 1.8.10 2. run netCDF4 "python setup.py install" 3. attempt to import netCDF4 What is the expected output? What do you see instead? No expected output, instead get this import error ImportError: netCDF4 module must be linked against HDF5 version 1.8.4-patch1 or higher, got 1.8.10 What version of the product are you using? On what operating system? netCDF4-1.0.1 Please provide any additional information below. It appears that the __hdf5libversion__ and the __required_hdf5version__ variables are strings are used in the version comparison. The problem appears to be that the string comparison does not work now that HDF5 is up to version 1.8.10. "1.8.10">"1.8.4" is FALSE This would have worked in previous versions of HDF5 since "1.8.9">"1.8.4" is TRUE -- Ticket URL: <https://trac.macports.org/ticket/38256> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38256: Import Error with HDF5 version 1.8.10 -------------------------------+-------------------------------- Reporter: andrealphus@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: hdf5-18, netcdf4 | -------------------------------+-------------------------------- Comment (by andrealphus@…): ignore; run netCDF4 "python setup.py install" ; 1) port install hdf5-18 2) port install netcdf4 3) port install py27-netcdf4 4) attempt to import netcdf4 -- Ticket URL: <https://trac.macports.org/ticket/38256#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38256: py*-netcdf4 @1.0fix1: update to 1.0.3 ----------------------------+---------------------- Reporter: andrealphus@… | Owner: larryv@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-netcdf4 | ----------------------------+---------------------- Changes (by larryv@…): * status: new => assigned * version: 2.1.3 => * owner: macports-tickets@… => larryv@… * type: defect => update * port: hdf5-18, netcdf4 => py-netcdf4 Old description:
See similar ticket;
http://code.google.com/p/netcdf4-python/issues/detail?id=147
What steps will reproduce the problem? 1. compile hdf5 version 1.8.10 2. run netCDF4 "python setup.py install" 3. attempt to import netCDF4
What is the expected output? What do you see instead? No expected output, instead get this import error
ImportError: netCDF4 module must be linked against HDF5 version 1.8.4-patch1 or higher, got 1.8.10
What version of the product are you using? On what operating system? netCDF4-1.0.1
Please provide any additional information below. It appears that the __hdf5libversion__ and the __required_hdf5version__ variables are strings are used in the version comparison. The problem appears to be that the string comparison does not work now that HDF5 is up to version 1.8.10. "1.8.10">"1.8.4" is FALSE
This would have worked in previous versions of HDF5 since "1.8.9">"1.8.4" is TRUE
New description: See similar ticket; http://code.google.com/p/netcdf4-python/issues/detail?id=147 What steps will reproduce the problem? 1. compile hdf5 version 1.8.10 2. run netCDF4 "python setup.py install" 3. attempt to import netCDF4 What is the expected output? What do you see instead?\\ No expected output, instead get this import error {{{ ImportError: netCDF4 module must be linked against HDF5 version 1.8.4-patch1 or higher, got 1.8.10 }}} What version of the product are you using? On what operating system?\\ netCDF4-1.0.1 Please provide any additional information below.\\ It appears that the __hdf5libversion__ and the __required_hdf5version__ variables are strings are used in the version comparison. The problem appears to be that the string comparison does not work now that HDF5 is up to version 1.8.10.\\ "1.8.10">"1.8.4" is FALSE This would have worked in previous versions of HDF5 since \\ "1.8.9">"1.8.4" is TRUE -- Comment: This has nothing to do with HDF5, and the bug in question was fixed in netcdf4-python 1.0.2. -- Ticket URL: <https://trac.macports.org/ticket/38256#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38256: py*-netcdf4 @1.0fix1: update to 1.0.3 ----------------------------+---------------------- Reporter: andrealphus@… | Owner: larryv@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: py-netcdf4 | ----------------------------+---------------------- Changes (by larryv@…): * status: assigned => closed * resolution: => fixed Comment: Updated to 1.0.3 in r103609. -- Ticket URL: <https://trac.macports.org/ticket/38256#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts