Sen2cor terminates without result or error

Hi everyone,

I’m trying to process an atmospheric correction of a L1C product with sen2cor plugin in Snap.
Installation of sen2cor via anaconda seemed to be successful.
At first I got two errors within the plugin output log and I had to reinstall pytables and libgdal.

Now, when I run sen2cor plugin, the processing terminates without any result or error in the execution output log, except:

Sentinel-2 Level 2A Processor (Sen2Cor), 2.4.0, created: 2017.06.05 started …
Process exited with value 1
Finished tool execution in 0 seconds

What could I do now?

My System:
sen2cor 2.4.0, SNAP 5.0.8 on Linux Mint 18.2

Thanks in advance!
Simon

Have you ever resolved this ? I met the same error

can you try execution on commandline ?

It can’t work either…

same error or do you get more info on command prompt?

I have fixed the problem, but there comes a new one … :sob:

Sentinel-2 Level 2A Prototype Processor (Sen2Cor), 2.3.0, created: 2016.11.18 started …
selected resolution is 60 m.
Syntax error in metadata, see report file for details.
Parsing error:
Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema\S2_PDI_Level-2A_Datastrip_Metadata.xsd
Details: Element ‘{https://psd-14.sentinel2.eo.esa.int/PSD/S2_PDI_Level-2A_Datastrip_Metadata.xsd}Level-2A_DataStrip_ID’: No matching global declaration available for the validation root. (line 0)
Progress[%]: 1.45 : PID-20136, L2A_ProcessTile: processing with resolution 60 m, elapsed time[s]: 2.169
Progress[%]: 1.45 : PID-20136, L2A_ProcessTile: start of pre processing, elapsed time[s]: 0.001
Syntax error in metadata, see report file for details.
Parsing error:
Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema\S2_PDI_Level-1C_Tile_Metadata.xsd
Details: Element ‘{https://psd-14.sentinel2.eo.esa.int/PSD/S2_PDI_Level-1C_Tile_Metadata.xsd}Level-1C_Tile_ID’: No matching global declaration available for the validation root. (line 0)
Progress[%]: 1.47 : PID-20136, L2A_Tables: start import, elapsed time[s]: 0.042
Process L2A_ProcessTile-1:
Traceback (most recent call last):
File “C:\Anaconda2\lib\multiprocessing\process.py”, line 258, in _bootstrap
self.run()
File “C:\Anaconda2\Lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 129, in run
if self.process_60() == False:
File “C:\Anaconda2\Lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 147, in process_60
return self.process()
File “C:\Anaconda2\Lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 196, in process
if(self.preprocess() == False):
File “C:\Anaconda2\Lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 289, in preprocess
if(self.tables.importBandList() == False):
File “C:\Anaconda2\Lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor\L2A_Tables.py”, line 1017, in importBandList
res = self.importBand(i, os.path.join(sourceDir, filename))
File “C:\Anaconda2\Lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor\L2A_Tables.py”, line 1643, in importBand
fullRes = indataset[:]
File “C:\Anaconda2\lib\site-packages\glymur\jp2k.py”, line 1043, in getitem
return self._read()
File “C:\Anaconda2\lib\site-packages\glymur\jp2k.py”, line 1131, in _read
img = self.readopenjp2(**kwargs)
File “C:\Anaconda2\lib\site-packages\glymur\jp2k.py”, line 1309, in readopenjp2
stream = opj2.stream_create_default_file_stream(fptr, True)
File “C:\Anaconda2\lib\site-packages\glymur\lib\openjp2.py”, line 1301, in streamcreate_default_file_stream_2p1
file_argument = ctypes.c_char_p(fname.encode())
AttributeError: ‘long’ object has no attribute 'encode

try sen2cor standalone binaries rather than anaconda