During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/usr/src/app/bot/helper/download_utils/gd_downloader.py", line 34, in add_gd_download
drive.download(link)
File "/usr/src/app/bot/helper/drive_utils/gdriveTools.py", line 705, in download
self.listener.onDownloadComplete()
File "/usr/src/app/bot/modules/archive.py", line 127, in onDownloadComplete
drive.upload(up_name)
File "/usr/src/app/bot/helper/drive_utils/gdriveTools.py", line 597, in upload
self.listener.onUploadError(err)
File "/usr/src/app/bot/modules/archive.py", line 174, in onUploadError
error = error.replace('<', '').replace('>', '')
AttributeError: 'ResumableUploadError' object has no attribute 'replace'
During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/usr/src/app/bot/helper/download_utils/gd_downloader.py", line 34, in add_gd_download drive.download(link) File "/usr/src/app/bot/helper/drive_utils/gdriveTools.py", line 705, in download self.listener.onDownloadComplete() File "/usr/src/app/bot/modules/archive.py", line 127, in onDownloadComplete drive.upload(up_name) File "/usr/src/app/bot/helper/drive_utils/gdriveTools.py", line 597, in upload self.listener.onUploadError(err) File "/usr/src/app/bot/modules/archive.py", line 174, in onUploadError error = error.replace('<', '').replace('>', '') AttributeError: 'ResumableUploadError' object has no attribute 'replace'