python /home/cod/mtr/script_for_cron.py -j default -m 10 -a ' python3 /home/cod/workarea/git/raspi-fotonower-x/python/DriveAPI/new_script.py -s /home/cod/workarea/git/raspi-fotonower-x/python/DriveAPI/client_secrets.json -C /home/cod/workarea/git/raspi-fotonower-x/python/DriveAPI/credentials.json -a ' -s cod_upload -M 0 -S 0 -U 90,90,90 OSError: [Errno 28] No space left on device During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/cod/workarea/git/raspi-fotonower-x/python/DriveAPI/new_script.py", line 97, in check_if_picture file_list = drive.ListFile({'q': "'{}' in parents and trashed=false".format(folder)}).GetList() File "/home/cod/.local/lib/python3.8/site-packages/pydrive/apiattr.py", line 162, in GetList for x in self: File "/home/cod/.local/lib/python3.8/site-packages/pydrive/apiattr.py", line 146, in __next__ result = self._GetList() File "/home/cod/.local/lib/python3.8/site-packages/pydrive/auth.py", line 57, in _decorated self.auth.LocalWebserverAuth() File "/home/cod/.local/lib/python3.8/site-packages/pydrive/auth.py", line 120, in _decorated self.Refresh() File "/home/cod/.local/lib/python3.8/site-packages/pydrive/auth.py", line 475, in Refresh self.credentials.refresh(self.http) File "/home/cod/.local/lib/python3.8/site-packages/oauth2client/client.py", line 545, in refresh self._refresh(http) File "/home/cod/.local/lib/python3.8/site-packages/oauth2client/client.py", line 761, in _refresh self._do_refresh_request(http) File "/home/cod/.local/lib/python3.8/site-packages/oauth2client/client.py", line 802, in _do_refresh_request self.store.locked_put(self) File "/home/cod/.local/lib/python3.8/site-packages/oauth2client/file.py", line 87, in locked_put f.close() OSError: [Errno 28] No space left on device During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/cod/workarea/git/raspi-fotonower-x/python/DriveAPI/new_script.py", line 178, in action_on_drive_per_second(extensions, x.verbose, x.path_to_secrets_file, x.cred, x.alert_slack, x.time_batch, x.json_path) File "/home/cod/workarea/git/raspi-fotonower-x/python/DriveAPI/new_script.py", line 139, in action_on_drive_per_second if check_if_picture(drive, folder['id'], extensions, verbose, path_to_secrets_file, cred): File "/home/cod/workarea/git/raspi-fotonower-x/python/DriveAPI/new_script.py", line 99, in check_if_picture print(exep +'\n' + 'Trying to reconnect to google API') TypeError: unsupported operand type(s) for +: 'OSError' and 'str' Command exited with non-zero status 1 18.56user 1.48system 12:57.97elapsed 2%CPU (0avgtext+0avgdata 92532maxresident)k 105584inputs+16outputs (5445major+53572minor)pagefaults 0swaps