Title: alueError: Bucket names must start and end with a number or letter. · Issue #22 · ProjectOpenSea/metadata-api-python · GitHub
Open Graph Title: alueError: Bucket names must start and end with a number or letter. · Issue #22 · ProjectOpenSea/metadata-api-python
X Title: alueError: Bucket names must start and end with a number or letter. · Issue #22 · ProjectOpenSea/metadata-api-python
Description: Hello, can you help me to fix this problem? `python3 app.py Serving Flask app 'app' (lazy loading) Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server inst...
Open Graph Description: Hello, can you help me to fix this problem? `python3 app.py Serving Flask app 'app' (lazy loading) Environment: production WARNING: This is a development server. Do not use it in a production deplo...
X Description: Hello, can you help me to fix this problem? `python3 app.py Serving Flask app 'app' (lazy loading) Environment: production WARNING: This is a development server. Do not use it in a producti...
Opengraph URL: https://github.com/ProjectOpenSea/metadata-api-python/issues/22
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"alueError: Bucket names must start and end with a number or letter.","articleBody":"Hello, \r\n\r\ncan you help me to fix this problem?\r\n`python3 app.py\r\n * Serving Flask app 'app' (lazy loading)\r\n * Environment: production\r\n WARNING: This is a development server. Do not use it in a production deployment.\r\n Use a production WSGI server instead.\r\n * Debug mode: on\r\n * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)\r\n * Restarting with stat\r\n * Debugger is active!\r\n * Debugger PIN: 106-248-837\r\n127.0.0.1 - - [08/Sep/2021 22:27:29] \"GET / HTTP/1.1\" 404 -\r\n127.0.0.1 - - [08/Sep/2021 22:27:33] \"GET / HTTP/1.1\" 404 -\r\n127.0.0.1 - - [08/Sep/2021 22:27:35] \"GET / HTTP/1.1\" 404 -\r\n127.0.0.1 - - [08/Sep/2021 22:27:35] \"GET /api/creature/2 HTTP/1.1\" 500 -\r\nTraceback (most recent call last):\r\n File \"/Users/Kehrenkamp/Library/Python/3.8/lib/python/site-packages/flask/app.py\", line 2088, in __call__\r\n return self.wsgi_app(environ, start_response)\r\n File \"/Users/Kehrenkamp/Library/Python/3.8/lib/python/site-packages/flask/app.py\", line 2073, in wsgi_app\r\n response = self.handle_exception(e)\r\n File \"/Users/Kehrenkamp/Library/Python/3.8/lib/python/site-packages/flask/app.py\", line 2070, in wsgi_app\r\n response = self.full_dispatch_request()\r\n File \"/Users/Kehrenkamp/Library/Python/3.8/lib/python/site-packages/flask/app.py\", line 1515, in full_dispatch_request\r\n rv = self.handle_user_exception(e)\r\n File \"/Users/Kehrenkamp/Library/Python/3.8/lib/python/site-packages/flask/app.py\", line 1513, in full_dispatch_request\r\n rv = self.dispatch_request()\r\n File \"/Users/Kehrenkamp/Library/Python/3.8/lib/python/site-packages/flask/app.py\", line 1499, in dispatch_request\r\n return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)\r\n File \"/Users/Kehrenkamp/Desktop/metadata-api-python-master/app.py\", line 45, in creature\r\n image_url = _compose_image(['images/bases/base-%s.png' % base,\r\n File \"/Users/Kehrenkamp/Desktop/metadata-api-python-master/app.py\", line 145, in _compose_image\r\n blob = _get_bucket().blob(f\"{path}/{token_id}.png\")\r\n File \"/Users/Kehrenkamp/Desktop/metadata-api-python-master/app.py\", line 155, in _get_bucket\r\n return client.get_bucket(GOOGLE_STORAGE_BUCKET)\r\n File \"/Users/Kehrenkamp/Library/Python/3.8/lib/python/site-packages/google/cloud/storage/client.py\", line 762, in get_bucket\r\n bucket = self._bucket_arg_to_bucket(bucket_or_name)\r\n File \"/Users/Kehrenkamp/Library/Python/3.8/lib/python/site-packages/google/cloud/storage/client.py\", line 241, in _bucket_arg_to_bucket\r\n bucket = Bucket(self, name=bucket_or_name)\r\n File \"/Users/Kehrenkamp/Library/Python/3.8/lib/python/site-packages/google/cloud/storage/bucket.py\", line 611, in __init__\r\n name = _validate_name(name)\r\n File \"/Users/Kehrenkamp/Library/Python/3.8/lib/python/site-packages/google/cloud/storage/_helpers.py\", line 81, in _validate_name\r\n raise ValueError(\"Bucket names must start and end with a number or letter.\")\r\nValueError: Bucket names must start and end with a number or letter.`","author":{"url":"https://github.com/Kehrenkamp","@type":"Person","name":"Kehrenkamp"},"datePublished":"2021-09-08T20:29:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/22/metadata-api-python/issues/22"}
| 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:7996e85d-157a-2fe1-7d45-ca8d9d4b9a81 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 960E:17620D:132C850:18DEF43:69907923 |
| html-safe-nonce | dc99ea8a45fe8e959df0d3cedbb22df6906979dcbc4c665da70415e755485783 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjBFOjE3NjIwRDoxMzJDODUwOjE4REVGNDM6Njk5MDc5MjMiLCJ2aXNpdG9yX2lkIjoiNjAyOTAxMDgyMjU1ODE1Mjk5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ca219b7d36fbc6dd071e4ef18b375600a9d55e8b0c5193e34713dc518793d0ca |
| hovercard-subject-tag | issue:991504152 |
| 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/ProjectOpenSea/metadata-api-python/22/issue_layout |
| twitter:image | https://opengraph.githubassets.com/86c0c77843bb2731a48b280202328103f1a8455e26560846d91b457305dc48e6/ProjectOpenSea/metadata-api-python/issues/22 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/86c0c77843bb2731a48b280202328103f1a8455e26560846d91b457305dc48e6/ProjectOpenSea/metadata-api-python/issues/22 |
| og:image:alt | Hello, can you help me to fix this problem? `python3 app.py Serving Flask app 'app' (lazy loading) Environment: production WARNING: This is a development server. Do not use it in a production deplo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Kehrenkamp |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/ProjectOpenSea/metadata-api-python git https://github.com/ProjectOpenSea/metadata-api-python.git |
| octolytics-dimension-user_id | 34966464 |
| octolytics-dimension-user_login | ProjectOpenSea |
| octolytics-dimension-repository_id | 176013217 |
| octolytics-dimension-repository_nwo | ProjectOpenSea/metadata-api-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 176013217 |
| octolytics-dimension-repository_network_root_nwo | ProjectOpenSea/metadata-api-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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width