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.st...@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>
> ********************************************/
>

Reply via email to