Open iMacadan opened 4 years ago
Note:
We detect this issue when looking at the logs.
Otherwise, files transfer seems to work fine...
Another type of error showed up in logs
2020-06-29 13:20:07,193 [ERROR] sr_sarra/run going badly with can only concatenate tuple (not "str") to tuple, sleeping for 0.010.
2020-06-29 13:20:07,193 [DEBUG] Exception details:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sarra/sr_subscribe.py", line 1759, in run
ok = self.process_message()
File "/usr/lib/python3/dist-packages/sarra/sr_subscribe.py", line 942, in process_message
ok = self.__do_tasks__()
File "/usr/lib/python3/dist-packages/sarra/sr_subscribe.py", line 421, in __do_tasks__
if not plugin(self): return False
File "/usr/lib/python3/dist-packages/sarra/sr_subscribe.py", line 1507, in doit_download
if not self.__on_file__():
File "/usr/lib/python3/dist-packages/sarra/sr_subscribe.py", line 636, in __on_file__
self.__plugin_backward_compat_setup__()
File "/usr/lib/python3/dist-packages/sarra/sr_subscribe.py", line 823, in __plugin_backward_compat_setup__
self.pbc_new_url = urllib.parse.urlparse(self.msg.new_baseurl + '/' + self.msg.new_relpath)
TypeError: can only concatenate tuple (not "str") to tuple
2020-06-29 13:20:07,196 [DEBUG] Encoding msg to json: message={'channel': <amqp.channel.Channel object at 0x7f034959e5f8>, 'body': '20200629132006.312653542 http://data-server2.science.example.com /PODAAC/181/20200629115000-O
SPO-L3U_GHRSST-SSTsubskin-VIIRS_NPP-ACSPO_V2.61-v02.0-fv01.0.nc', 'delivery_info': {'routing_key': 'v02.post.PODAAC.181', 'redelivered': False, 'exchange': 'xs_PODAAC', 'delivery_tag': 2, 'message_count': 0}, 'i
sRetry': False, 'properties': {'content_type': 'text/plain', 'application_headers': {'parts': '1,1072765,1,0,0', 'mtime': '20200629131921', 'from_cluster': 'SCIENCE', 'to_clusters': 'DATASRV.SCIENCE,DATASRV.METEO,DATASRV1.METEO,DATASRV1.SCIENCE,DATASRV.STAGE,DDSR.DEV', 'sum': 'd,2a8a624accd9be4cdbe7ced3c4e386ba', 'source': 'PODAAC', 'atime': '20200629132005.720555782', 'oldname': '/PODAAC/181/.20200629115000-OSPO-L3U_GHRSST-SSTsubskin-VIIRS_
NPP-ACSPO_V2.61-v02.0-fv01.0.nc.6okc0U', 'mode': '444'}, 'content_encoding': 'UTF-8'}}