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: github.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:3165f9d0-46ce-e1df-2083-91802e1f6b8e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E8CA:2EA41:60479FA:7CCAD9A:69764911 |
| html-safe-nonce | 5bf389bbc90d92c496f2d84533dd47257c06724718a3e3c786e3273a367c25c8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOENBOjJFQTQxOjYwNDc5RkE6N0NDQUQ5QTo2OTc2NDkxMSIsInZpc2l0b3JfaWQiOiI3OTczNjEwMTcxMjI3NTg4ODgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d187ede458a4d3e3b7ce5289d52c259aa388e93c15edaaf616d249ac42341af5 |
| 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 | c6814b4cc7afd45cd6e64525d0cff0e76dd802f315a5b0e55a7abda1d1d070d0 |
| 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 | 4ea235bfed58ef16c8a5642b3ac64b74f10c9f52 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width