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

Sentinel-2 Level 2A Processor (Sen2Cor), 2.3.1, created: 2017.02.03 started …
selected resolution is 60 m.
C:\Users\JL\anacon2\lib\site-packages\glymur\config.py:153: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
warnings.warn(msg)
Process L2A_ProcessTile-1:
Traceback (most recent call last):
File “C:\Users\JL\anacon2\lib\multiprocessing\process.py”, line 258, in _bootstrap
self.run()
File “C:\Users\JL\anacon2\Lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 129, in run
if self.process_60() == False:
File “C:\Users\JL\anacon2\Lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 146, in process_60
self.tables = L2A_Tables(self.config)
File “C:\Users\JL\anacon2\Lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor\L2A_Tables.py”, line 324, in init
if not ‘USER’ in tiOld.text:
AttributeError: ‘bool’ object has no attribute ‘text’

guys any idea about this problem? Thanks. waiting for reply.

If would have searched for it you could have already found the solution yourself.
http://forum.step.esa.int/search?q=bool%20object%20text

Next time you might be a bit more patient.

1 Like

Hi thanks for the rapid reply. I also checked relevant solutions about long filename. So I made it short and kept necessary part. Still errors pop up. I know there have been some same messages. I followed these solutions like lowgrade numpy to 1.11.3 or put the source product to C driver etc. Any idea about the follow errors. Many thanks.

Sentinel-2 Level 2A Processor (Sen2Cor), 2.3.1, created: 2017.02.03 started …
C:\Users\JL\anacon2\lib\site-packages\glymur\config.py:153: UserWarning: Neither the openjp2 nor the openjpeg library could be loaded.
warnings.warn(msg)
Traceback (most recent call last):
File “C:\Users\JL\anacon2\Lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor/L2A_Process.py”, line 352, in
sys.exit(main())
File “C:\Users\JL\anacon2\Lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor/L2A_Process.py”, line 297, in main
L2A_TILES = updateTiles(config)
File “C:\Users\JL\anacon2\Lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor/L2A_Process.py”, line 43, in updateTiles
L1C_TILES = config.createOrUpdateL2A_UserProduct()
File “C:\Users\JL\anacon2\Lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor\L2A_Config.py”, line 3464, in createOrUpdateL2A_UserProduct
os.rename(oldfile, newfile)
WindowsError: [Error 3]
Process exited with value 1
Finished tool execution in 13 seconds