question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed Authentication while Mounting Drive

See original GitHub issue
  • Describe the current behavior: Does not accept the copied string. I tried copying by pressing the button on the browser, as well as CTRL+C \ CTRL+V, no difference.

  • Describe the expected behavior: It should have accepted the copied string.

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

  • Link (not screenshot!) to a minimal, public, self-contained notebook that reproduces this issue (click the Share button, then Get Shareable Link): https://drive.google.com/file/d/16XzsizhX2QqeojmaeIdKtso3eAiUg0tI/view?usp=sharing


Enter your authorization code:
4/1AY0e-g5BW3w-kMKf2lmiV1SusE-wbq2E4VmJ_uHWsx_PfaMldzdpP3kNRDA
---------------------------------------------------------------------------
TIMEOUT                                   Traceback (most recent call last)
<ipython-input-1-4996ee3d8d09> in <module>()
      1 from google.colab import drive
----> 2 drive.mount('/content/gdrive')

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 0x7f052cd2fc18>
searcher: searcher_re:
    0: re.compile('google.colab.drive MOUNTED')
    1: re.compile('root@3e4e8d4c9ca5-8792019b004e46b7bec90de0ba833cf7: ')
    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')
    5: re.compile('Authorization failed')
    6: re.compile('The domain policy has disabled Drive File Stream')
<pexpect.popen_spawn.PopenSpawn object at 0x7f052cd2fc18>
searcher: searcher_re:
    0: re.compile('google.colab.drive MOUNTED')
    1: re.compile('root@3e4e8d4c9ca5-8792019b004e46b7bec90de0ba833cf7: ')
    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')
    5: re.compile('Authorization failed')
    6: re.compile('The domain policy has disabled Drive File Stream')

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
abhi1gautamcommented, Sep 5, 2021

Cool. Thank you so much! Deletion in Progress. 😃

0reactions
Akila-Ayanthicommented, Sep 4, 2021

I used rclone

Read more comments on GitHub >

github_iconTop Results From Across the Web

User has not been authenticated error when you access a ...
Describes an issue that triggers an error on a Windows-based computer when you try to access a mapped web share. Provides a resolution....
Read more >
Turn off Authentication require to mount drives on Any Linux ...
Thanks for watching...// If this video helpful for you support this channel// Buy me a coffee- ...
Read more >
How to resolve "Not authorized to perform operation" error ...
If you connect a USB drive or flash drive, the mount will not happen automatically. In the best case, an authentication window will...
Read more >
Google Colab - Google Drive can´t be mounted anymore ...
Click on the link that locates in the previous error message and authenticate your account. Failure("Error opening URL:https://accounts.google.
Read more >
Unable to mount 'drive'. Authentication is required. : r/i3wm
While mounting drives on i3, I get the following error message: "Unable to mount nameofthe_drive. Authentication is required." Therefore, I cannot mount any ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found