On Thu, Sep 11, 2014 at 6:31 PM, Graham Bloice <[email protected]> wrote:
> On 11 September 2014 18:11, Martin Mathieson < > [email protected]> 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? > $ git --version git version 1.9.0.msysgit.0 I think this is 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? > > Running in a Windows Command Prompt gives me the same stack trace as above. > An egg is a Python application distribution unit, similar to a java .jar > file. See http://peak.telecommunity.com/DevCenter/PythonEggs > > > > -- > Graham Bloice > I am finding that I can push from my master branch, which I'd rather not do, but that I need to do 'git rebase' every time now. When I create another topic branch from master, I cannot push from it, even after rebasing. I really don't know what I did to my setup, as git-review used to work. I have taken to writing scripts in python now, and did try to get python3 installed a while back, though it would crash upon startup. I just tried uninstalling python3 but it doesn't seem to have helped. Thanks, Martin
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
