Colab notebook zip file upload error
Opened this issue · 0 comments
I have created a ZIP file of 3 AF2 predicted structures (2 are already in the database, but one is not and belongs to an Asgard archaeon, hence the desire for it in reconstructing the phylogenetic tree). When uploading my zip file, I get the following error messages. Can you determine what my problem is? Thanks so much!
MessageError Traceback (most recent call last)
in <cell line: 47>()
48 input_file = os.path.join(jobname,f"{jobname}.zip")
49 if not os.path.isfile(input_file):
---> 50 zipfiles = files.upload()
51 zipfile_name = list(zipfiles.keys())[0]
52 os.rename(zipfile_name, input_file)
3 frames
/usr/local/lib/python3.10/dist-packages/google/colab/files.py in upload()
67 """
68
---> 69 uploaded_files = _upload_files(multiple=True)
70 # Mapping from original filename to filename as saved locally.
71 local_filenames = dict()
/usr/local/lib/python3.10/dist-packages/google/colab/files.py in _upload_files(multiple)
162
163 while result['action'] != 'complete':
--> 164 result = _output.eval_js(
165 'google.colab._files._uploadFilesContinue("{output_id}")'.format(
166 output_id=output_id
/usr/local/lib/python3.10/dist-packages/google/colab/output/_js.py in eval_js(script, ignore_result, timeout_sec)
38 if ignore_result:
39 return
---> 40 return _message.read_reply_from_input(request_id, timeout_sec)
41
42
/usr/local/lib/python3.10/dist-packages/google/colab/_message.py in read_reply_from_input(message_id, timeout_sec)
101 ):
102 if 'error' in reply:
--> 103 raise MessageError(reply['error'])
104 return reply.get('data', None)
105
MessageError: RangeError: Maximum call stack size exceeded.