Title: running into weird ord bug in python3.11, lets do simpler 7 char hash by eupharis · Pull Request #79 · polyapi/polyapi-python · GitHub
Open Graph Title: running into weird ord bug in python3.11, lets do simpler 7 char hash by eupharis · Pull Request #79 · polyapi/polyapi-python
X Title: running into weird ord bug in python3.11, lets do simpler 7 char hash by eupharis · Pull Request #79 · polyapi/polyapi-python
Description: switch to a much simpler, "classic" random 7 character hash choice in python
outside of a git repo, python sync throwing this strange bug:
phoenix:~/poly/py-test/dev dev $ python -m polyapi sync
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "/home/daniel/poly/py-test/dev/.venv/lib/python3.11/site-packages/polyapi/deployables.py", line 175, in get_git_revision
return check_output(["git", "rev-parse", "--short", branch_or_tag], text=True).strip()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'rev-parse', '--short', 'HEAD']' returned non-zero exit status 128.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "
Open Graph Description: switch to a much simpler, "classic" random 7 character hash choice in python outside of a git repo, python sync throwing this strange bug: phoenix:~/poly/py-test/dev dev $ python -m polya...
X Description: switch to a much simpler, "classic" random 7 character hash choice in python outside of a git repo, python sync throwing this strange bug: phoenix:~/poly/py-test/dev dev $ python ...
Opengraph URL: https://github.com/polyapi/polyapi-python/pull/79
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:f434201a-6364-ce9a-d173-41faa485df0c |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 97B4:140E58:5065BAC:68241D9:6975188B |
| html-safe-nonce | b3894fd2b332db91d689f83deb37b8d472e0465eb49f7d1b877db2ffe0ce5ef7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0I0OjE0MEU1ODo1MDY1QkFDOjY4MjQxRDk6Njk3NTE4OEIiLCJ2aXNpdG9yX2lkIjoiMTE2OTUyNjk3OTUxODg2MzQ5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 67fdcc40b6fadb91a5c81596bf3594045399993545b244a36654ddf520111b0a |
| hovercard-subject-tag | pull_request:2695361889 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/polyapi/polyapi-python/pull/79/checks |
| twitter:image | https://avatars.githubusercontent.com/u/847862?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/847862?s=400&v=4 |
| og:image:alt | switch to a much simpler, "classic" random 7 character hash choice in python outside of a git repo, python sync throwing this strange bug: phoenix:~/poly/py-test/dev dev $ python -m polya... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-cache |
| go-import | github.com/polyapi/polyapi-python git https://github.com/polyapi/polyapi-python.git |
| octolytics-dimension-user_id | 124421413 |
| octolytics-dimension-user_login | polyapi |
| octolytics-dimension-repository_id | 720191438 |
| octolytics-dimension-repository_nwo | polyapi/polyapi-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 720191438 |
| octolytics-dimension-repository_network_root_nwo | polyapi/polyapi-python |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width