Title: error reporting still broken at 0.24 · Issue #3263 · googleapis/google-cloud-python · GitHub
Open Graph Title: error reporting still broken at 0.24 · Issue #3263 · googleapis/google-cloud-python
X Title: error reporting still broken at 0.24 · Issue #3263 · googleapis/google-cloud-python
Description: After updating to 0.24 to fix #3167 I'm still unable to report exceptions. Ubuntu xenial w/ Python 3.5.2 client.report_exception(http_context=error_reporting.build_flask_context(flask.request)) On google-cloud-error-reporting <0.23 the a...
Open Graph Description: After updating to 0.24 to fix #3167 I'm still unable to report exceptions. Ubuntu xenial w/ Python 3.5.2 client.report_exception(http_context=error_reporting.build_flask_context(flask.request)) On ...
X Description: After updating to 0.24 to fix #3167 I'm still unable to report exceptions. Ubuntu xenial w/ Python 3.5.2 client.report_exception(http_context=error_reporting.build_flask_context(flask.request))...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/3263
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"error reporting still broken at 0.24","articleBody":"After updating to 0.24 to fix https://github.com/GoogleCloudPlatform/google-cloud-python/issues/3167 I'm still unable to report exceptions.\r\n\r\nUbuntu xenial w/ Python 3.5.2\r\n\r\n```python\r\nclient.report_exception(http_context=error_reporting.build_flask_context(flask.request))\r\n```\r\n\r\nOn google-cloud-error-reporting \u003c0.23 the above line works fine. At 0.24 I get:\r\n\r\n```python\r\nApr 1 15:52:51 File \"/usr/local/lib/python3.5/dist-packages/google/cloud/error_reporting/client.py\", line 347, in report_exception\r\nApr 1 15:52:51 user=user)\r\nApr 1 15:52:51 File \"/usr/local/lib/python3.5/dist-packages/google/cloud/error_reporting/client.py\", line 276, in _send_error_report\r\nApr 1 15:52:51 self.report_errors_api.report_error_event(error_report)\r\nApr 1 15:52:51 File \"/usr/local/lib/python3.5/dist-packages/google/cloud/error_reporting/_gax.py\", line 75, in report_error_event\r\nApr 1 15:52:51 ParseDict(error_report, error_report_payload)\r\nApr 1 15:52:51 File \"/usr/local/lib/python3.5/dist-packages/google/protobuf/json_format.py\", line 384, in ParseDict\r\nApr 1 15:52:51 parser.ConvertMessage(js_dict, message)\r\nApr 1 15:52:51 File \"/usr/local/lib/python3.5/dist-packages/google/protobuf/json_format.py\", line 415, in ConvertMessage\r\nApr 1 15:52:51 self._ConvertFieldValuePair(value, message)\r\nApr 1 15:52:51 File \"/usr/local/lib/python3.5/dist-packages/google/protobuf/json_format.py\", line 501, in _ConvertFieldValuePair\r\nApr 1 15:52:51 raise ParseError('Failed to parse {0} field: {1}'.format(name, e))\" \r\n```","author":{"url":"https://github.com/asilversempirical","@type":"Person","name":"asilversempirical"},"datePublished":"2017-04-01T16:58:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/3263/google-cloud-python/issues/3263"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:32a594cb-da80-dce3-5bda-7caa29f0ea64 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA38:29EB19:A07A45:D9C58D:6A4D72F0 |
| html-safe-nonce | 01817d2f79e50f321ade900aea2ce5111e6ac7e7108a683e6c7705d9f11c1f28 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTM4OjI5RUIxOTpBMDdBNDU6RDlDNThEOjZBNEQ3MkYwIiwidmlzaXRvcl9pZCI6IjU0NzAwMzU5MjE1MTEyMTU4NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f3ffbe6a14c730fe60880793395f9b1ac92da44febd6e4466be4e2467dd94d01 |
| hovercard-subject-tag | issue:218708578 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/3263/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4fd9289e3fcf553d90c36b34a77e17b194d0619390ece38c19be2e0b8b428a97/googleapis/google-cloud-python/issues/3263 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4fd9289e3fcf553d90c36b34a77e17b194d0619390ece38c19be2e0b8b428a97/googleapis/google-cloud-python/issues/3263 |
| og:image:alt | After updating to 0.24 to fix #3167 I'm still unable to report exceptions. Ubuntu xenial w/ Python 3.5.2 client.report_exception(http_context=error_reporting.build_flask_context(flask.request)) On ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | asilversempirical |
| hostname | github.com |
| expected-hostname | github.com |
| None | c78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 399fff412f48461d435721c009efc17ea44be72f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width