voice-builder icon indicating copy to clipboard operation
voice-builder copied to clipboard

Error while executing onJobBucketChange.functions

Open dollyagarwal opened this issue 5 years ago • 8 comments

Voice-builder has been deployed to the GCP project and a job is created from the dashboard. But the status of the job stays at Exporting Resources. Upon checking the logs, I saw that there was an error while executing the onJobBucketChange funciton. PFB the screenshot:

image

Moreover, on further debugging, I found that pipelineInfo.json is not created for the job. The files in the job bucket are as shown in the screenshot below:

image

I am not sure, what is going wrong? I appreciate any help provided.

dollyagarwal avatar Jan 09 '20 07:01 dollyagarwal

Hi can you add a console.log(object) to https://github.com/google/voice-builder/blob/master/cloud_functions/functions/index.js#L35

then re-ran the voice building, and check the logs again.

pasindud avatar Jan 19 '20 19:01 pasindud

Hi, Thanks for your response. I added the console.log(object), here's the log:

image

dollyagarwal avatar Jan 20 '20 09:01 dollyagarwal

After the change did you run voice building again ?

pasindud avatar Jan 20 '20 11:01 pasindud

Yes I did. I think the undefined displayed in the log is the object.

dollyagarwal avatar Jan 20 '20 14:01 dollyagarwal

In which case instead of logging object can you do console.log(event)

pasindud avatar Jan 21 '20 11:01 pasindud

Here's the screenshot of the log:

screenshot

dollyagarwal avatar Jan 21 '20 13:01 dollyagarwal

Hey @dollyagarwal did you get the solution for this, I'm stuck on the same issue

thejaigoyal avatar May 12 '20 16:05 thejaigoyal

Hey @dollyagarwal I changed event.data in line 34 of index.js to just event and was able to resolve these errors.

crazzywizard avatar Jul 23 '20 03:07 crazzywizard