[Buildbot-commits] [Buildbot] #1986: exceptions.TypeError: a float is required

Buildbot nobody at buildbot.net
Wed Jun 15 15:46:07 UTC 2011


#1986: exceptions.TypeError: a float is required
----------------------+------------------------
Reporter:  kb         |       Owner:
    Type:  undecided  |      Status:  new
Priority:  major      |   Milestone:  undecided
 Version:  0.8.4      |  Resolution:
Keywords:             |
----------------------+------------------------
Description changed by dustin:

Old description:

> twisted.log of buildbot main process (on every commit)
>
> 2011-06-15 14:49:07+0300 [Broker,1,127.0.0.1] <bound method
> ChangePerspective.perspective_addChange of
> <buildbot.changes.pb.ChangePerspective instance at 0x22ffcb0>> didn't
> accept (<SKIPPED>... , 'when': None, 'comments': u'sorry, test',
> 'project': '', 'branch': None, 'revlink': '', 'properties': {},
> 'revision':
> u'bf587514505bf9a55017d6e1b465b22e671848a1'},) and {}
>

> 2011-06-15 13:24:41+0300 [Broker,2,127.0.0.1] Unhandled Error
>         Traceback (most recent call last):
>           File "/usr/local/lib/python2.6/dist-
> packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/spread/banana.py",
> line 153, in gotItem
>             self.callExpressionReceived(item)
>           File "/usr/local/lib/python2.6/dist-
> packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/spread/banana.py",
> line 116, in callExpressionReceived
>             self.expressionReceived(obj)
>           File "/usr/local/lib/python2.6/dist-
> packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/spread/pb.py",
> line 515, in expressionReceived
>             method(*sexp[1:])
>           File "/usr/local/lib/python2.6/dist-
> packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/spread/pb.py",
> line 827, in proto_message
>             self._recvMessage(self.localObjectForID, requestID, objectID,
> message, answerRequired, netArgs, netKw)
>         --- <exception caught here> ---
>           File "/usr/local/lib/python2.6/dist-
> packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/spread/pb.py",
> line 841, in _recvMessage
>             netResult = object.remoteMessageReceived(self, message,
> netArgs, netKw)
>           File "/usr/local/lib/python2.6/dist-
> packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/spread/pb.py",
> line 225, in perspectiveMessageReceived
>             state = method(*args, **kw)
>           File "/usr/local/lib/python2.6/dist-
> packages/buildbot-0.8.4-py2.6.egg/buildbot/changes/pb.py", line 59, in
> perspective_addChange
>             changedict['when_timestamp'] =
> epoch2datetime(changedict['when'])
>           File "/usr/local/lib/python2.6/dist-
> packages/buildbot-0.8.4-py2.6.egg/buildbot/util/__init__.py", line 165,
> in epoch2datetime
>             return datetime.datetime.fromtimestamp(epoch, tz=UTC)
>         exceptions.TypeError: a float is required

New description:

 twisted.log of buildbot main process (on every commit)

 {{{
 2011-06-15 14:49:07+0300 [Broker,1,127.0.0.1] <bound method
 ChangePerspective.perspective_addChange of
 <buildbot.changes.pb.ChangePerspective instance at 0x22ffcb0>> didn't
 accept (<SKIPPED>... , 'when': None, 'comments': u'sorry, test',
 'project': '', 'branch': None, 'revlink': '', 'properties': {},
 'revision':
 u'bf587514505bf9a55017d6e1b465b22e671848a1'},) and {}


 2011-06-15 13:24:41+0300 [Broker,2,127.0.0.1] Unhandled Error
         Traceback (most recent call last):
           File "/usr/local/lib/python2.6/dist-
 packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/spread/banana.py",
 line 153, in gotItem
             self.callExpressionReceived(item)
           File "/usr/local/lib/python2.6/dist-
 packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/spread/banana.py",
 line 116, in callExpressionReceived
             self.expressionReceived(obj)
           File "/usr/local/lib/python2.6/dist-
 packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/spread/pb.py", line
 515, in expressionReceived
             method(*sexp[1:])
           File "/usr/local/lib/python2.6/dist-
 packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/spread/pb.py", line
 827, in proto_message
             self._recvMessage(self.localObjectForID, requestID, objectID,
 message, answerRequired, netArgs, netKw)
         --- <exception caught here> ---
           File "/usr/local/lib/python2.6/dist-
 packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/spread/pb.py", line
 841, in _recvMessage
             netResult = object.remoteMessageReceived(self, message,
 netArgs, netKw)
           File "/usr/local/lib/python2.6/dist-
 packages/Twisted-11.0.0-py2.6-linux-x86_64.egg/twisted/spread/pb.py", line
 225, in perspectiveMessageReceived
             state = method(*args, **kw)
           File "/usr/local/lib/python2.6/dist-
 packages/buildbot-0.8.4-py2.6.egg/buildbot/changes/pb.py", line 59, in
 perspective_addChange
             changedict['when_timestamp'] =
 epoch2datetime(changedict['when'])
           File "/usr/local/lib/python2.6/dist-
 packages/buildbot-0.8.4-py2.6.egg/buildbot/util/__init__.py", line 165, in
 epoch2datetime
             return datetime.datetime.fromtimestamp(epoch, tz=UTC)
         exceptions.TypeError: a float is required
 }}}

--

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1986#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list