962 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
40
views
Google drive API list files in specific folder always returns empty
im trying to fetch the number of files in a specfic google drive folder but it always returns an empty array of files.
const folderHasFiles = async (folderId) => {
try {
const query = `'...
2
votes
3
answers
88
views
Loading many PyTorch .pt files from Google Drive in Google Colab is extremely slow
I am storing my ESM protein embeddings as individual .pt files in Google Drive (about 46,000 files, total size ~182 MB).
When I try to load them in Google Colab, the process is extremely slow (only ~2 ...
0
votes
0
answers
39
views
Bulk Folder Creation on Google Drive
I’m currently trying to improve how I handle client onboarding, specifically, the folder structures we set up in Google Drive. Right now, I’ve been creating folders manually for each new client, with ...
0
votes
1
answer
69
views
How to associate unmounted Volume ID with disk partition number in Windows?
In Windows, mountvol uses volume IDs to determine partitions to mount for a disk. It shows any existing mount points for the volumes:
Possible values for VolumeName along with current mount points are:...
-1
votes
1
answer
54
views
Efficient way to delete large number of files from root dir in Google drive
I'm trying to delete over 500,000 image files stored in the root directory of my Google Drive, but I’m facing several challenges and have tried a few approaches without success.
Manual deletion: ...
0
votes
0
answers
24
views
I am facing an error Service account key file not found in classpath during api call to a springboot controller
A service account key is needed to use google apis,I am using it to store file to google drive as http request form-data. I have stored the service account json key in my resources folder in ...
1
vote
0
answers
101
views
Why can I write to a disk with python but not read from it?
I'm trying to find the limit of a disk by writing/reading from it unil system returns error, that's when I know where the limit is.
So I used this python script to read to the disk
disk_path = r"\...
1
vote
1
answer
53
views
Powershell - Keeping a mapped drive open for saving document
I have a powershell script I've created that stores a copy of a text file to a mapped drive over a WAN VPN when the text file on the host machine is modified. It works fine until there is a brief drop ...
1
vote
2
answers
77
views
'The provided file ID is not usable.' when using drive API with python script to copy a file
I am trying to write python scripts to copy and edit files on Google drive using Drive API and a service account for permission purposes.
import google.auth
from googleapiclient.discovery import build
...
0
votes
1
answer
90
views
Unique file identifier between Windows Explorer and Google Drive
With a method similar to the one I put below I update the "name" attribute of the files in a Google Drive folder using its "Id" attribute. The task is carried out without problems.
...
0
votes
1
answer
91
views
Downloading google calendar event attachment
I've been using google calendar to track events. In short, I'd like to grab these events and download the attachments associated with them. I'm doing this in Go, but I'm open to any working solutions.....
1
vote
2
answers
340
views
Google drive api Error, We are Sorry, but your computer or network may be sending automated queries
headers: {
'x-goog-api-client': 'gdcl/7.2.0 gl-node/20.17.0',
'content-type': 'multipart/related; boundary=1a372e33-1c3d-...
0
votes
1
answer
265
views
Laravel Google drive integration "masbug/flysystem-google-drive-ext": "^2.3.0" package is not working for laravel 11
Laravel Google drive integration "masbug/flysystem-google-drive-ext": "^2.3.0" package is not working for laravel 11
<?php
namespace App\Admin\Controllers;
use App\Admin\...
0
votes
1
answer
38
views
NextJs + googleapis(Patch function), moving folder/file to a designated folder
I'm trying to create a Patch feature using nextjs + googleapis to move specific files/folders to another Folder
this is the code I'm trying it out with :
const moveFileOrFolder = async () => {
if ...
0
votes
0
answers
914
views
Issue Connecting to A100 GPU in Google Colab Pro
I paid for the Colab Pro service for the first time on July 17, 2024. Since then, I have used the platform no more than 3 or 4 times trying to create content. Today, when I tried to connect again to ...