Wireshark mailing list archives

Re: error initializing git review


From: Graham Bloice <graham.bloice () trihedral com>
Date: Thu, 5 Feb 2015 17:56:30 +0000

On 5 February 2015 at 17:48, Ed Beroset <beroset () mindspring com> wrote:

I've followed the steps here:
https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcObtain.html

And I've successfully gotten to the step where it says to run "git review
-s" but then it fails.  The full error dump is:

Traceback (most recent call last):
  File "/usr/bin/git-review", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/git_review/cmd.py", line 1202, in
main
    set_hooks_commit_msg(remote, hook_file)
  File "/usr/lib/python2.7/site-packages/git_review/cmd.py", line 264, in
set_hooks_commit_msg
    res = run_http_exc(CannotInstallHook, hook_url, stream=True)
  File "/usr/lib/python2.7/site-packages/git_review/cmd.py", line 175, in
run_http_exc
    raise klazz(255, str(err), ('GET', url), env)
git_review.cmd.CannotInstallHook: Problems encountered installing
commit-msg hook
The following command failed with exit code 255
    "GET https://beroset () code wireshark org/tools/hooks/commit-msg"
-----------------------
Problems encountered installing commit-msg hook
The following command failed with exit code 104
    "GET https://beroset () code wireshark org/tools/hooks/commit-msg"
-----------------------
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /tools/hooks/commit-msg was not found on this
server.</p>
</body></html>

-----------------------
-----------------------

I don't really know how to go about troubleshooting this since I haven't
ever used it and don't know what it's supposed to do.  If it's relevant,
I'm behind a corporate firewall that forces me to use https: instead of
ssh: Any clues?

Ed


Is the URL correct?  Shouldn't it be
https://beroset () code wireshark org/wireshark/tools/hooks/commit-msg

What does git remote -v show?


-- 
Graham Bloice
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: