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

file upload error #1

Closed
TakatoG opened this issue Oct 16, 2023 · 3 comments
Closed

file upload error #1

TakatoG opened this issue Oct 16, 2023 · 3 comments

Comments

@TakatoG
Copy link

TakatoG commented Oct 16, 2023

Thank you for useful tool.
I have problem with uploading file.

In the first of this program,

from google.colab import files
#@markdown Receptor PDB (-R)
print("upload receptor PDB file (.pdb)")
rup = files.upload()
rfilename = list(rup.keys())[0]

and then


MessageError Traceback (most recent call last)
in <cell line: 4>()
2 #@markdown Receptor PDB (-R)
3 print("upload receptor PDB file (.pdb)")
----> 4 rup = files.upload()
5 rfilename = list(rup.keys())[0]

3 frames
/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.

Maybe file upload error?
How can treat with this problem?

Thank you.

@tonets
Copy link
Member

tonets commented Oct 17, 2023

Thank you for using MEGADOCK-on-Colab.
It has been reported that the file upload function of Google Colab may experience issues when using the Safari browser on Mac. Are you using Safari? If so, please try using Google Chrome.
https://stackoverflow.com/questions/53630073/google-colaboratory-import-data-stack-size-exceeded

Thank you so much.

@TakatoG
Copy link
Author

TakatoG commented Oct 19, 2023

Thank you very much!

@tonets tonets closed this as completed Oct 21, 2023
@asegarrac
Copy link

I have a similar problem when uploading the files. I am using Google Chrome.
MEGADOCK parameter setting
[26]
0 s

mv: cannot stat '/content/receptor.pdb': No such file or directory
mv: cannot stat '/content/ligand.pdb': No such file or directory

How can I fix this problem?
Many thanks!

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

3 participants