lol On Fri, Feb 15, 2019 at 4:02 PM, Marcelo Vanzin < van...@cloudera.com.invalid > wrote:
> > > > You're talking about the spark-website script, right? The main repo's > script has been working for me, the website one is broken. > > > > I think it was caused by this dude changing raw_input to input recently: > > > > commit 8b6e7dceaf5d73de3f92907ceeab8925a2586685 > Author: Sean Owen < sean. owen@ databricks. com ( sean.o...@databricks.com > ) > Date: Sat Jan 19 19:02:30 2019 -0600 > > > > More minor style fixes for merge script > > > > On Fri, Feb 15, 2019 at 3:55 PM Sean Owen < srowen@ gmail. com ( > sro...@gmail.com ) > wrote: > > >> >> >> I'm seriously confused on this one. The spark-website merge script just >> stopped working for me. It fails on the call to input() that expects a y/n >> response, saying 'y' isn't defined. >> >> >> >> Indeed, it seems like Python 2's input() tries to evaluate the input, >> rather than return a string. Python 3 input() returns as a string, as does >> Python 2's raw_input(). >> >> >> >> But the script clearly requires Python 2 as it imports urllib2, and my >> local "python" is Python 2. >> >> >> >> And nothing has changed recently and this has worked for a long time. The >> main spark merge script does the same. >> >> >> >> How on earth has this worked? >> >> >> >> I could replace input() with raw_input(), or just go ahead and fix the >> merge scripts to work with / require Python 3. But am I missing something >> basic? >> >> >> >> If not, which change would people be OK with? >> >> >> >> Sean >> >> >> >> --------------------------------------------------------------------- To >> unsubscribe e-mail: dev-unsubscribe@ spark. apache. org ( >> dev-unsubscr...@spark.apache.org ) >> >> > > > > -- > Marcelo > > > > --------------------------------------------------------------------- To > unsubscribe e-mail: dev-unsubscribe@ spark. apache. org ( > dev-unsubscr...@spark.apache.org ) > > >