Tried Brandon's suggestion (and some others that I got privately), but no
luck. Also tried uninstalling and reinstalling git-review.
When I do "echo $PATH":
/usr/local/bin:/bin:/usr/bin:/Users/kaldari/bin:/usr/local/mysql/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/lib/php:/usr/local/php5/bin
which pip:
/usr/local/bin/pip
which easy_install:
/usr/local/bin/easy_install
which git-review:
/usr/local/bin/git-review
But 'git-review' or 'git review' still give the same stack trace. I'll
try
asking in #git. Thanks for the suggestions!
On Wed, Oct 21, 2015 at 2:58 PM, Kevin Smith <ksmith(a)wikimedia.org> wrote:
I'm a bit wikitech-l shy, but that looks very
similar to this:
http://www.gossamer-threads.com/lists/wiki/wikitech/481421
Unfortunately, the solution didn't look all that satisfying to me, but
maybe you can get something out of it.
Kevin Smith
Agile Coach, Wikimedia Foundation
On Wed, Oct 21, 2015 at 1:47 PM, Ryan Kaldari <rkaldari(a)wikimedia.org>
wrote:
Recently I upgraded my Mac to OSX 10.10.5 and
upgraded a lot of other
stuff
in the process. But now I can't get git-review to work. Whenever I try to
run it, it gives the following stacktrace:
Traceback (most recent call last):
File "/usr/local/bin/git-review", line 11, in <module>
sys.exit(main())
File "/Library/Python/2.7/site-packages/git_review/cmd.py", line 1522,
in
main
_main()
File "/Library/Python/2.7/site-packages/git_review/cmd.py", line 1377,
in
_main
(os.path.split(sys.argv[0])[-1], get_version()))
File "/Library/Python/2.7/site-packages/git_review/cmd.py", line 209, in
get_version
provider = pkg_resources.get_provider(requirement)
File
"/Library/Python/2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py",
line 177, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File
"/Library/Python/2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py",
line 654, in require
needed = self.resolve(parse_requirements(requirements))
File
"/Library/Python/2.7/site-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py",
line 552, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: git-review
If I run "pip install --upgrade setuptools":
Requirement already up-to-date: setuptools in
/Library/Python/2.7/site-packages
If I run "pip install -U git-review":
Requirement already up-to-date: git-review in
/Library/Python/2.7/site-packages
Requirement already up-to-date: argparse in
/Library/Python/2.7/site-packages (from git-review)
Requirement already up-to-date: requests>=1.1 in
/Library/Python/2.7/site-packages (from git-review)
If I run "/usr/bin/easy_install --version":
distribute 0.6.14
I couldn't find any solution on Google or in our git-review docs. Any
suggestions?
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l