Questions tagged [google-bucket]

64 questions
1
vote
1 answer

FastText cannot be opened for loading from bucket

I downloaded fasttext model lid.176.bin. If I run my code locally with model in folder everything works fine. But I need to run it in GC, so, I uploaded model into bucket and changed path to model from local to gs bucket and got an error:…
1
vote
1 answer

DNS_PROBE_FINISHED_NXDOMAIN with hosting static website with Google Cloud Platform

I followed the instructions on hosting-static-website and successfully set up an website with the ip 34.120.167.35, where I am able to view my site. My DNS and domain name are both provided by BlueHost. I used the TXT verification and have my SSL…
1
vote
1 answer

Uploading files to Google Cloud Buckets using Rest API POST

I searched around but I couldn't find anything useful about this. I'm trying to upload a file to a google cloud bucket in my project using REST APIs, but all i am obtaining is a binary file in the bucket, and not the actual file. Uploading using…
cecia234
  • 46
  • 1
  • 6
1
vote
1 answer

Fastest way to bulk upload files to google bucket

I have large number of pdfs to upload to google bucket. What is the fastest way to upload all these files to google bucket? I have tried uploading using drag and drop but it's taking a lot of time should I create a python script or is there any…
White_Wolf
  • 55
  • 5
0
votes
0 answers

Read blob from google bucket knowing the name of the file

I’m trying to read an excel file in Google bucket by using its name to find it. I have below code to find the latest file in the bucket (file that was added last): bucket_name = 'bucket_name' blobs = [(blob, blob.updated) for blob in…
Ola
  • 13
  • 3
0
votes
1 answer

List xlsx blobs only in google bucket python

I am trying to list only latest excel files in my google bucket, my google bucket looks something like this: bucket_name: *.xlsx file, *.xlsx file Folder_1: *.csv file , *.csv file Folder 2: *.xlsx file, *.xlsx file, *.xlsx file I want to only get…
Ola
  • 13
  • 3
0
votes
0 answers

Fastest way to load data from Google bucket to dbgap?

I need to submit .bam files to dbgap and those files are stored on google bucket, any wiki, or standard procedure available?
0
votes
0 answers

download_to_filename yields Segmentation Fault after downloading the file

I'm trying to process some data that I have in a bucket, download the file, work with it and then remove it from my disk. For that purpose I have the following function: def downloadFileinBucket(pathKeyFile, projectID, bucketName, filename,…
0
votes
0 answers

Google Biq query data transfer service not updating GBQ table after first run

We are fetching data from Appsflyer source to a Google cloud storage bucket Then through data transfer service - trying to insert in gbq table Data transfer service is running successfully but data is not shown in GBQ table, but whenever we are…
0
votes
0 answers

Using Python Flask I am trying to write a functions to loop through google datastore and google bucket and assign a profile image to a message

I have written a series of functions get_user_image_filename() gets the filename from the google bucket, then it is passed to the next function view_user_image() to get the image and process it. I then call this function from view_messages() which…
0
votes
1 answer

Bigquery LOAD job failing when using JSON column in the destination

we have had a job running for quite some time every hour without any issues, however, today we have started to encounter an error when loading the data from Google Cloud bucket to bigquery table. Nothing has changed in the procedure that runs it and…
Mino1234
  • 77
  • 6
0
votes
1 answer

could not be converted to unicode python copying data between gcs buckets

I'm trying to copy a file from one gcs bucket to another bucket using python . I'm not able to copy the file, it throws the below error. Error: An error was encountered: could not be converted to unicode Traceback…
0
votes
0 answers

Uploading an image to google cloud storage via fetch to a signed URL results in broken asset?

I have tried reading through the docs, but I have to be honest, I just can't seem to find proper documentation for this. I need to upload from my react-native client side app to a signed URL. We are NOT going to be using the @google-cloud/storage…
0
votes
1 answer

trying to load data frm GS Bucket to CloudSQL SQL Server table, running this script in CloudShell

I have the CSV file in GSBucket, and created the empty table in CloudSQL , and now I want to load data from GsBucket CSV to CloudSQL SQL Server table (existing), if I am using below command on CloudShell: gcloud sql import csv testinstance…
0
votes
1 answer

Google Dataflow trigger from Google bucket upload?

I am currently evaluating a proof of concept which uses Google bucket, a java microservice and Dataflow. The communication flow is like so: User sends CSV file to third party service Service uploads CSV file to Google bucket with ID and filename A…