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.

Missing files/folders in "Shared drives" when mounting Google Drive to Google Colab

See original GitHub issue

When mounting Google Drive to Google Colab using this code:

from google.colab import drive
drive.mount('/content/drive')

the content inside “/content/drive/Shared drives” did not fully present, only few folders and sub-folders is available and those folders were randomly chosen each time the the drive is remount.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:40 (19 by maintainers)

github_iconTop GitHub Comments

12reactions
colaboratory-teamcommented, Nov 11, 2020

We’ve deployed an update to a system component that has might help with this bug. If you’ve been affected by this bug, please Runtime -> Factory reset runtime, attempt a repro, and click the reaction emoji corresponding to the result: 🎉 if problems are all gone, 👍 if things appear to be better (fewer missing items but still some missing), 👎 if things are the same.

3reactions
jamesafrankecommented, Sep 10, 2020

I am experiencing the same issue specific only to shared drives.

If it helps at all, some more details on my end:

  • It appears to have started to happen sometime at the beginning of Aug.
  • It appears to maybe just be files created by another user in a shared drive created by another user?
  • It is not a shared drive permissions error as far as I can tell (as this was in a shared drive where I had full permissions)
  • The files appear in the file tree in colab when you mount the drive, but disappear as soon as try to read in one file.
  • You can make individual files reappear in colab by manually modifying the file in drive (rename it, then rename it back, for example)
  • Files I had created or modified (renamed) in the shared drive were still available some time later in colab or in a new colab instance. This appears to be stable.
Read more comments on GitHub >

github_iconTop Results From Across the Web

accessing "Shared with me" with Colab - Stack Overflow
Steps · Go to Shared with me in Google Drive. · Select the folder or file you want to acess. · Right click...
Read more >
How to Deal With Files in Google Colab: Everything You Need ...
Once the Drive is mounted, you'll get the message “Mounted at /content/gdrive” , and you'll be able to browse through the contents of...
Read more >
Google Drive File Missing: 7 Solutions to Fix This Problem
How to Fix: Files Missing from Google Drive · Solution 1 – Check the Activity Panel · Solution 2 – Try Incognito Mode...
Read more >
Different Ways to Connect Google Drive to a Google Colab ...
You can navigate through folders in your Google Drive in case your project requires multiple files from different locations.
Read more >
Resolve errors | Google Drive
To fix this error, check the sharing settings of the Google Workspace domain to which the file belongs. The settings might prohibit sharing...
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