Title: Hypothesis: builtins.UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte · Issue #153 · python-hyper/hyperlink · GitHub
Open Graph Title: Hypothesis: builtins.UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte · Issue #153 · python-hyper/hyperlink
X Title: Hypothesis: builtins.UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte · Issue #153 · python-hyper/hyperlink
Description: The Hypothesis strategies now shipping with Hyperlink are producing this error occasionally in Klein: Traceback (most recent call last): 324 File "/home/runner/work/klein/klein/.tox/coverage-py37-tw192/lib/python3.7/site-packages/klein/t...
Open Graph Description: The Hypothesis strategies now shipping with Hyperlink are producing this error occasionally in Klein: Traceback (most recent call last): 324 File "/home/runner/work/klein/klein/.tox/coverage-py37-t...
X Description: The Hypothesis strategies now shipping with Hyperlink are producing this error occasionally in Klein: Traceback (most recent call last): 324 File "/home/runner/work/klein/klein/.tox/coverage-p...
Opengraph URL: https://github.com/python-hyper/hyperlink/issues/153
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Hypothesis: builtins.UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte","articleBody":"The Hypothesis strategies now shipping with Hyperlink are producing this error occasionally in Klein:\r\n\r\n```console\r\nTraceback (most recent call last):\r\n324\r\n File \"/home/runner/work/klein/klein/.tox/coverage-py37-tw192/lib/python3.7/site-packages/klein/test/test_request_compat.py\", line 74, in test_uri\r\n325\r\n def test_uri(self, url: DecodedURL) -> None:\r\n326\r\n File \"/home/runner/work/klein/klein/.tox/coverage-py37-tw192/lib/python3.7/site-packages/hypothesis/core.py\", line 1163, in wrapped_test\r\n327\r\n raise the_error_hypothesis_found\r\n328\r\n File \"/home/runner/work/klein/klein/.tox/coverage-py37-tw192/lib/python3.7/site-packages/hyperlink/hypothesis.py\", line 321, in decoded_urls\r\n329\r\n return DecodedURL(draw(encoded_urls()))\r\n330\r\n File \"/home/runner/work/klein/klein/.tox/coverage-py37-tw192/lib/python3.7/site-packages/hyperlink/_url.py\", line 2046, in __init__\r\n331\r\n self.host, self.userinfo, self.path, self.query, self.fragment\r\n332\r\n File \"/home/runner/work/klein/klein/.tox/coverage-py37-tw192/lib/python3.7/site-packages/hyperlink/_url.py\", line 2179, in path\r\n333\r\n for p in self._url.path\r\n334\r\n File \"/home/runner/work/klein/klein/.tox/coverage-py37-tw192/lib/python3.7/site-packages/hyperlink/_url.py\", line 2179, in \u003clistcomp>\r\n335\r\n for p in self._url.path\r\n336\r\n File \"/home/runner/work/klein/klein/.tox/coverage-py37-tw192/lib/python3.7/site-packages/hyperlink/_url.py\", line 766, in _percent_decode\r\n337\r\n return unquoted_bytes.decode(subencoding)\r\n338\r\nbuiltins.UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte\r\n339\r\n\r\n340\r\nklein.test.test_request_compat.HTTPRequestWrappingIRequestTests.test_uri\r\n341\r\n```\r\n","author":{"url":"https://github.com/wsanchez","@type":"Person","name":"wsanchez"},"datePublished":"2021-01-25T12:19:55Z","url":"https://github.com/python-hyper/hyperlink/issues/153"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:9e4e72dd-4062-2430-e391-7591b35cfe06 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA5C:17C530:357DF1E:4775C73:6B06E7A1 |
| html-safe-nonce | 9ecd78a0b1184d85921f6b9e79ecab49a2a508e4d08d06569872fcc8850f08f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTVDOjE3QzUzMDozNTdERjFFOjQ3NzVDNzM6NkIwNkU3QTEiLCJ2aXNpdG9yX2lkIjoiNzI5NDIxMzMxNjQ1MTY5MDQwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0c2d2f212d6553d13176e93b5ebe8e3d387e8e797218576eb2b7079191827e6f |
| hovercard-subject-tag | issue:793334959 |
| 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/python-hyper/hyperlink/153/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cb55c4e49881f9c387d85dc23529098623df83c185b8f1fce96c98f2d2ec6cc4/python-hyper/hyperlink/issues/153 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cb55c4e49881f9c387d85dc23529098623df83c185b8f1fce96c98f2d2ec6cc4/python-hyper/hyperlink/issues/153 |
| og:image:alt | The Hypothesis strategies now shipping with Hyperlink are producing this error occasionally in Klein: Traceback (most recent call last): 324 File "/home/runner/work/klein/klein/.tox/coverage-py37-t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wsanchez |
| hostname | github.com |
| expected-hostname | github.com |
| None | 351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-hyper/hyperlink git https://github.com/python-hyper/hyperlink.git |
| octolytics-dimension-user_id | 13035907 |
| octolytics-dimension-user_login | python-hyper |
| octolytics-dimension-repository_id | 82321340 |
| octolytics-dimension-repository_nwo | python-hyper/hyperlink |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 82321340 |
| octolytics-dimension-repository_network_root_nwo | python-hyper/hyperlink |
| 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 | af8913cd0f2f77c41796be449ac66a9108825abc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width