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: patch-diff.githubusercontent.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:f458c54e-088e-c3bd-60a9-e283eea13a76 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D5CA:1DEE1F:902D2:BC6B9:6973F6B2 |
| html-safe-nonce | 5309bae0eefe62ab3c4ed29ec16630106a26633259a31103ab0607f893c058dd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUNBOjFERUUxRjo5MDJEMjpCQzZCOTo2OTczRjZCMiIsInZpc2l0b3JfaWQiOiIxMTY2MDUyODAxOTQ3ODkxMzc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 712fc83eb769d5aac06b94de26e69c88e76244a51fbf0fbdbea5023f99a50be7 |
| 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 | edd166dbd7a8c69304dd0f786a2ceae171d7a532d7f82516d7b971b6a831123e |
| 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 | 7f2d62d773fd1f2c679e2ea93329a72fda65310a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width