You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Martin Weindel (JIRA)" <ji...@apache.org> on 2014/07/15 16:08:04 UTC

[jira] [Commented] (AURORA-462) Client fails with DistributionNotFound: argparse

    [ https://issues.apache.org/jira/browse/AURORA-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14062084#comment-14062084 ] 

Martin Weindel commented on AURORA-462:
---------------------------------------

Same problem on CentOS 6:

{code}
$ uname -a; python --version
Linux cep-build 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Python 2.6.6
{code}

> 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)