Colabtools: TIMEOUT when mounting Google Drive

Created on 2 Sep 2020  路  15Comments  路  Source: googlecolab/colabtools

  • Describe the current behavior:

I can't mount my drive using the usual drive.mount('/content/drive'). The following error appears:

TIMEOUT                                   Traceback (most recent call last)
<ipython-input-2-d5df0069828e> in <module>()
  1 from google.colab import drive
----> 2 drive.mount('/content/drive')

4 frames
/usr/local/lib/python3.6/dist-packages/pexpect/expect.py in timeout(self, err)
142             exc = TIMEOUT(msg)
143             exc.__cause__ = None    # in Python 3.x we can use "raise exc from None"
--> 144             raise exc
145 
146     def errored(self):

TIMEOUT: <pexpect.popen_spawn.PopenSpawn object at 0x7f39c621acf8>
searcher: searcher_re:
0: re.compile('google.colab.drive MOUNTED')
1: re.compile('root@352e6fca76e0-72631056df6b4467a181cdbbe437cfeb: ')
2: re.compile('(Go to this URL in a browser: https://.*)$')
3: re.compile('Drive File Stream encountered a problem and has stopped')
4: re.compile('drive EXITED')
<pexpect.popen_spawn.PopenSpawn object at 0x7f39c621acf8>
searcher: searcher_re:
0: re.compile('google.colab.drive MOUNTED')
1: re.compile('root@352e6fca76e0-72631056df6b4467a181cdbbe437cfeb: ')
2: re.compile('(Go to this URL in a browser: https://.*)$')
3: re.compile('Drive File Stream encountered a problem and has stopped')
4: re.compile('drive EXITED')
  • Describe the expected behavior:

I expected it to mount correctly as always. I've tried with my business account (G Suite) and my personal account, both have the same issue since today. I'm aware of the drive timeout issues which can happen if there are too many files/folders in the Drive, but it doesn't seem to be the case as I tried to mount in 2 different Google Colab notebooks with 2 different accounts that don't share any drives/folders. The same issue also appears for all our collaborators in our business.

  • The web browser you are using (Chrome, Firefox, Safari, etc.):

Google Chrome


The research in our business is based on Google Colab, and we are now stuck because of this issue. It would be great to have some response to this.

Thanks in advance for your help!

Most helpful comment

I was able to mount it with a direct string copy. The copy button doesn't seem to be working right.

All 15 comments

Same problem!!!!!!

Same here! It worked (if I recall correctly) last week, but suddenly I'm seeing the timeout error.

Same here. It was working yesterday fine, but today when I wanted to mount my drive to run the same code as yesterday , I had this error
Screen Shot 2020-09-02 at 11 17 48

Same problem!
https://github.com/googlecolab/colabtools/issues/382 - here is an answer that huge amount of files in drive cause this problem. I don't have a lot of files in drive, but i am using google photos and is it causes problems?

@ArtemKarablinov I doubt that the issue is coming from a big number of files as mentioned in #382 , as this problem just started to happen today for multiple people. Also, I don't have a lot of files in the root of the My Drive of my personal account (less than 10).

Same here
1 folder in Drive root, no changes since yesterday (was working)

I have a same issue from about 10~12 hours ago.

@ArtemKarablinov yes, I have around 40000 file, but it was working well without problem. The problem occurs only today.

Same problem here. Never had troubles with mounting Drive untill today. Google scheduled an update maybe?

I was able to mount it with a direct string copy. The copy button doesn't seem to be working right.

@condoy thanks, it is working now

@condoy Thanks, you are genius!!

@condoy there's a big LoL here. Thank you very much!

https___i pinimg com_originals_59_c9_12_59c912db216ac16ba61c31fb3bd95325

Damn, big facepalm ahah. Thanks for pointing this out @condoy! I will close the issue, I opened another one specifically about the button (#1540).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

travelmail26 picture travelmail26  路  4Comments

Edouard2laire picture Edouard2laire  路  3Comments

nprandall picture nprandall  路  5Comments

mitmul picture mitmul  路  4Comments

Gurubux picture Gurubux  路  5Comments