Wireshark mailing list archives
Re: Failing to push to gerrit
From: Martin Mathieson <martin.r.mathieson () googlemail com>
Date: Thu, 11 Sep 2014 18:11:15 +0100
Hi Graham, I am running git inside a Cygwin shell. I didn't notice any issues wth line-endings. 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. Best regards, Martin On Thu, Sep 11, 2014 at 11:54 AM, Graham Bloice <graham.bloice () trihedral com
wrote:
On 7 September 2014 23:51, Martin Mathieson < martin.r.mathieson () googlemail com> wrote:I hadn't updated git-review since I first installed it, but running $ pip install -U git-review Requirement already up-to-date: git-review in c:\python27\lib\site-packages Cleaning up... showed that I was apparently already at the latest version.A little late to the conversation (I was on vacation), but git-review does have a `--version` parameter. FWIW I'm currently running 1.24 with Python 2.7.6 on Windows 7. Are you running your git ops in a Cygwin shell? Doesn't that cause issues with line-endings? -- 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
___________________________________________________________________________ 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)