#2405: GW150914.rpar gallery example assumes "python" is python2
Reporter:Roland Haas
Status:new
Milestone:
Version:
Type:bug
Priority:major
Component:EinsteinToolkit website

The gallery example http://einsteintoolkit.org/gallery/bbh/index.html uses a python script parfile https://bitbucket.org/einsteintoolkit/einsteinexamples/raw/master/par/GW150914/GW150914.rpar whose first line is

#!/usr/bin/env python

but the script only works with python2 and fails with python3

python3 GW150914.rpar
Traceback (most recent call last):
  File "GW150914.rpar", line 160, in <module>
    if isinstance(val, (int, long, float, complex, str)):
NameError: name 'long' is not defined

‌

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2405/gw150914rpar-gallery-example-assumes