AttributeError: 'bool' object has no attribute 'L2A_Product_Organisation'

Dear all,
I used sn2cor to correct sen2-data (2016,2017 and 2018) and afterwards I tried to apply sen2three to the output of sen2cor, but I get the following message:
‘AttributeError: ‘bool’ object has no attribute ‘L2A_Product_Organisation’’
It started working and I could find 8 tiles (out of 35) in the processed.txt all from 2016 and 2017 tiles
I found that data in 2018 has different attribute flag called ‘Product_Organisation’ in MTD_MSIL2A.xml.
I replaced it with ‘L2A_Product_Organisation’ but it did not make the error go away.

Here is the traceback I got in the console running L3_Process:

Progress[%]: 99.77 : Procedure L3_Tables: start export, elapsed time[s]: 0.001
Progress[%]: 99.41 : Traceback (most recent call last):
      File "/home/otto/anaconda2/bin/L3_Process", line 11, in <module>
        load_entry_point('sen2three==1.1.0', 'console_scripts', 'L3_Process')()
      File "/home/otto/anaconda2/lib/python2.7/site-packages/sen2three-1.1.0-py2.7.egg/sen2three/L3_Process.py", line 272, in main
        processor.postProcessing()
      File "/home/otto/anaconda2/lib/python2.7/site-packages/sen2three-1.1.0-py2.7.egg/sen2three/L3_Process.py", line 140, in postProcessing
        res = self.tables.exportTile(tile)
      File "/home/otto/anaconda2/lib/python2.7/site-packages/sen2three-1.1.0-py2.7.egg/sen2three/L3_Tables.py", line 621, in exportTile
        self.exportBandList('L3')
      File "/home/otto/anaconda2/lib/python2.7/site-packages/sen2three-1.1.0-py2.7.egg/sen2three/L3_Tables.py", line 869, in exportBandList
        gr2a = pi.L2A_Product_Organisation.Granule_List.Granules
    AttributeError: 'bool' object has no attribute 'L2A_Product_Organisation'

Any ideas, what could be wrong?
Best regards
Marco

Did you check these,

Sen2three

Directory argument sen2three

Dear Falah,
thanx for the responds, but I think that this is not my problem. All files are in the directory given as an argument to L3_Process. I put the whole console output here (there is also a parsing Error at the beginning)

call on Ubuntu-bionic terminal
$ user@server: L3_Process /media/otto/Data/Sentinel/S2L2A_sen2cor_out/test/ --resolution=10

output during data processing:

Sentinel-2 Level 3 Processor (Sen2Three), 1.1.0, created: 2017.07.01 started with 10m resolution ...
Syntax error in metadata, see report file for details.
Parsing error:
Schema file: S2-PDGS-TAS-DI-PSD-V14.2_Schema/S2_User_Product_Level-2A_Metadata.xsd
Details: Element 'FORMAT_CORRECTNESS_FLAG': This element is not expected. Expected is ( SENSOR_QUALITY_FLAG ). (line 0)
Procedure L3_Tables: start import, elapsed time[s]: 1.238
Progress[%]: 0.63 : Procedure L3_Tables: Level L3 band B02 imported, elapsed time[s]: 20.949
Progress[%]: 11.29 : Procedure L3_Tables: Level L3 band B03 imported, elapsed time[s]: 20.899
Progress[%]: 21.93 : Procedure L3_Tables: Level L3 band B04 imported, elapsed time[s]: 21.542
Progress[%]: 32.89 : Procedure L3_Tables: Level L3 band B08 imported, elapsed time[s]: 22.801
Progress[%]: 44.50 : Procedure L3_Tables: Level L3 band AOT imported, elapsed time[s]: 0.776
Progress[%]: 44.89 : Procedure L3_Tables: Level L3 band SCL imported, elapsed time[s]: 8.904
Progress[%]: 49.42 : Procedure L3_Tables: start import, elapsed time[s]: 0.265
Progress[%]: 49.56 : Procedure L3_Tables: Level L3 band B02 imported, elapsed time[s]: 20.458
Progress[%]: 59.97 : Procedure L3_Tables: Level L3 band B03 imported, elapsed time[s]: 21.202
Progress[%]: 70.76 : Procedure L3_Tables: Level L3 band B04 imported, elapsed time[s]: 21.494
Progress[%]: 81.70 : Procedure L3_Tables: Level L3 band B08 imported, elapsed time[s]: 23.930
Progress[%]: 93.88 : Procedure L3_Tables: Level L3 band AOT imported, elapsed time[s]: 0.712
Progress[%]: 94.24 : Procedure L3_Tables: Level L3 band SCL imported, elapsed time[s]: 8.578
Progress[%]: 98.23 : Procedure L3_Tables: start import, elapsed time[s]: 0.282
Progress[%]: 98.00 : Procedure L3_Tables: Level L3 band B02 imported, elapsed time[s]: 20.823
Progress[%]: 99.66 : Procedure L3_Tables: Level L3 band B03 imported, elapsed time[s]: 21.225
Progress[%]: 99.67 : Procedure L3_Tables: Level L3 band B04 imported, elapsed time[s]: 21.714
Progress[%]: 99.67 : Procedure L3_Tables: Level L3 band B08 imported, elapsed time[s]: 22.328
Progress[%]: 99.67 : Procedure L3_Tables: Level L3 band AOT imported, elapsed time[s]: 0.695
Progress[%]: 99.63 : Procedure L3_Tables: Level L3 band SCL imported, elapsed time[s]: 9.259
Progress[%]: 99.65 : Procedure L3_Tables: start import, elapsed time[s]: 0.280
Progress[%]: 99.42 : Procedure L3_Tables: Level L3 band B02 imported, elapsed time[s]: 21.207
Progress[%]: 99.67 : Procedure L3_Tables: Level L3 band B03 imported, elapsed time[s]: 21.547
Progress[%]: 99.67 : Procedure L3_Tables: Level L3 band B04 imported, elapsed time[s]: 21.918
Progress[%]: 99.67 : Procedure L3_Tables: Level L3 band B08 imported, elapsed time[s]: 22.431
Progress[%]: 99.67 : Procedure L3_Tables: Level L3 band AOT imported, elapsed time[s]: 0.817
Progress[%]: 99.63 : Procedure L3_Tables: Level L3 band SCL imported, elapsed time[s]: 9.137
Progress[%]: 99.65 : Procedure L3_Tables: start import, elapsed time[s]: 0.042
Progress[%]: 99.30 : Procedure L3_Tables: Level L2A band B02 imported, elapsed time[s]: 20.941
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band B03 imported, elapsed time[s]: 20.925
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band B04 imported, elapsed time[s]: 21.480
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band B08 imported, elapsed time[s]: 22.517
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band AOT imported, elapsed time[s]: 0.693
Progress[%]: 99.63 : Procedure L3_Tables: Level L2A band SCL imported, elapsed time[s]: 8.675
Progress[%]: 99.65 : Procedure L3_Process: processing with resolution 10 m, elapsed time[s]: 0.013
Progress[%]: 99.28 : Procedure L3_Process: start of Pre Processing, elapsed time[s]: 0.000
Progress[%]: 98.91 : Procedure L3_Process: start of Spatio Temporal Processing, elapsed time[s]: 0.000
Progress[%]: 98.54 : Procedure L3_Synthesis: pre processing, elapsed time[s]: 0.000
Progress[%]: 98.17 : Procedure L3_Process: nr processed tiles: 1, elapsed time[s]: 0.000
Progress[%]: 97.79 : Procedure L3_Tables: start import, elapsed time[s]: 132.656
Progress[%]: 99.81 : Procedure L3_Tables: Level L2A band B02 imported, elapsed time[s]: 19.550
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band B03 imported, elapsed time[s]: 19.965
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band B04 imported, elapsed time[s]: 20.102
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band B08 imported, elapsed time[s]: 21.751
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band AOT imported, elapsed time[s]: 0.772
Progress[%]: 99.63 : Procedure L3_Tables: Level L2A band SCL imported, elapsed time[s]: 8.675
Progress[%]: 99.65 : Procedure L3_Process: processing with resolution 10 m, elapsed time[s]: 0.020
Progress[%]: 99.29 : Procedure L3_Process: start of Pre Processing, elapsed time[s]: 0.000
Progress[%]: 98.92 : Procedure L3_Process: start of Spatio Temporal Processing, elapsed time[s]: 0.000
Progress[%]: 98.55 : Procedure L3_Synthesis: pre processing, elapsed time[s]: 0.000
Progress[%]: 98.17 : Procedure L3_Process: nr processed tiles: 1, elapsed time[s]: 0.000
Progress[%]: 97.80 : Procedure L3_Tables: start import, elapsed time[s]: 134.187
Progress[%]: 99.81 : Procedure L3_Tables: Level L2A band B02 imported, elapsed time[s]: 20.513
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band B03 imported, elapsed time[s]: 21.089
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band B04 imported, elapsed time[s]: 21.579
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band B08 imported, elapsed time[s]: 22.501
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band AOT imported, elapsed time[s]: 0.783
Progress[%]: 99.63 : Procedure L3_Tables: Level L2A band SCL imported, elapsed time[s]: 8.754
Progress[%]: 99.65 : Procedure L3_Process: processing with resolution 10 m, elapsed time[s]: 0.014
Progress[%]: 99.28 : Procedure L3_Process: start of Pre Processing, elapsed time[s]: 0.000
Progress[%]: 98.91 : Procedure L3_Process: start of Spatio Temporal Processing, elapsed time[s]: 0.000
Progress[%]: 98.54 : Procedure L3_Synthesis: pre processing, elapsed time[s]: 0.000
Progress[%]: 98.17 : Procedure L3_Process: nr processed tiles: 2, elapsed time[s]: 0.000
Progress[%]: 97.79 : Procedure L3_Tables: start import, elapsed time[s]: 99.559
Progress[%]: 99.77 : Procedure L3_Tables: Level L2A band B02 imported, elapsed time[s]: 19.837
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band B03 imported, elapsed time[s]: 20.760
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band B04 imported, elapsed time[s]: 20.562
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band B08 imported, elapsed time[s]: 23.074
Progress[%]: 99.67 : Procedure L3_Tables: Level L2A band AOT imported, elapsed time[s]: 0.839
Progress[%]: 99.63 : Procedure L3_Tables: Level L2A band SCL imported, elapsed time[s]: 8.581
Progress[%]: 99.65 : Procedure L3_Process: processing with resolution 10 m, elapsed time[s]: 0.015
Progress[%]: 99.28 : Procedure L3_Process: start of Pre Processing, elapsed time[s]: 0.000
Progress[%]: 98.91 : Procedure L3_Process: start of Spatio Temporal Processing, elapsed time[s]: 0.000
Progress[%]: 98.54 : Procedure L3_Synthesis: pre processing, elapsed time[s]: 0.000
Progress[%]: 98.17 : Procedure L3_Process: nr processed tiles: 2, elapsed time[s]: 0.000
Progress[%]: 97.79 : Procedure L3_Process: start of Post Processing, elapsed time[s]: 99.884
Progress[%]: 99.77 : Procedure L3_Tables: start export, elapsed time[s]: 0.001
Progress[%]: 99.41 : Traceback (most recent call last):
  File "/home/otto/anaconda2/bin/L3_Process", line 11, in <module>
    load_entry_point('sen2three==1.1.0', 'console_scripts', 'L3_Process')()
  File "/home/otto/anaconda2/lib/python2.7/site-packages/sen2three-1.1.0-py2.7.egg/sen2three/L3_Process.py", line 272, in main
    processor.postProcessing()
  File "/home/otto/anaconda2/lib/python2.7/site-packages/sen2three-1.1.0-py2.7.egg/sen2three/L3_Process.py", line 140, in postProcessing
    res = self.tables.exportTile(tile)
  File "/home/otto/anaconda2/lib/python2.7/site-packages/sen2three-1.1.0-py2.7.egg/sen2three/L3_Tables.py", line 621, in exportTile
    self.exportBandList('L3')
  File "/home/otto/anaconda2/lib/python2.7/site-packages/sen2three-1.1.0-py2.7.egg/sen2three/L3_Tables.py", line 869, in exportBandList
    gr2a = pi.L2A_Product_Organisation.Granule_List.Granules
AttributeError: 'bool' object has no attribute 'L2A_Product_Organisation'

The original data is from Copernicus (SciHub-Webinterfacce)

Regards
Marco