#9089 Cryptic traceback when pushing to rust-skim/f32
Closed: Duplicate 3 years ago by pingou. Opened 3 years ago by ignatenkobrain.

rust-skim on  f32                                         
❯ git push origin f32 -u                                                                                               
Enumerating objects: 5, done.                 
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 1.05 KiB | 1.05 MiB/s, done.                                                              
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Traceback (most recent call last):    
remote:   File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 501, in errback
remote:     self._startRunCallbacks(fail)                                                                              
remote:   File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks
remote:     self._runCallbacks()
remote:   File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 654, in _runCallbacks
remote:     current.result = callback(current.result, *args, **kw)
remote:   File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 1475, in gotResult
remote:     _inlineCallbacks(r, g, status)
remote: --- <exception caught here> ---
remote:   File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
remote:     result = result.throwExceptionIntoGenerator(g)
remote:   File "/usr/lib64/python3.6/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator 
remote:     return g.throw(self.type, self.value, self.tb)
remote:   File "/usr/lib/python3.6/site-packages/fedora_messaging/api.py", line 261, in _twisted_publish
remote:     yield _twisted_service._service.factory.publish(message, exchange=exchange)
remote:   File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
remote:     result = result.throwExceptionIntoGenerator(g)
remote:   File "/usr/lib64/python3.6/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator 
remote:     return g.throw(self.type, self.value, self.tb)
remote:   File "/usr/lib/python3.6/site-packages/fedora_messaging/twisted/factory.py", line 437, in publish
remote:     yield protocol.publish(message, exchange)
remote:   File "/usr/lib64/python3.6/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
remote:     result = g.send(result)
remote:   File "/usr/lib/python3.6/site-packages/fedora_messaging/twisted/protocol.py", line 297, in publish
remote:     body=message._encoded_body,
remote:   File "/usr/lib/python3.6/site-packages/fedora_messaging/message.py", line 391, in _encoded_body
remote:     return json.dumps(self.body).encode("utf-8")
remote:   File "/usr/lib64/python3.6/json/__init__.py", line 231, in dumps
remote:     return _default_encoder.encode(obj)
remote:   File "/usr/lib64/python3.6/json/encoder.py", line 199, in encode
remote:     chunks = self.iterencode(o, _one_shot=True)
remote:   File "/usr/lib64/python3.6/json/encoder.py", line 257, in iterencode
remote:     return _iterencode(o, 0)
remote:   File "/usr/lib64/python3.6/json/encoder.py", line 180, in default
remote:     o.__class__.__name__)
remote: builtins.TypeError: Object of type 'Oid' is not JSON serializable
remote: 
remote: Emitting a message to the fedora-messaging message bus.
remote: * Publishing information for 1 commits
remote: Error sending fedora-messaging message
remote: Object of type 'Oid' is not JSON serializable
remote:   - to fedora-message
remote: Sending to redis to log activity and send commit notification emails
remote: * Publishing information for 1 commits
remote:   - to fedora-message
remote: 
remote: Create a pull-request for f32
remote:    https://src.fedoraproject.org/rpms/rust-skim/diff/master..f32
remote: 
To ssh://pkgs.fedoraproject.org/rpms/rust-skim
 * [new branch]      f32 -> f32
Branch 'f32' set up to track remote branch 'f32' from 'origin'.

Oid suggests to me that you are using pygit2, but nothing else I can help with :)


Metadata Update from @kevin:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: groomed, medium-gain, medium-trouble

3 years ago

aouch, we have two possible sources for this (as we have two hooks sending fedora-messaging notifications). I'll see if I can find something.

Out of curiosity, are you able to reproduce this?

Metadata Update from @pingou:
- Issue tagged with: dev

3 years ago

Metadata Update from @pingou:
- Issue close_status updated to: Duplicate
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata
Boards 1
dev Status: Done