Error message from push to branch

Martin Liška mliska@suse.cz
Tue Sep 14 08:09:09 GMT 2021


On 9/13/21 20:04, Thomas König wrote:
> Hi,
> 
> I tried to merge trunk to into the coarray_native branch in preparation
> of some further work.  After some problems, it seems that the commit
> worked.  However, pushing it resulted in an error message, and it seems
> there was no e-mail to the gcc-cvs mailing list.

Hello.

I'm pretty sure it's the same issue as reported here:
https://github.com/AdaCore/git-hooks/issues/19

Cheers,
Martin

> 
> The commit is
> 
> commit b18a97e5dd0935e1c4a626c230f21457d0aad3d5 (HEAD -> devel/coarray_native, origin/devel/coarray_native)
> Author: Thomas Koenig <tkoenig@gcc.gnu.org>
> Date:   2021-09-13 19:49:49 +0200
> 
>      Merged current trunk to branch.
> 
> The error message was:
> 
> Enumerating objects: 50426, done.
> Counting objects: 100% (50425/50425), done.
> Delta compression using up to 8 threads
> Compressing objects: 100% (11769/11769), done.
> Writing objects: 100% (31082/31082), 15.75 MiB | 2.09 MiB/s, done.
> Total 31082 (delta 22396), reused 25675 (delta 18417)
> remote: Resolving deltas: 100% (22396/22396), completed with 15476 local objects.
> remote: Traceback (most recent call last):
> remote:   File "hooks/post_receive.py", line 118, in <module>
> remote:     post_receive(refs_data, args.submitter_email)
> remote:   File "hooks/post_receive.py", line 65, in post_receive
> remote:     submitter_email)
> remote:   File "hooks/post_receive.py", line 47, in post_receive_one
> remote:     update.send_email_notifications()
> remote:   File "/sourceware1/projects/src-home/git-hooks/hooks/updates/__init__.py", line 189, in send_email_notifications
> remote:     self.__email_new_commits()
> remote:   File "/sourceware1/projects/src-home/git-hooks/hooks/updates/__init__.py", line 1031, in __email_new_commits
> remote:     commit, self.get_standard_commit_email(commit))
> remote:   File "/sourceware1/projects/src-home/git-hooks/hooks/updates/__init__.py", line 1011, in __send_commit_email
> remote:     default_diff=email.diff)
> remote:   File "/sourceware1/projects/src-home/git-hooks/hooks/updates/__init__.py", line 946, in __maybe_get_email_custom_contents
> remote:     hook_input=json.dumps(hooks_data),
> remote:   File "/usr/lib64/python2.7/json/__init__.py", line 244, in dumps
> remote:     return _default_encoder.encode(obj)
> remote:   File "/usr/lib64/python2.7/json/encoder.py", line 207, in encode
> remote:     chunks = self.iterencode(o, _one_shot=True)
> remote:   File "/usr/lib64/python2.7/json/encoder.py", line 270, in iterencode
> remote:     return _iterencode(o, 0)
> remote: UnicodeDecodeError: 'utf8' codec can't decode byte 0xf6 in position 84253770: invalid start byte
> To git+ssh://gcc.gnu.org/git/gcc.git
>     e76a53644c9..b18a97e5dd0  devel/coarray_native -> devel/coarray_native
> 
> Regards
> 
>      Thomas



More information about the Gcc mailing list