Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Integrating Rational Team Concert 5.0 with GIT,Will encounter errors, have met?

git.exe push --progress  "origin" master:master

Counting objects: 22, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (16/16), done.
Writing objects: 100% (20/20), 1.72 KiB | 0 bytes/s, done.
Total 20 (delta 8), reused 0 (delta 0)
remote: oldRev=ca34c4e01d19c16fd25448c0ba05375ac40fe3cf newRev=62d56db5e047ce7f820768fa119aa84c7bba49f9 refName=refs/heads/master
remote:     validatePush(jazzRepoUrl, gitRepoKey, userId, localSha1, remoteSha1, remoteRef, remote:
remote:   File "C:\KIRAN\Work\Code_Root\Dev\git\com.ibm.team.git.hooks\hooks\rtcprocess.py", line 364, remote:
remote:   File "C:\KIRAN\Work\Code_Root\Dev\git\com.ibm.team.git.hooks\hooks\rtcprocess.py", line 257, remote:
remote:   File "C:\KIRAN\Work\Code_Root\Dev\git\com.ibm.team.git.hooks\hooks\hookslib.py", line 134, remote:
remote:   File "C:\KIRAN\Work\Code_Root\Dev\git\com.ibm.team.git.hooks\hooks\hookslib.py", line 42, in remote:
remote: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc8 in position 1: invalid continuation remote:
To http://cp/rtrt.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://cp/rtrt.git'

0 votes



2 answers

Permanent link
The configuration of the integration is such that your push is rejected. Change the configuration settings.

0 votes


Permanent link
Clearly, some of the text that is passed onto the hook is not parse-able. So, what are the probable candidates that are of text type? I am suspecting this could have caused by either the commit's comment or userId (commit comment being more likely).

What is the commit comment you have given? And, what is the user id?

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 97

Question asked: May 19 '15, 4:21 a.m.

Question was seen: 2,689 times

Last updated: May 19 '15, 4:35 a.m.

Confirmation Cancel Confirm