You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/maja/lib/python/orchestrator/launcher/maja.py", line 100, in <module>
main()
File "/maja/lib/python/orchestrator/launcher/maja.py", line 81, in main
lprocessor.scientific_processing()
File "/maja/lib/python/orchestrator/processor/l2_nominal_processor.py", line 216, in scientific_processing
l2_image_file_writer, checking_conditional_clouds)
File "/maja/lib/python/orchestrator/processor/l2_processor.py", line 828, in process_one_product
self._cams_status, l_IgnoreCurrentLTC)
File "/maja/lib/python/orchestrator/processor/l2_processor_header_writer_setup.py", line 157, in setup_l2_header_writer
l_L2HeaderFileWriter.write()
File "/maja/lib/python/orchestrator/plugins/common/muscate/maja_muscate_l2_header_writer.py", line 75, in write
self.pre_processing()
File "/maja/lib/python/orchestrator/plugins/common/base/maja_l2_header_writer_base.py", line 124, in pre_processing
self.outputl2privateimagefilenamesprovider.get_ltc_image_dir_filename())
File "/maja/lib/python/orchestrator/common/file_utils.py", line 129, in copy_tree
copy_file(src_filename, dst_filename)
File "/maja/lib/python/orchestrator/common/file_utils.py", line 112, in copy_file
shutil.copyfile(source, dest)
File "/maja/lib/python3.7/shutil.py", line 104, in copyfile
raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
shutil.SameFileError: '/mnt/vol/tmp/Start_maja_e73b1f2b4319aeef75c481cf23529f75/SENTINEL2A_20211010-101729-643_L2A_T32UQU_C_V1-0/DATA/SENTINEL2A_20211010-101729-643_L2A_T32UQU_C_V1
-0_PVD_ALL/LTC/20211104.mha' and '/mnt/vol/input/L2A-Products/32UQU/SENTINEL2A_20211010-101729-643_L2A_T32UQU_C_V1-0/DATA/SENTINEL2A_20211010-101729-643_L2A_T32UQU_C_V1-0_PVD_ALL/L
TC/20211104.mha' are the same file
It seems to be happening rather randomly - sometimes reprocessing with the same exact inputs works as intended, sometimes it fails again. Looking at the traceback it seems pretty easy to mitigate (either with try/except block or by checking if the file exists beforehand) - the question is whether it is not a symptom of some underlying issue.
The text was updated successfully, but these errors were encountered:
Hi Bartosz,
Thanks for reporting this issue. I duplicated it on the active GitLab repository used by Maja's dev team.
This duplicated repo on both Github and GitLab is confusing, we'll simplify this soon. In the meantime, you'll see the follow-up of your bug report here:
Given a workplan
I got the following error
It seems to be happening rather randomly - sometimes reprocessing with the same exact inputs works as intended, sometimes it fails again. Looking at the traceback it seems pretty easy to mitigate (either with try/except block or by checking if the file exists beforehand) - the question is whether it is not a symptom of some underlying issue.
The text was updated successfully, but these errors were encountered: