errors in push new

Paul Borel paul.borel at gmail.com
Sat Sep 22 13:53:10 UTC 2018


Okay but I update khallithea but have :

FAR-Paul:pop-server far-paul$ git push -u origin master
Counting objects: 16, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (16/16), done.
Writing objects: 100% (16/16), 1.21 KiB | 1.21 MiB/s, done.
Total 16 (delta 13), reused 0 (delta 0)
remote: Traceback (most recent call last):
remote:   File "hooks/pre-receive", line 30, in <module>
remote:     main()
remote:   File "hooks/pre-receive", line 26, in main
remote:     sys.exit(_handler(repo_path, git_stdin_lines, os.environ))
remote: TypeError: handle_git_pre_receive() takes exactly 2 arguments (3
given)
To https://git.printaplus.fr/LA_POSTE/POP/pop-server
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://paul:Maxime*
26082013 at git.printaplus.fr/LA_POSTE/POP/pop-server'

when update project ....

and now project it not pull....

Le sam. 22 sept. 2018 à 12:00, Thomas De Schampheleire <
patrickdepinguin at gmail.com> a écrit :

> Hi Paul,
>
> On Sat, Sep 22, 2018, 10:42 Paul Borel <paul.borel at gmail.com> wrote:
>
>> Hello,
>>
>> I've got error but it commit...
>>
>>
>> FAR-Paul:pop-server far-paul$ git push -u origin master
>> Counting objects: 179, done.
>> Delta compression using up to 8 threads.
>> Compressing objects: 100% (170/170), done.
>> Writing objects: 100% (179/179), 159.19 KiB | 6.12 MiB/s, done.
>> Total 179 (delta 16), reused 0 (delta 0)
>> remote: Résolution des deltas: 100% (16/16), fait.
>> remote: No handlers could be found for logger
>> "kallithea.lib.vcs.backends.git.repository"
>> remote: Traceback (most recent call last):
>> remote:   File "hooks/post-receive", line 30, in <module>
>> remote:     main()
>> remote:   File "hooks/post-receive", line 26, in main
>> remote:     sys.exit(_handler(repo_path, git_stdin_lines, os.environ))
>> remote:   File
>> "/media/datas1/management_tool/kallithea/kallithea/lib/hooks.py", line 372,
>> in handle_git_post_receive
>>
>> remote:     return handle_git_receive(repo_path, git_stdin_lines, env,
>> hook_type='post')
>> remote:   File
>> "/media/datas1/management_tool/kallithea/kallithea/lib/hooks.py", line 456,
>> in handle_git_receive
>> remote:     git_revs += repo.run_git_command(cmd)[0].splitlines()
>> remote:   File
>> "/media/datas1/management_tool/kallithea/kallithea/lib/vcs/backends/git/repository.py",
>> line 158, in run_git_
>> command
>> remote:     return self._run_git_command(cmd, **opts)
>> remote:   File
>> "/media/datas1/management_tool/kallithea/kallithea/lib/vcs/backends/git/repository.py",
>> line 150, in _run_git
>> _command
>> remote:     raise RepositoryError(tb_err)
>> remote: kallithea.lib.vcs.exceptions.RepositoryError: Couldn't run git
>> command (['git', '-c', 'core.quotepath=false', 'log',
>>  '16421516319048901a33d657eb64a4bdb73b828e', '--reverse',
>> '--pretty=format:%H', '--not', '']).
>> remote: Original error was:Subprocess exited due to an error:
>> remote: fatal: argument '' ambigu : révision inconnue ou chemin
>> inexistant.
>> remote: Utilisez '--' pour séparer les chemins des révisions, comme ceci :
>> remote: 'git <commande>
>> remote:
>> To https://git.printaplus.fr/LA_POSTE/POP/pop-server
>>  * [new branch]      master -> master
>> Branch 'master' set up to track remote branch 'master' from 'origin'.
>>
>
> This issue has been fixed already, please make sure your Kallithea repo
> contains commit
> https://bitbucket.org/conservancy/kallithea/commits/6af08d44daa805bc6d4629ebec236cbef35efd2d
> . Make sure to update to the latest version.
>
> See
> https://bitbucket.org/conservancy/kallithea/issues/323/git-hook-error-on-push-of-first-commit
>
> Best regards,
> Thomas
>


-- 
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20180922/6414cf04/attachment.html>


More information about the kallithea-general mailing list