[issue1372] hg push throws unknown exception "database is locked"

Mats Palmgren mercurial-bugs at selenic.com
Sat Nov 1 18:34:27 CDT 2008


New submission from Mats Palmgren <mats.palmgren at bredband.net>:

pushing to ssh://hg.mozilla.org/mozilla-central
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 1 changes to 1 files
remote: error: pretxnchangegroup.z_linearhistory hook raised an exception:
database is locked
remote: transaction abort!
remote: rollback completed
remote: ** unknown exception encountered, details follow
remote: ** report bug details to http://www.selenic.com/mercurial/bts
remote: ** or mercurial at selenic.com
remote: ** Mercurial Distributed SCM (version 1.0.2)
remote: Traceback (most recent call last):
remote:   File "/usr/bin/hg", line 20, in ?
remote:     mercurial.dispatch.run()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line
20, in run
remote:     sys.exit(dispatch(sys.argv[1:]))
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line
29, in dispatch
remote:     return _runcatch(u, args)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line
45, in _runcatch
remote:     return _dispatch(ui, args)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line
364, in _dispatch
remote:     ret = _runcommand(ui, options, cmd, d)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line
417, in _runcommand
remote:     return checkargs()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line
373, in checkargs
remote:     return cmdfunc()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line
356, in <lambda>
remote:     d = lambda: func(ui, repo, *args, **cmdoptions)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line
2514, in serve
remote:     s.serve_forever()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/sshserver.py", line
40, in serve_forever
remote:     while self.serve_one(): pass
remote:   File "/usr/lib/python2.4/site-packages/mercurial/sshserver.py", line
47, in serve_one
remote:     if impl: impl()
remote:   File "/usr/lib/python2.4/site-packages/mercurial/sshserver.py", line
194, in do_unbundle
remote:     r = self.repo.addchangegroup(fp, 'serve', self.client_url())
remote:   File "/usr/lib/python2.4/site-packages/mercurial/localrepo.py", line
2056, in addchangegroup
remote:     url=url)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/localrepo.py", line
123, in hook
remote:     return hook.hook(self.ui, self, name, throw, **args)
remote:   File "/usr/lib/python2.4/site-packages/mercurial/hook.py", line 107,
in hook
remote:     args, throw) or r
remote:   File "/usr/lib/python2.4/site-packages/mercurial/hook.py", line 51, in
_pythonhook
remote:     r = obj(ui=ui, repo=repo, hooktype=name, **args)
remote:   File "/usr/lib/python2.4/site-packages/mozhghooks/pushlog.py", line
52, in log
remote:     conn.commit()
remote: pysqlite2.dbapi2.OperationalError: database is locked
abort: unexpected response: empty string

----------
messages: 7739
nosy: Mats Palmgren
priority: bug
status: unread
title: hg push throws unknown exception "database is locked"

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1372>
____________________________________________________



More information about the Mercurial-devel mailing list