Can't Repro
Status Update
Comments
pu...@google.com <pu...@google.com>
je...@google.com <je...@google.com> #2
Hello,
This issue report has been forwarded to the Cloud BigQuery Product team so that they may investigate it, but there is no ETA for a resolution today. Future updates regarding this issue will be provided here.
je...@google.com <je...@google.com> #3
Hi,
To troubleshoot the issue further, I have created a private ticket to provide some information about the issue (for which you should have received a notification). Please provide requested information there. Don't put any personal information, including project identifiers in this public ticket.
Description
e.g:
% bq ls
You have encountered a bug in the BigQuery CLI. Please file a bug report in our public issue tracker:
Please include a brief description of the steps that led to this issue, as well as any rows that can be made public from the following information:
========================================
== Platform ==
CPython:3.11.6:macOS-14.4-arm64-arm-64bit
== bq version ==
2.1.13
== Command line ==
['/Users/abc/Downloads/google-cloud-sdk 2/platform/bq/bq.py', '--project_id=int2-us-436f', 'ls']
== UTC timestamp ==
2025-02-20 04:24:45
== Error trace ==
Traceback (most recent call last):
File "/Users/abc/Downloads/google-cloud-sdk 2/platform/bq/frontend/bigquery_command.py", line 278, in RunSafely
return_value = self.RunWithArgs(*args, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abc/Downloads/google-cloud-sdk 2/platform/bq/frontend/command_list.py", line 605, in RunWithArgs
objects_metadata = client_dataset.ListDatasetsWithTokenAndUnreachable(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abc/Downloads/google-cloud-sdk 2/platform/bq/clients/client_dataset.py", line 70, in ListDatasetsWithTokenAndUnreachable
result = apiclient.datasets().list(**request).execute()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abc/Downloads/google-cloud-sdk 2/platform/bq/clients/bigquery_http.py", line 227, in execute
return super().execute(
^^^^^^^^^^^^^^^^
File "/Users/abc/Downloads/google-cloud-sdk 2/platform/bq/third_party/googleapiclient/_helpers.py", line 135, in positional_wrapper
return wrapped(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/abc/Downloads/google-cloud-sdk 2/platform/bq/third_party/googleapiclient/http.py", line 921, in execute
resp, content = _retry_request(
^^^^^^^^^^^^^^^
File "/Users/sjupudi/Downloads/google-cloud-sdk 2/platform/bq/clients/bigquery_http.py", line 70, in _RetryRequest
data = json.loads(content.decode('utf-8'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
========================================
Unexpected exception in ls operation: You have encountered a bug in the BigQuery CLI. Please file a bug report in our public issue tracker:
Please include a brief description of the steps that led to this issue, as well as any rows that can be made public from the following information: