Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colab notebook zip file upload error #16

Open
leonart3 opened this issue Feb 1, 2024 · 0 comments
Open

Colab notebook zip file upload error #16

leonart3 opened this issue Feb 1, 2024 · 0 comments

Comments

@leonart3
Copy link

leonart3 commented Feb 1, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant