Skip to content

Keyerror in bigquery_billing_report.py #20

@brigranger

Description

@brigranger

I talked with @ruchim during the firecloud office hours today about an error I get when running bigquery_billing_report.py.

.--- Submission: 840c08df-0ad6-4a14-8a5d-0aa2f004eceb (submitted by [email protected])
|	.--- Workflow 4 of 24: 7b47577c-7d53-4fd5-b06a-ca23fde0e76f (Succeeded)
Traceback (most recent call last):
  File "/scripts/bigquery_billing_report/bigquery_billing_report.py", line 361, in <module>
    main()
  File "/scripts/bigquery_billing_report/bigquery_billing_report.py", line 357, in main
    args.print_queries)
  File "/scripts/bigquery_billing_report/bigquery_billing_report.py", line 191, in print_submission_pricing
    call_name]
KeyError: u'oncotate-m2'

It seems to encounter this error when the Workflow it's about to check on failed, particularly, it shows

message: Unable to complete JES Api Request
causedBy: 
message: the local copy message must have path set.

When I use the Google Big Query website to check on this workflow, it says the Query returned zero records.

It seems this might be an edge case that needs to be caught.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions