At first glance, I thought this was issue #231, but then I noticed that was closed and has a milestone of 1.12. I'm getting the following from python2-koji-1.14.0-1.el7.noarch for a otherwise successful build:
Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 1219, in runTask response = (handler.run(),) File "/usr/lib/python2.7/site-packages/koji/tasks.py", line 162, in run return koji.util.call_with_argcheck(self.handler, self.params, self.opts) File "/usr/lib/python2.7/site-packages/koji/util.py", line 205, in call_with_argcheck return func(*args, **kwargs) File "/usr/sbin/kojid", line 4768, in handler creation_time = koji.formatTimeLong(build['creation_time']) File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 2787, in formatTimeLong localtime = time.mktime(time.strptime(formatTime(value), '%Y-%m-%d %H:%M:%S')) File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 2773, in formatTime dotidx = value.rfind('.') AttributeError: DateTime instance has no attribute 'rfind'
I think this is a duplicate of #623
@jflorian this message is coming from server - are there also newer versions deployed?
@tkopecek I see the error in my kojid.log files. Are you saying the builder is merely relaying the message for an error that actually occured on the server? Or perhaps that kojid is failing because of bad data sent from the server to the builder?
My server has version 1.14.
@mikem I'd be happy to give the PR for #623 a test to see if that helps here. Is that needed on the server, builders or all?
Ouch, sorry. I've thought from some reason that pr #623 is already in 1.14, but it was merged later (so forget my suggestion). And yes - it should solve your problem. It would be enough to patch it only on builders.
@jflorian Is your issue fixed by #623 ? Can we close this issue now?
@yulwang I just gave that patch a try and am again receiving build notifications. So yes this can be closed.
Metadata Update from @jflorian: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/689
Please continue any further discussion there.