{"action":"opened","issue":{"url":"https://api.github.com/repos/glandium/git-cinnabar/issues/78","repository_url":"https://api.github.com/repos/glandium/git-cinnabar","labels_url":"https://api.github.com/repos/glandium/git-cinnabar/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/glandium/git-cinnabar/issues/78/comments","events_url":"https://api.github.com/repos/glandium/git-cinnabar/issues/78/events","html_url":"https://github.com/glandium/git-cinnabar/issues/78","id":167619293,"number":78,"title":"error cloning a repository derived from mozilla-esr17","user":{"login":"db48x","id":228849,"avatar_url":"https://avatars.githubusercontent.com/u/228849?v=3","gravatar_id":"","url":"https://api.github.com/users/db48x","html_url":"https://github.com/db48x","followers_url":"https://api.github.com/users/db48x/followers","following_url":"https://api.github.com/users/db48x/following{/other_user}","gists_url":"https://api.github.com/users/db48x/gists{/gist_id}","starred_url":"https://api.github.com/users/db48x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/db48x/subscriptions","organizations_url":"https://api.github.com/users/db48x/orgs","repos_url":"https://api.github.com/users/db48x/repos","events_url":"https://api.github.com/users/db48x/events{/privacy}","received_events_url":"https://api.github.com/users/db48x/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-26T14:20:12Z","updated_at":"2016-07-26T14:20:12Z","closed_at":null,"body":"I tried cloning a mercurical repository I'm working on which was created from hg.mozilla.org/releases/mozilla-esr17 (long story). It seemed to be going ok for a while, then did this:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/db48x/git-cinnabar/git-remote-hg\", line 48, in <module>\r\n    sys.exit(main(sys.argv[1:]))\r\n  File \"/home/db48x/git-cinnabar/git-remote-hg\", line 42, in main\r\n    helper.run()\r\n  File \"/home/db48x/git-cinnabar/cinnabar/remote_helper.py\", line 110, in run\r\n    func(*args)\r\n  File \"/home/db48x/git-cinnabar/cinnabar/remote_helper.py\", line 330, in import_\r\n    self._branchmap.names())\r\n  File \"/home/db48x/git-cinnabar/cinnabar/hg/__init__.py\", line 587, in getbundle\r\n    store.file, next(bundle))):\r\n  File \"/home/db48x/git-cinnabar/cinnabar/util.py\", line 114, in progress_iter\r\n    for item in iter:\r\n  File \"/home/db48x/git-cinnabar/cinnabar/hg/__init__.py\", line 184, in iter_initialized\r\n    for instance in iterable:\r\n  File \"/home/db48x/git-cinnabar/cinnabar/hg/__init__.py\", line 177, in iterate_files\r\n    for instance in iter_chunks(chunks_in_changegroup(bundle), RevChunk):\r\n  File \"/home/db48x/git-cinnabar/cinnabar/hg/__init__.py\", line 168, in iter_chunks\r\n    for chunk in chunks:\r\n  File \"/home/db48x/git-cinnabar/cinnabar/hg/__init__.py\", line 157, in chunks_in_changegroup\r\n    chunk = getchunk(bundle)\r\n  File \"/home/db48x/git-cinnabar/cinnabar/hg/__init__.py\", line 142, in getchunk\r\n    return readexactly(stream, l - 4)\r\n  File \"/home/db48x/git-cinnabar/cinnabar/hg/__init__.py\", line 130, in readexactly\r\n    % (len(s), n))\r\nException: stream ended unexpectedly (got 342461 bytes, expected 342922)\r\n\r\nDoes this mean that the mercurial repository is corrupt? Hg doesn't seem to think so, but perhaps I've not examined the right file on the right revision.\r\n\r\nIt continued with the following errors (perhaps it needs better error handling; these errors all seem like they were caused by the first, or by each other):\r\n\r\nError in atexit._run_exitfuncs:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/atexit.py\", line 24, in _run_exitfuncs\r\n    func(*targs, **kargs)\r\n  File \"/home/db48x/git-cinnabar/cinnabar/git.py\", line 269, in close\r\n    self._fast_import.close(rollback)\r\n  File \"/home/db48x/git-cinnabar/cinnabar/git.py\", line 644, in close\r\n    self.flush()\r\n  File \"/home/db48x/git-cinnabar/cinnabar/git.py\", line 636, in flush\r\n    self._proc.stdin.flush()\r\nValueError: I/O operation on closed file\r\nError in sys.exitfunc:\r\nremote: abort: empty or missing revlog for tools/profiler/libunwind/src/autom4te.cache/output.0\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/atexit.py\", line 24, in _run_exitfuncs\r\n    func(*targs, **kargs)\r\n  File \"/home/db48x/git-cinnabar/cinnabar/git.py\", line 269, in close\r\n    self._fast_import.close(rollback)\r\n  File \"/home/db48x/git-cinnabar/cinnabar/git.py\", line 644, in close\r\n    self.flush()\r\n  File \"/home/db48x/git-cinnabar/cinnabar/git.py\", line 636, in flush\r\n    self._proc.stdin.flush()\r\nValueError: I/O operation on closed file\r\nChecking connectivity... fatal: bad object 0000000000000000000000000000000000000000\r\nfatal: remote did not send all necessary objects\r\n"}}
{"actor":{"display_login":"db48x"}}