René's URL Explorer Experiment


Title: Error listing zones · Issue #24 · googleapis/python-compute · GitHub

Open Graph Title: Error listing zones · Issue #24 · googleapis/python-compute

X Title: Error listing zones · Issue #24 · googleapis/python-compute

Description: Environment details OS type and version: Python version: Python 3.8.7 pip version: 21.0.1 google-cloud-compute version: 0.2.0 Steps to reproduce Call list in zones client Code example from google.cloud import compute client_zones = compu...

Open Graph Description: Environment details OS type and version: Python version: Python 3.8.7 pip version: 21.0.1 google-cloud-compute version: 0.2.0 Steps to reproduce Call list in zones client Code example from google.c...

X Description: Environment details OS type and version: Python version: Python 3.8.7 pip version: 21.0.1 google-cloud-compute version: 0.2.0 Steps to reproduce Call list in zones client Code example from google.c...

Opengraph URL: https://github.com/googleapis/python-compute/issues/24

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error listing zones","articleBody":"#### Environment details\r\n\r\n  - OS type and version: \r\n  - Python version: Python 3.8.7\r\n  - pip version: 21.0.1 \r\n  - `google-cloud-compute` version:  0.2.0\r\n\r\n#### Steps to reproduce\r\n\r\n  1. Call list in zones client\r\n\r\n#### Code example\r\n\r\n```python\r\nfrom google.cloud import compute\r\nclient_zones = compute.ZonesClient()\r\nclient_zones.list(project='my-project') #error\r\n```\r\n\r\n#### Stack trace\r\n```\r\nTraceback (most recent call last):\r\n  File \"mypath/venv/lib/python3.8/site-packages/google/protobuf/json_format.py\", line 524, in _ConvertFieldValuePair\r\n    raise ParseError(\r\ngoogle.protobuf.json_format.ParseError: Message type \"google.cloud.compute.v1.Zone\" has no field named \"supportsPzs\".\r\n Available Fields(except extensions): ['availableCpuPlatforms', 'creationTimestamp', 'deprecated', 'description', 'id', 'kind', 'name', 'region', 'selfLink', 'status']\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"mypath/venv/lib/python3.8/site-packages/google/protobuf/json_format.py\", line 574, in _ConvertFieldValuePair\r\n    self.ConvertMessage(item, sub_message)\r\n  File \"mypath/venv/lib/python3.8/site-packages/google/protobuf/json_format.py\", line 485, in ConvertMessage\r\n    self._ConvertFieldValuePair(value, message)\r\n  File \"mypath/venv/lib/python3.8/site-packages/google/protobuf/json_format.py\", line 599, in _ConvertFieldValuePair\r\n    raise ParseError(str(e))\r\ngoogle.protobuf.json_format.ParseError: Message type \"google.cloud.compute.v1.Zone\" has no field named \"supportsPzs\".\r\n Available Fields(except extensions): ['availableCpuPlatforms', 'creationTimestamp', 'deprecated', 'description', 'id', 'kind', 'name', 'region', 'selfLink', 'status']\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"main2.py\", line 20, in \u003cmodule\u003e\r\n    data = client_zones.list(project='magalu-cliente')\r\n  File \"mypath/venv/lib/python3.8/site-packages/google/cloud/compute_v1/services/zones/client.py\", line 470, in list\r\n    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)\r\n  File \"mypath/venv/lib/python3.8/site-packages/google/api_core/gapic_v1/method.py\", line 145, in __call__\r\n    return wrapped_func(*args, **kwargs)\r\n  File \"mypath/venv/lib/python3.8/site-packages/google/api_core/grpc_helpers.py\", line 73, in error_remapped_callable\r\n    return callable_(*args, **kwargs)\r\n  File \"mypath/venv/lib/python3.8/site-packages/google/cloud/compute_v1/services/zones/transports/rest.py\", line 203, in list\r\n    return compute.ZoneList.from_json(response.content)\r\n  File \"mypath/venv/lib/python3.8/site-packages/proto/message.py\", line 369, in from_json\r\n    Parse(payload, instance._pb, ignore_unknown_fields=False) #checkpoint_alcides\r\n  File \"mypath/venv/lib/python3.8/site-packages/google/protobuf/json_format.py\", line 434, in Parse\r\n    return ParseDict(js, message, ignore_unknown_fields, descriptor_pool)\r\n  File \"mypath/venv/lib/python3.8/site-packages/google/protobuf/json_format.py\", line 454, in ParseDict\r\n    parser.ConvertMessage(js_dict, message)\r\n  File \"mypath/venv/lib/python3.8/site-packages/google/protobuf/json_format.py\", line 485, in ConvertMessage\r\n    self._ConvertFieldValuePair(value, message)\r\n  File \"mypath/venv/lib/python3.8/site-packages/google/protobuf/json_format.py\", line 597, in _ConvertFieldValuePair\r\n    raise ParseError('Failed to parse {0} field: {1}.'.format(name, e))\r\ngoogle.protobuf.json_format.ParseError: Failed to parse items field: Message type \"google.cloud.compute.v1.Zone\" has no field named \"supportsPzs\".\r\n Available Fields(except extensions): ['availableCpuPlatforms', 'creationTimestamp', 'deprecated', 'description', 'id', 'kind', 'name', 'region', 'selfLink', 'status'].\r\n```\r\n\r\n#### Quick fix (maybe temporary)\r\n\r\nChanging `google/cloud/compute_v1/services/zones/transports/rest.py`, line 203 from\r\n```python\r\n        return compute.ZoneList.from_json(response.content)\r\n```\r\nto\r\n```python\r\n        return compute.ZoneList.from_json(response.content, ignore_unknown_fields=True)\r\n```\r\n\r\n","author":{"url":"https://github.com/alcidesmig","@type":"Person","name":"alcidesmig"},"datePublished":"2021-02-24T14:52:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/24/python-compute/issues/24"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:238f9229-b7e0-e172-8f97-abf21caa194e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8B84:126D75:B6507D:10B138B:6A4E23D5
html-safe-nonce46110bb02edf64909c05eeffdf99b0358249c3c4d3045a4466bcf5746409748f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qjg0OjEyNkQ3NTpCNjUwN0Q6MTBCMTM4Qjo2QTRFMjNENSIsInZpc2l0b3JfaWQiOiI4NDYzODA4MjU3NzUxNjU1MzgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace0ad9f29bf87f42a8a11d0135ec0687fbe37e111c371d37bbb89b7658ed23991
hovercard-subject-tagissue:815551960
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-compute/24/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f7197ebb5e986411bde5753b0c2efe2e64b07d530ec5d2ecee073be517324de4/googleapis/python-compute/issues/24
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f7197ebb5e986411bde5753b0c2efe2e64b07d530ec5d2ecee073be517324de4/googleapis/python-compute/issues/24
og:image:altEnvironment details OS type and version: Python version: Python 3.8.7 pip version: 21.0.1 google-cloud-compute version: 0.2.0 Steps to reproduce Call list in zones client Code example from google.c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealcidesmig
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
go-importgithub.com/googleapis/python-compute git https://github.com/googleapis/python-compute.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id328021905
octolytics-dimension-repository_nwogoogleapis/python-compute
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id328021905
octolytics-dimension-repository_network_root_nwogoogleapis/python-compute
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5fe497b4815fcce3df76c0e246faa739a82c3124
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-compute/issues/24#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-compute%2Fissues%2F24
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-compute%2Fissues%2F24
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fpython-compute
Reloadhttps://github.com/googleapis/python-compute/issues/24
Reloadhttps://github.com/googleapis/python-compute/issues/24
Reloadhttps://github.com/googleapis/python-compute/issues/24
Please reload this pagehttps://github.com/googleapis/python-compute/issues/24
googleapis https://github.com/googleapis
python-computehttps://github.com/googleapis/python-compute
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fpython-compute
Fork 24 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-compute
Star 38 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-compute
Code https://github.com/googleapis/python-compute
Issues 0 https://github.com/googleapis/python-compute/issues
Pull requests 0 https://github.com/googleapis/python-compute/pulls
Actions https://github.com/googleapis/python-compute/actions
Projects https://github.com/googleapis/python-compute/projects
Security and quality 0 https://github.com/googleapis/python-compute/security
Insights https://github.com/googleapis/python-compute/pulse
Code https://github.com/googleapis/python-compute
Issues https://github.com/googleapis/python-compute/issues
Pull requests https://github.com/googleapis/python-compute/pulls
Actions https://github.com/googleapis/python-compute/actions
Projects https://github.com/googleapis/python-compute/projects
Security and quality https://github.com/googleapis/python-compute/security
Insights https://github.com/googleapis/python-compute/pulse
Error listing zoneshttps://github.com/googleapis/python-compute/issues/24#top
api: computeIssues related to the googleapis/python-compute API.https://github.com/googleapis/python-compute/issues?q=state%3Aopen%20label%3A%22api%3A%20compute%22
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/python-compute/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-compute/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/alcidesmig
alcidesmighttps://github.com/alcidesmig
on Feb 24, 2021https://github.com/googleapis/python-compute/issues/24#issue-815551960
api: computeIssues related to the googleapis/python-compute API.https://github.com/googleapis/python-compute/issues?q=state%3Aopen%20label%3A%22api%3A%20compute%22
priority: p2Moderately-important priority. Fix may not be included in next release.https://github.com/googleapis/python-compute/issues?q=state%3Aopen%20label%3A%22priority%3A%20p2%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-compute/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.