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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d5b27cec-8297-8f92-59a6-0046f494f8a2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ED5C:9A204:1C8C098:24BA2CA:69749B2B |
| html-safe-nonce | ad93a4fc83ce967d0d2d56ef6124d8a888277bece261ce8a3aed8d49c50fef6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDVDOjlBMjA0OjFDOEMwOTg6MjRCQTJDQTo2OTc0OUIyQiIsInZpc2l0b3JfaWQiOiI3MDc2OTMxMTU3MTQzODg2NjM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9560199adc7844b90a818b7f05eddac96f7a8c85754ccb0633ed0ab7d49c4e62 |
| hovercard-subject-tag | pull_request:2695361889 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/files |
| 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-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| 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