Title: "OverflowError: string longer than 2147483647 bytes" when upload file > 2GB to generic package · Issue #2002 · python-gitlab/python-gitlab · GitHub
Open Graph Title: "OverflowError: string longer than 2147483647 bytes" when upload file > 2GB to generic package · Issue #2002 · python-gitlab/python-gitlab
X Title: "OverflowError: string longer than 2147483647 bytes" when upload file > 2GB to generic package · Issue #2002 · python-gitlab/python-gitlab
Description: Description of the problem, including code/CLI snippet I used project.generic_packages.upload api and got this issue when upload file > 2GB project = gl.projects.get(1, lazy=True) package = project.generic_packages.upload( package_name="...
Open Graph Description: Description of the problem, including code/CLI snippet I used project.generic_packages.upload api and got this issue when upload file > 2GB project = gl.projects.get(1, lazy=True) package = project...
X Description: Description of the problem, including code/CLI snippet I used project.generic_packages.upload api and got this issue when upload file > 2GB project = gl.projects.get(1, lazy=True) package = proj...
Opengraph URL: https://github.com/python-gitlab/python-gitlab/issues/2002
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"OverflowError: string longer than 2147483647 bytes\" when upload file \u003e 2GB to generic package","articleBody":"## Description of the problem, including code/CLI snippet\r\n\r\nI used project.generic_packages.upload api and got this issue when upload file \u003e 2GB\r\n```\r\nproject = gl.projects.get(1, lazy=True)\r\npackage = project.generic_packages.upload(\r\n package_name=\"hello-world\",\r\n package_version=\"v1.0.0\",\r\n file_name=\"hello.tar.gz\",\r\n path=\"/path/to/local/hello.tar.gz\"\r\n)\r\n```\r\n\r\n## Expected Behavior\r\n\r\n\r\n## Actual Behavior\r\n\r\n\r\n## Specifications\r\n\r\n - python-gitlab version: 2.10.1\r\n - API version you are using (v3/v4): v4\r\n - Gitlab server version (or gitlab.com): gitlab.com\r\n","author":{"url":"https://github.com/thcao-ampere","@type":"Person","name":"thcao-ampere"},"datePublished":"2022-05-02T05:08:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/2002/python-gitlab/issues/2002"}
| 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:14185439-7470-136e-eb03-7ac021338753 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE14:1A86E7:4EECDF3:67CDF98:6974B995 |
| html-safe-nonce | 80ed6619b8dea5705aa60ad80475c2a8177eefec72c829e0ee22d8d65ead521b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTE0OjFBODZFNzo0RUVDREYzOjY3Q0RGOTg6Njk3NEI5OTUiLCJ2aXNpdG9yX2lkIjoiMTk4MTQ2Mjg5MTUzMzIyMDI0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 95129626b8c175b8ce14ce06db15976be4ac413cbd483f136295ca41a583c1af |
| hovercard-subject-tag | issue:1222486785 |
| 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-gitlab/python-gitlab/2002/issue_layout |
| twitter:image | https://opengraph.githubassets.com/34e8a7e8b7c643d24e60b3fa98c14ac843f0bc44475c48a4abe2cacaff662200/python-gitlab/python-gitlab/issues/2002 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/34e8a7e8b7c643d24e60b3fa98c14ac843f0bc44475c48a4abe2cacaff662200/python-gitlab/python-gitlab/issues/2002 |
| og:image:alt | Description of the problem, including code/CLI snippet I used project.generic_packages.upload api and got this issue when upload file > 2GB project = gl.projects.get(1, lazy=True) package = project... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thcao-ampere |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git |
| octolytics-dimension-user_id | 28886265 |
| octolytics-dimension-user_login | python-gitlab |
| octolytics-dimension-repository_id | 8077625 |
| octolytics-dimension-repository_nwo | python-gitlab/python-gitlab |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8077625 |
| octolytics-dimension-repository_network_root_nwo | python-gitlab/python-gitlab |
| 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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width