Multiple error message when missing OpenJPEG libs

Looking at my Sen2Cor 2.2.0 log file …

Launching ‘d:\CodeLibraries\sen2cor-2.2.0\bin/L2A_Process.exe --resolution 10 C:/temp/S2A_src__tmp_tmpL1C_tmp’ …
d:\CODELI~1\SEN2CO~1.0\bin\glymur\lib\config.py:151: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
Process L2A_ProcessTile-1:
Traceback (most recent call last):
File “multiprocessing\process.py”, line 258, in _bootstrap
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 142, in run
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 162, in process_20
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 199, in process
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 276, in preprocess
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 925, in importBandList
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 1510, in importBand
File “site-packages\glymur\jp2k.py”, line 1018, in getitem
File “site-packages\glymur\jp2k.py”, line 1098, in _read
RuntimeError: You must have at least version 1.5.0 of OpenJPEG installed before you can read JPEG2000 images.
d:\CODELI~1\SEN2CO~1.0\bin\glymur\lib\config.py:151: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
Process L2A_ProcessTile-2:
Traceback (most recent call last):
File “multiprocessing\process.py”, line 258, in _bootstrap
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 142, in run
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 162, in process_20
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 199, in process
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 276, in preprocess
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 925, in importBandList
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 1510, in importBand
File “site-packages\glymur\jp2k.py”, line 1018, in getitem
File “site-packages\glymur\jp2k.py”, line 1098, in _read
RuntimeError: You must have at least version 1.5.0 of OpenJPEG installed before you can read JPEG2000 images.
d:\CODELI~1\SEN2CO~1.0\bin\glymur\lib\config.py:151: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
Process L2A_ProcessTile-3:
Traceback (most recent call last):
File “multiprocessing\process.py”, line 258, in _bootstrap
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 142, in run
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 162, in process_20
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 199, in process
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 276, in preprocess
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 925, in importBandList
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 1510, in importBand
File “site-packages\glymur\jp2k.py”, line 1018, in getitem
File “site-packages\glymur\jp2k.py”, line 1098, in _read
RuntimeError: You must have at least version 1.5.0 of OpenJPEG installed before you can read JPEG2000 images.
d:\CODELI~1\SEN2CO~1.0\bin\glymur\lib\config.py:151: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
Process L2A_ProcessTile-4:
Traceback (most recent call last):
File “multiprocessing\process.py”, line 258, in _bootstrap
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 142, in run
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 162, in process_20
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 199, in process
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 276, in preprocess
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 925, in importBandList
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 1510, in importBand
File “site-packages\glymur\jp2k.py”, line 1018, in getitem
File “site-packages\glymur\jp2k.py”, line 1098, in _read
RuntimeError: You must have at least version 1.5.0 of OpenJPEG installed before you can read JPEG2000 images.
d:\CODELI~1\SEN2CO~1.0\bin\glymur\lib\config.py:151: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
Process L2A_ProcessTile-5:
Traceback (most recent call last):
File “multiprocessing\process.py”, line 258, in _bootstrap
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 142, in run
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 162, in process_20
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 199, in process
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 276, in preprocess
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 925, in importBandList
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 1510, in importBand
File “site-packages\glymur\jp2k.py”, line 1018, in getitem
File “site-packages\glymur\jp2k.py”, line 1098, in _read
RuntimeError: You must have at least version 1.5.0 of OpenJPEG installed before you can read JPEG2000 images.
d:\CODELI~1\SEN2CO~1.0\bin\glymur\lib\config.py:151: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
Process L2A_ProcessTile-6:
Traceback (most recent call last):
File “multiprocessing\process.py”, line 258, in _bootstrap
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 142, in run
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 162, in process_20
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 199, in process
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 276, in preprocess
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 925, in importBandList
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 1510, in importBand
File “site-packages\glymur\jp2k.py”, line 1018, in getitem
File “site-packages\glymur\jp2k.py”, line 1098, in _read
RuntimeError: You must have at least version 1.5.0 of OpenJPEG installed before you can read JPEG2000 images.
d:\CODELI~1\SEN2CO~1.0\bin\glymur\lib\config.py:151: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
Process L2A_ProcessTile-7:
Traceback (most recent call last):
File “multiprocessing\process.py”, line 258, in _bootstrap
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 142, in run
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 162, in process_20
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 199, in process
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 276, in preprocess
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 925, in importBandList
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 1510, in importBand
File “site-packages\glymur\jp2k.py”, line 1018, in getitem
File “site-packages\glymur\jp2k.py”, line 1098, in _read
RuntimeError: You must have at least version 1.5.0 of OpenJPEG installed before you can read JPEG2000 images.
d:\CODELI~1\SEN2CO~1.0\bin\glymur\lib\config.py:151: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
Process L2A_ProcessTile-8:
Traceback (most recent call last):
File “multiprocessing\process.py”, line 258, in _bootstrap
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 142, in run
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 162, in process_20
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 199, in process
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 276, in preprocess
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 925, in importBandList
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 1510, in importBand
File “site-packages\glymur\jp2k.py”, line 1018, in getitem
File “site-packages\glymur\jp2k.py”, line 1098, in _read
RuntimeError: You must have at least version 1.5.0 of OpenJPEG installed before you can read JPEG2000 images.
d:\CODELI~1\SEN2CO~1.0\bin\glymur\lib\config.py:151: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
Process L2A_ProcessTile-9:
Traceback (most recent call last):
File “multiprocessing\process.py”, line 258, in _bootstrap
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 142, in run
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 162, in process_20
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 199, in process
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 276, in preprocess
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 925, in importBandList
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 1510, in importBand
File “site-packages\glymur\jp2k.py”, line 1018, in getitem
File “site-packages\glymur\jp2k.py”, line 1098, in _read
RuntimeError: You must have at least version 1.5.0 of OpenJPEG installed before you can read JPEG2000 images.
d:\CODELI~1\SEN2CO~1.0\bin\glymur\lib\config.py:151: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
Process L2A_ProcessTile-10:
Traceback (most recent call last):
File “multiprocessing\process.py”, line 258, in _bootstrap
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 142, in run
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 162, in process_20
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 199, in process
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 276, in preprocess
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 925, in importBandList
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 1510, in importBand
File “site-packages\glymur\jp2k.py”, line 1018, in getitem
File “site-packages\glymur\jp2k.py”, line 1098, in _read
RuntimeError: You must have at least version 1.5.0 of OpenJPEG installed before you can read JPEG2000 images.
d:\CODELI~1\SEN2CO~1.0\bin\glymur\lib\config.py:151: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
Process L2A_ProcessTile-11:
Traceback (most recent call last):
File “multiprocessing\process.py”, line 258, in _bootstrap
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 142, in run
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 162, in process_20
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 199, in process
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 276, in preprocess
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 925, in importBandList
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 1510, in importBand
File “site-packages\glymur\jp2k.py”, line 1018, in getitem
File “site-packages\glymur\jp2k.py”, line 1098, in _read
RuntimeError: You must have at least version 1.5.0 of OpenJPEG installed before you can read JPEG2000 images.
d:\CODELI~1\SEN2CO~1.0\bin\glymur\lib\config.py:151: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
Process L2A_ProcessTile-12:
Traceback (most recent call last):
File “multiprocessing\process.py”, line 258, in _bootstrap
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 142, in run
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 162, in process_20
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 199, in process
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 276, in preprocess
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 925, in importBandList
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 1510, in importBand
File “site-packages\glymur\jp2k.py”, line 1018, in getitem
File “site-packages\glymur\jp2k.py”, line 1098, in _read
RuntimeError: You must have at least version 1.5.0 of OpenJPEG installed before you can read JPEG2000 images.
d:\CODELI~1\SEN2CO~1.0\bin\glymur\lib\config.py:151: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
Process L2A_ProcessTile-13:
Traceback (most recent call last):
File “multiprocessing\process.py”, line 258, in _bootstrap
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 142, in run
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 162, in process_20
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 199, in process
File “SEN2COR-2.2\sen2cor\L2A_ProcessTile.py”, line 276, in preprocess
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 925, in importBandList
File “SEN2COR-2.2\sen2cor\L2A_Tables.py”, line 1510, in importBand
File “site-packages\glymur\jp2k.py”, line 1018, in getitem
File “site-packages\glymur\jp2k.py”, line 1098, in _read
RuntimeError: You must have at least version 1.5.0 of OpenJPEG installed before you can read JPEG2000 images.

… I could not help wondering if perhaps a single error message would be enough? If you find out you’re missing an essential library, do you really need to try all the other granules as well?


Oh, but now I see that the L2A_process process is still running. Seems to be pretty much idle, no CPU load, less than 6K memory, no more error messages – but it’s still alive doing… what exactly?

Will investigate further.

I have suddenly this very same problem with OpenJPEG. The funny thing is that the very same command (taken from the SNAP log file) works without problem in my Anaconda prompt.
Did you find a solution to this?