aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Farner <wfar...@apache.org>
Subject Re: build errors
Date Wed, 15 Oct 2014 18:24:48 GMT
Brian, Kevin - can one of you be the change you would like to see in the
world? :-)

-=Bill

On Wed, Oct 15, 2014 at 11:21 AM, Joe Stein <joe.stein@stealth.ly> wrote:

> python2.7 was the trick, building now :) thanks!
>
> /*******************************************
>  Joe Stein
>  Founder, Principal Consultant
>  Big Data Open Source Security LLC
>  http://www.stealth.ly
>  Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
> ********************************************/
>
> On Wed, Oct 15, 2014 at 2:19 PM, Kevin Sweeney <kevints@apache.org> wrote:
>
> > +1 to that - python2.7: command not found is a much better error message
> > here.
> >
> > On Wed, Oct 15, 2014 at 11:16 AM, Brian Wickman <
> wickman@twopensource.com>
> > wrote:
> >
> > > You should probably update thrift_wrapper_codegen.py to #!/usr/bin/env
> > > python2.7
> > >
> > > The 'flags=' keyword argument was added in 2.7, and I believe 2.6 is
> the
> > > default for CentOS 6.
> > >
> > > On Wed, Oct 15, 2014 at 11:09 AM, Bill Farner <wfarner@apache.org>
> > wrote:
> > >
> > > > What's your python version?  Presumably this would fail on any sha
> for
> > > the
> > > > last few months.
> > > >
> > > > -=Bill
> > > >
> > > > On Wed, Oct 15, 2014 at 10:29 AM, Joe Stein <joe.stein@stealth.ly>
> > > wrote:
> > > >
> > > > > Hi, I am getting this error trying to build (and run) Aurora on
> > Centos
> > > > 6.5
> > > > >
> > > > > Traceback (most recent call last):
> > > > >   File
> > > > >
> "src/main/python/apache/aurora/tools/java/thrift_wrapper_codegen.py",
> > > > line
> > > > > 712, in <module>
> > > > >     'values': value_entries(struct.values),
> > > > >   File
> > > > >
> "src/main/python/apache/aurora/tools/java/thrift_wrapper_codegen.py",
> > > > line
> > > > > 708, in value_entries
> > > > >     'doc': trim_doc_text(v[1])} for v in values])
> > > > >   File
> > > > >
> "src/main/python/apache/aurora/tools/java/thrift_wrapper_codegen.py",
> > > > line
> > > > > 529, in trim_doc_text
> > > > >     return re.sub('^\s*\*\s*', '', doc, flags=re.MULTILINE) if doc
> > else
> > > > > None
> > > > > TypeError: sub() got an unexpected keyword argument 'flags'
> > > > > :generateSources FAILED
> > > > >
> > > > >
> > > > > I have thrift installed
> > > > >
> > > > > /opt/apache/incubator-aurora$thrift -version
> > > > > Thrift version 0.9.1
> > > > >
> > > > > /*******************************************
> > > > >  Joe Stein
> > > > >  Founder, Principal Consultant
> > > > >  Big Data Open Source Security LLC
> > > > >  http://www.stealth.ly
> > > > >  Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop
> >
> > > > > ********************************************/
> > > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message