UnknownErrorFromSmartServer: Server sent an unexpected error: ('error', 'math range error') during commit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
when committing a change, the following error is produced:
bzr: ERROR: Server sent an unexpected error: ('error', 'math range error')
the server has been updated successfully, however my local repo needs a 'bzr up' to bring it into sync with the server.
server version is 2.3.1, i am waiting on the sysadmin to see if there's anything in the server logs.
$ bzr -Dhpss commit skins/custom/
Committing to: bzr+ssh:
modified skins/custom/
bzr: ERROR: Server sent an unexpected error: ('error', 'math range error')
HPSS calls: 18 (0 vfs) SmartSSHClientM
$ bzr st
modified:
skins/
$ bzr up
All changes applied successfully.
Updated to revision 7580 of branch bzr+ssh:
$ bzr st
$
Wed 2011-03-30 00:25:17 +0800
0.127 bazaar version: 2.3.1
0.128 bzr arguments: [u'-Dhpss', u'commit', u'skins/
0.184 looking for plugins in /home/byron/
0.187 looking for plugins in /usr/lib/
0.212 encoding stdout as sys.stdout encoding 'UTF-8'
0.379 opening working tree '/cygdrive/
0.579 hpss: Built a new medium: SmartSSHClientM
0.581 hpss call: 'BzrDir.open_2.1', 'bmo/4.0/'
0.582 (to bzr+ssh:
0.745 ssh implementation is OpenSSH
5.458 result: ('yes', 'no')
5.459 hpss call: 'BzrDir.
5.460 (to bzr+ssh:
5.739 result: ('branch', 'Bazaar Branch Format 7 (needs bzr 1.6)\n')
5.740 hpss call: 'BzrDir.
5.742 (to bzr+ssh:
6.002 result: ('ok', '', 'yes', 'no', 'yes', 'Bazaar repository format 2a (needs bzr 1.16 or later)\n')
6.007 hpss call: 'Branch.
6.009 (to bzr+ssh:
6.283 result: ('NotStacked',)
6.285 hpss call: 'Branch.
6.286 (to bzr+ssh:
6.548 result: ('ok',)
6.549 38 body bytes read
6.551 hpss call: 'Branch.
6.553 (to bzr+ssh:
6.814 result: ('ok',)
6.815 38 body bytes read
6.816 preparing to commit
6.822 hpss call: 'BzrDir.open_2.1', 'bmo/4.0/'
6.823 (to bzr+ssh:
7.082 result: ('yes', 'no')
7.083 hpss call: 'BzrDir.
7.084 (to bzr+ssh:
7.349 result: ('branch', 'Bazaar Branch Format 7 (needs bzr 1.6)\n')
7.350 hpss call: 'BzrDir.
7.352 (to bzr+ssh:
7.612 result: ('ok', '', 'yes', 'no', 'yes', 'Bazaar repository format 2a (needs bzr 1.16 or later)\n')
7.614 hpss call: 'Branch.
7.615 (to bzr+ssh:
7.884 result: ('NotStacked',)
7.885 hpss call: 'Branch.
7.886 (to bzr+ssh:
8.154 result: ('ok', '7579', '<email address hidden>')
8.157 hpss call: 'Branch.
8.158 (to bzr+ssh:
8.427 result: ('ok', '488pgs2c45fs6u
8.428 hpss call: 'Branch.
8.430 (to bzr+ssh:
8.696 result: ('ok', '7579', '<email address hidden>')
[ 5476] 2011-03-30 00:25:26.684 INFO: Committing to: bzr+ssh:
8.757 Selecting files for commit with filter [u'skins/
[ 5476] 2011-03-30 00:25:26.786 INFO: modified skins/custom/
9.268 Using fetch logic to copy between CHKInventoryRep
9.272 fetch up to rev {<email address hidden>}
9.285 hpss call w/body: 'Repository.
9.307 3 bytes
10.478 result: ('ok',)
11.762 56200 body bytes read
11.796 hpss call w/body stream: ('Repository.
12.063 result: ('ok',)
12.063 hpss call w/body stream: ('Repository.
12.544 result: ('ok',)
12.545 hpss call: 'Branch.
12.549 (to bzr+ssh:
12.949 result: ('error', 'math range error')
12.951 hpss call: 'Branch.unlock', 'bmo/4.0/', '488pgs2c45fs6u
12.952 (to bzr+ssh:
13.222 result: ('ok',)
13.277 Transferred: 72kB (5.8kB/s r:58kB w:14kB)
13.478 Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
exclude=
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
result = WorkingTree3.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
*args, **kwargs)
File "/usr/lib/
possible_
File "/usr/lib/
self.cleanups, self.func, self, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
str(revno), revision_id)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
_translate_
File "/usr/lib/
raise errors.
UnknownErrorFro
13.528 return code 3
[ 5476] 2011-03-30 00:25:31.458 INFO: HPSS calls: 18 (0 vfs) SmartSSHClientM
So it's happening on the call to Branch. set_last_ revision. That operation itself is very simple, but it also triggers pre/post_ change_ branch_ tip hooks on the server. So my suspicion is that there's a plugin installed on the server that uses those hooks, and the error is originating there. Given that branch is actually updated, it's almost certainly something that occurs during the post_change_ branch_ tip hook.
Can you find out which plugins are installed on the server? Although probably there's a traceback in the server's log that will make it clear which one is the culprit.