You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Bill Farner (JIRA)" <ji...@apache.org> on 2014/05/22 22:07:02 UTC
[jira] [Created] (AURORA-462) Client fails with
DistributionNotFound: argparse
Bill Farner created AURORA-462:
----------------------------------
Summary: Client fails with DistributionNotFound: argparse
Key: AURORA-462
URL: https://issues.apache.org/jira/browse/AURORA-462
Project: Aurora
Issue Type: Bug
Components: Client
Reporter: Bill Farner
Priority: Critical
I've reproduced this on two machines.
Linux:
{noformat}
$ uname -a; python --version
Linux bill-desktop 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Python 2.7.5+
{noformat}
OS X:
{noformat}
$ uname -a; python --version
Darwin tw-172-25-144-209.office.twttr.net 13.1.0 Darwin Kernel Version 13.1.0: Wed Apr 2 23:52:02 PDT 2014; root:xnu-2422.92.1~2/RELEASE_X86_64 x86_64
Python 2.7.5
{noformat}
Git sha:
{noformat}
$ git log -1 --oneline
43c8ccb auroraUI needs to be global.
{noformat}
Both of these encounter the following:
{noformat}
$ ./pants src/main/python/apache/aurora/client/bin/:aurora_client
Build operating on targets: OrderedSet([PythonBinary(src/main/python/apache/aurora/client/bin/BUILD:aurora_client)])
Building PythonBinary PythonBinary(src/main/python/apache/aurora/client/bin/BUILD:aurora_client):
Wrote /home/wfarner/code/aurora/dist/aurora_client.pex
wfarner@bill-desktop:~/code/aurora$ ./dist/aurora_client.pex version
Traceback (most recent call last):
File "/home/wfarner/code/aurora/dist/aurora_client.pex/.bootstrap/_twitter_common_python/pex.py", line 214, in execute
working_set = self._env.activate()
File "/home/wfarner/code/aurora/dist/aurora_client.pex/.bootstrap/_twitter_common_python/environment.py", line 122, in activate
self._working_set = self._activate()
File "/home/wfarner/code/aurora/dist/aurora_client.pex/.bootstrap/_twitter_common_python/environment.py", line 142, in _activate
resolved = working_set.resolve(all_reqs, env=self)
File "/home/wfarner/code/aurora/dist/aurora_client.pex/.bootstrap/pkg_resources.py", line 588, in resolve
raise DistributionNotFound(req)
DistributionNotFound: argparse
{noformat}
A few rounds of deleting the pex, and {{git clean -fdx}} don't seem to fix this, still encounter the above issue.
--
This message was sent by Atlassian JIRA
(v6.2#6252)