Title: Codecov crashes on Semaphore build due to missing env var SEMAPHORE_BUILD_NUMBER · Issue #219 · codecov/codecov-python · GitHub
Open Graph Title: Codecov crashes on Semaphore build due to missing env var SEMAPHORE_BUILD_NUMBER · Issue #219 · codecov/codecov-python
X Title: Codecov crashes on Semaphore build due to missing env var SEMAPHORE_BUILD_NUMBER · Issue #219 · codecov/codecov-python
Description: Running pip install codecov codecov on Semaphore CI fails with the following error: Traceback (most recent call last): -- | File "/home/semaphore/.pyenv/3.7/bin/codecov", line 8, in
Open Graph Description: Running pip install codecov codecov on Semaphore CI fails with the following error: Traceback (most recent call last): -- | File "/home/semaphore/.pyenv/3.7/bin/codecov", line 8, in
X Description: Running pip install codecov codecov on Semaphore CI fails with the following error: Traceback (most recent call last): -- | File "/home/semaphore/.pyenv/3.7/bin/codecov", line 8, in <m...
Opengraph URL: https://github.com/codecov/codecov-python/issues/219
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Codecov crashes on Semaphore build due to missing env var SEMAPHORE_BUILD_NUMBER","articleBody":"Running\r\n\r\n```\r\npip install codecov\r\ncodecov\r\n```\r\n\r\non Semaphore CI fails with the following error:\r\n```\r\n\r\nTraceback (most recent call last):\r\n--\r\n | File \"/home/semaphore/.pyenv/3.7/bin/codecov\", line 8, in \u003cmodule\u003e\r\n | sys.exit(main())\r\n | File \"/home/semaphore/.pyenv/3.7/lib/python3.7/site-packages/codecov/__init__.py\", line 365, in main\r\n | build=os.getenv('SEMAPHORE_BUILD_NUMBER') + '.' + os.getenv('SEMAPHORE_CURRENT_THREAD'),\r\n | TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'\r\n | exit code: 1 duration: 0s\r\n\r\n```\r\n\r\nThis is to be expected as `SEMAPHORE_BUILD_NUMBER` is not listed in the [docs](https://docs.semaphoreci.com/article/12-environment-variables). This seems to be a difference between Semaphore 2.0 and Semaphore, where this env var is [available](https://semaphoreci.com/docs/available-environment-variables.html).\r\n\r\nIs there support for Semaphore 2.0?","author":{"url":"https://github.com/Helveg","@type":"Person","name":"Helveg"},"datePublished":"2019-11-14T15:31:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/219/codecov-python/issues/219"}
| 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:3bbb8773-f615-c592-d16e-bde6d3f6c347 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B438:7CA5C:6E877B:97DDEF:6A4C910C |
| html-safe-nonce | e14872ded8911538fe5fa3e88b7a65023edf7721b3d808d5b247ef6b71464359 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDM4OjdDQTVDOjZFODc3Qjo5N0RERUY6NkE0QzkxMEMiLCJ2aXNpdG9yX2lkIjoiMTEzMzA5NTMwMTY5Njc1MzkzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c4a5819a0420283d1e29b62c1570e2dc91f3b3915a87633ed1e0004bb9db1ef2 |
| hovercard-subject-tag | issue:522933837 |
| 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/codecov/codecov-python/219/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ba5ebff18072a42a8e368f917bd0c497bcf23e9e25f1a7841130ed9405a99bdc/codecov/codecov-python/issues/219 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ba5ebff18072a42a8e368f917bd0c497bcf23e9e25f1a7841130ed9405a99bdc/codecov/codecov-python/issues/219 |
| og:image:alt | Running pip install codecov codecov on Semaphore CI fails with the following error: Traceback (most recent call last): -- | File "/home/semaphore/.pyenv/3.7/bin/codecov", line 8, in |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Helveg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/codecov/codecov-python git https://github.com/codecov/codecov-python.git |
| octolytics-dimension-user_id | 8226205 |
| octolytics-dimension-user_login | codecov |
| octolytics-dimension-repository_id | 22685735 |
| octolytics-dimension-repository_nwo | codecov/codecov-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22685735 |
| octolytics-dimension-repository_network_root_nwo | codecov/codecov-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 | 7a2dede45637df6b92ddcfe2a557e67d4b5854ae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width