#9095 Python backtrace in DNS repo for git push
Closed: Fixed 3 years ago by kevin. Opened 3 years ago by astepano.

Hello,

I open this ticket just to make a note, that my git push command was successful, but it had some strange python backtrace.

[astepano@batcave01 dns][PROD-IAD2]$ git push
Enumerating objects: 116, done.
Counting objects: 100% (116/116), done.
Delta compression using up to 10 threads.
Compressing objects: 100% (76/76), done.
Writing objects: 100% (76/76), 9.35 MiB | 6.03 MiB/s, done.
Total 76 (delta 47), reused 0 (delta 0)
remote: Preparing to run check-domains for 2e22a8aed39c554c5c735fe4804db82de3146f56 ... 
remote: Running check-domains
remote: sh: /usr/share/git-core/mail-hooks/gnome-post-receive-email: No such file or directory
remote: Emitting a message to the fedora-messaging message bus.
remote: Traceback (most recent call last):
remote:   File "/usr/local/bin/fedmsg-announce-commits.py", line 138, in <module>
remote:     commits = [_build_commit(rev) for rev in revs]
remote:   File "/usr/local/bin/fedmsg-announce-commits.py", line 138, in <listcomp>
remote:     commits = [_build_commit(rev) for rev in revs]
remote:   File "/usr/local/bin/fedmsg-announce-commits.py", line 43, in revs_between
remote:     for line in stdout.strip().split('\n'):
remote: TypeError: a bytes-like object is required, not 'str'
remote: 
remote: Updating /srv/git/dns into /srv/web/infra/dns for production
remote: 
remote: From /srv/git/dns
remote:    dffa0eb84..2e22a8aed  master     -> origin/master
remote: Updating dffa0eb84..2e22a8aed
remote: Fast-forward
remote:  built/168.192.in-addr.arpa.signed            |   8362 +-

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

3 years ago

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

3 years ago

Login to comment on this ticket.

Metadata