Wireshark mailing list archives
Re: Failing to push to gerrit
From: Graham Bloice <graham.bloice () trihedral com>
Date: Thu, 11 Sep 2014 18:31:57 +0100
On 11 September 2014 18:11, Martin Mathieson < martin.r.mathieson () googlemail com> wrote:
Hi Graham, I am running git inside a Cygwin shell. I didn't notice any issues wth line-endings.
So are you using Cygwin git or Windows git?
I cannot run git-review even to print the version. I did manually delete the entries for git-review in the scripts and lib folders and reinstalled, but still see the following error: $ git-review --version Traceback (most recent call last): File "C:\Python27\lib\runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "C:\Python27\lib\runpy.py", line 72, in _run_code exec code in run_globals File "C:\Python27\Scripts\git-review.exe\__main__.py", line 9, in <module> File "C:\Python27\lib\site-packages\git_review\cmd.py", line 1132, in main (os.path.split(sys.argv[0])[-1], get_version())) File "C:\Python27\lib\site-packages\git_review\cmd.py", line 180, in get_version provider = pkg_resources.get_provider(requirement) File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\pkg_resources.py", line 197, in get_provider File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\pkg_resources.py", line 666, in require File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\pkg_resources.py", line 565, in resolve pkg_resources.DistributionNotFound: git-review mmathie2@mmathie2-WS /cygdrive/c/wireshark-git I don't understand egg files. At git_review\gmd.py:180 it is doing: provider = pkg_resources.get_provider(requirement) The .egg file does exist, I don't know what goes wrong inside it.
Could the issue be running Windows Python and Windows git-review in the Cygwin shell (possibly with Cygwin git)? I use Windows git for all my git\Gerrit work along with Windows Python in a PowerShell, er, shell. Can you try running `C:\Python27\Scripts\git-review --version` in a Windows Command Prompt or PowerShell? An egg is a Python application distribution unit, similar to a java .jar file. See http://peak.telecommunity.com/DevCenter/PythonEggs -- 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:
- Failing to push to gerrit Martin Mathieson (Sep 05)
- Re: Failing to push to gerrit Pascal Quantin (Sep 05)
- Re: Failing to push to gerrit Martin Mathieson (Sep 05)
- Re: Failing to push to gerrit Guy Harris (Sep 05)
- Re: Failing to push to gerrit Martin Mathieson (Sep 07)
- Re: Failing to push to gerrit Pascal Quantin (Sep 07)
- Re: Failing to push to gerrit Guy Harris (Sep 07)
- Re: Failing to push to gerrit Graham Bloice (Sep 11)
- Re: Failing to push to gerrit Martin Mathieson (Sep 11)
- Re: Failing to push to gerrit Graham Bloice (Sep 11)
- Re: Failing to push to gerrit Martin Mathieson (Sep 11)
- Re: Failing to push to gerrit Martin Mathieson (Sep 07)
- Re: Failing to push to gerrit Pascal Quantin (Sep 05)