Title: Exception: OverflowError: string longer than 2147483647 bytes · Issue #646 · python-gitlab/python-gitlab · GitHub
Open Graph Title: Exception: OverflowError: string longer than 2147483647 bytes · Issue #646 · python-gitlab/python-gitlab
X Title: Exception: OverflowError: string longer than 2147483647 bytes · Issue #646 · python-gitlab/python-gitlab
Description: Hi, i tried to import a large repository (export from a different gitlab instance) which is 2,8GB in size (large LFS objects in there) importing fails: i_gl.projects.import_project( open( export_file, 'rb' ), e_project.name, namespace = ...
Open Graph Description: Hi, i tried to import a large repository (export from a different gitlab instance) which is 2,8GB in size (large LFS objects in there) importing fails: i_gl.projects.import_project( open( export_fi...
X Description: Hi, i tried to import a large repository (export from a different gitlab instance) which is 2,8GB in size (large LFS objects in there) importing fails: i_gl.projects.import_project( open( export_fi...
Opengraph URL: https://github.com/python-gitlab/python-gitlab/issues/646
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Exception: OverflowError: string longer than 2147483647 bytes","articleBody":"Hi,\r\n\r\ni tried to import a large repository (export from a different gitlab instance) which is 2,8GB in size (large LFS objects in there)\r\n\r\nimporting fails:\r\n\r\n```\r\n i_gl.projects.import_project( open( export_file, 'rb' ), e_project.name, namespace = e_project.namespace[ 'full_path' ], overwrite = True )\r\n File \"/usr/local/lib/python2.7/dist-packages/gitlab/v4/objects.py\", line 3698, in import_project\r\n files=files, **kwargs)\r\n File \"/usr/local/lib/python2.7/dist-packages/gitlab/__init__.py\", line 600, in http_post\r\n post_data=post_data, files=files, **kwargs)\r\n File \"/usr/local/lib/python2.7/dist-packages/gitlab/__init__.py\", line 481, in http_request\r\n result = self.session.send(prepped, timeout=timeout, **settings)\r\n File \"/usr/lib/python2.7/dist-packages/requests/sessions.py\", line 596, in send\r\n r = adapter.send(request, **kwargs)\r\n File \"/usr/lib/python2.7/dist-packages/requests/adapters.py\", line 423, in send\r\n timeout=timeout\r\n File \"/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py\", line 595, in urlopen\r\n chunked=chunked)\r\n File \"/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py\", line 363, in _make_request\r\n conn.request(method, url, **httplib_request_kw)\r\n File \"/usr/lib/python2.7/httplib.py\", line 1039, in request\r\n self._send_request(method, url, body, headers)\r\n File \"/usr/lib/python2.7/httplib.py\", line 1073, in _send_request\r\n self.endheaders(body)\r\n File \"/usr/lib/python2.7/httplib.py\", line 1035, in endheaders\r\n self._send_output(message_body)\r\n File \"/usr/lib/python2.7/httplib.py\", line 879, in _send_output\r\n self.send(msg)\r\n File \"/usr/lib/python2.7/httplib.py\", line 855, in send\r\n self.sock.sendall(data)\r\n File \"/usr/lib/python2.7/ssl.py\", line 701, in sendall\r\n v = self.send(data[count:])\r\n File \"/usr/lib/python2.7/ssl.py\", line 667, in send\r\n v = self._sslobj.write(data)\r\nOverflowError: string longer than 2147483647 bytes\r\n```\r\n\r\nany idea how to solve that?","author":{"url":"https://github.com/Flow86","@type":"Person","name":"Flow86"},"datePublished":"2018-11-27T11:34:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/646/python-gitlab/issues/646"}
| 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:573c5240-b7d9-e76f-3c35-265cc1d4a730 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 966A:9E3ED:F7E627:14802D1:69741151 |
| html-safe-nonce | b01a6aa190ecd4cbc4df03016e0cbf15f2bc683e210013c8170733aad2a42602 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjZBOjlFM0VEOkY3RTYyNzoxNDgwMkQxOjY5NzQxMTUxIiwidmlzaXRvcl9pZCI6IjkxODE1ODA2OTI1NzM5MTc1MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 45988ddd02e346c65958b645794409429080c855fa02510effaa97aa33f95f20 |
| hovercard-subject-tag | issue:384752272 |
| 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/646/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8c91ef6b08297487d0539b84aca4a79c3e422b3ebd5a6677b66c4c2aebe95b33/python-gitlab/python-gitlab/issues/646 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8c91ef6b08297487d0539b84aca4a79c3e422b3ebd5a6677b66c4c2aebe95b33/python-gitlab/python-gitlab/issues/646 |
| og:image:alt | Hi, i tried to import a large repository (export from a different gitlab instance) which is 2,8GB in size (large LFS objects in there) importing fails: i_gl.projects.import_project( open( export_fi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Flow86 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59b702da6e0daafaa39128183fb631c1ac58292fa7c764b7482070a04fb5b4a1 |
| 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 | 3cb518f5e73629eee4767718742673274eb03bd7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width