Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • heptapod heptapod
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 163
    • Issues 163
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

  • heptapod
  • heptapodheptapod
  • Issues
  • #140

Closed
Open
Created Dec 04, 2019 by Arthur Lutz@arthur.lutzDeveloper

LookupError: Can't find public descendants of 'xx' in topic 'topic1'

hg push -r topic1

gets a ```502``

No log in sentry, on server side :

[2019-12-04 13:53:38 +0000] [5019] [ERROR] Error handling request /logilab/poc-webapp.hg/?cmd=unbundle
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/sync.py", line 135, in handle
    self.handle_request(listener, req, client, addr)
  File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/sync.py", line 181, in handle_request
    for item in respiter:
  File "/opt/gitlab/embedded/service/py-heptapod/heptapod/wsgi.py", line 120, in run_wsgi
    for r in self._runwsgi(req, res):
  File "/usr/local/lib/python2.7/dist-packages/mercurial/hgweb/hgweb_mod.py", line 326, in run_wsgi
    for r in self._runwsgi(req, res, repo):
  File "/usr/local/lib/python2.7/dist-packages/mercurial/hgweb/hgweb_mod.py", line 353, in _runwsgi
    rctx, req, res, self.check_perm
  File "/usr/local/lib/python2.7/dist-packages/mercurial/wireprotoserver.py", line 233, in handlewsgirequest
    _callhttp(repo, req, res, proto, cmd)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/wireprotoserver.py", line 469, in _callhttp
    rsp = wireprotov1server.dispatch(repo, proto, cmd)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/wireprotov1server.py", line 82, in dispatch
    return func(repo, proto, *args)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/wireprotov1server.py", line 664, in unbundle
    repo, gen, their_heads, b'serve', proto.client()
  File "/usr/local/lib/python2.7/dist-packages/mercurial/exchange.py", line 2782, in unbundle
    lockandtr[2].close()
  File "/usr/local/lib/python2.7/dist-packages/mercurial/transaction.py", line 46, in _active
    return func(self, *args, **kwds)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/transaction.py", line 500, in close
    self._validator(self)  # will raise exception if needed
  File "/usr/local/lib/python2.7/dist-packages/hgext3rd/topic/discovery.py", line 185, in validator
    return oldvalidator(tr)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/localrepo.py", line 2124, in validate
    b'pretxnclose', throw=True, **pycompat.strkwargs(tr.hookargs)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/localrepo.py", line 1669, in hook
    return hook.hook(self.ui, self, name, throw, **args)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/hook.py", line 254, in hook
    res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/hook.py", line 307, in runhooks
    ui, repo, htype, hname, hookfn, args, throw
  File "/usr/local/lib/python2.7/dist-packages/mercurial/hook.py", line 114, in pythonhook
    r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
  File "/opt/gitlab/embedded/service/hg-git/heptapod_hooks/git_sync.py", line 36, in mirror
    push(ui, repo, dest=dest, force=True)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1843, in check
    return func(*args, **kwargs)
  File "/opt/gitlab/embedded/service/hg-git/hggit/__init__.py", line 395, in pushwrap
    return orig(ui, repo, dest, **opts)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1843, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1843, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hgext3rd/topic/__init__.py", line 1217, in pushoutgoingwrap
    return orig(ui, repo, *args, **opts)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1843, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1843, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/hgext3rd/topic/flow.py", line 85, in wrappush
    return orig(repo, remote, *args, **newargs)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/util.py", line 1843, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/mercurial/commands.py", line 5656, in push
    opargs=opargs,
  File "/usr/local/lib/python2.7/dist-packages/hgext3rd/evolve/__init__.py", line 788, in push
    return orig(repo, *args, **opts)
  File "/opt/gitlab/embedded/service/hg-git/hggit/util.py", line 60, in inner
    return f(*args, **kwargs)
  File "/opt/gitlab/embedded/service/hg-git/hggit/__init__.py", line 413, in exchangepush
    except_topics='excepttopics' in pushvars,
  File "/opt/gitlab/embedded/service/hg-git/hggit/git_handler.py", line 439, in push
    remote=remote, **opts)
  File "/opt/gitlab/embedded/service/hg-git/hggit/git_handler.py", line 1392, in get_changed_refs
    self.topics_update_changed_refs(unfi, refs, new_refs, prune=prune)
  File "/opt/gitlab/embedded/service/hg-git/hggit/git_handler.py", line 1581, in topics_update_changed_refs
    newctx = self.latest_topic_descendant(topic, newctx)
  File "/opt/gitlab/embedded/service/hg-git/hggit/git_handler.py", line 1419, in latest_topic_descendant
    ctx.hex(), topic))
LookupError: Can't find public descendants of 'xx' in topic 'topic1 '
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking