aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "brian wickman (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AURORA-462) Client fails with DistributionNotFound: argparse
Date Mon, 08 Sep 2014 19:16:28 GMT

     [ https://issues.apache.org/jira/browse/AURORA-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

brian wickman resolved AURORA-462.
----------------------------------
    Resolution: Duplicate

Marking as dupe of AURORA-585.

> 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.3.4#6332)

Mime
View raw message