This morning I tried to install last nights snapshots on Kubuntu Jaunty for python-3.0.1. "python configure.py" would get up to the point were this is printed:<br><br>Type '2' to view the GPL v2 license.<br>
Type '3' to view the GPL v3 license.<br>Type 'yes' to accept the terms of the license.<br>Type 'no' to decline the terms of the license.<br><br>but it would not prompt me to accept the license. The script was getting stuck in the while loop that asks if we accept the terms of the license. I edited configure.py:<br>
<br>Â Â Â Â Â Â Â # Handle Python v2.<br>
       try:<br>
           input = raw_input<br>
       except NameError:<br>
           pass<br>
<br>
       while 1:<br>
           try:<br>
               resp = input("Do you accept the terms of the license? ")<br>
           except KeyboardInterrupt:<br>
               raise SystemExit<br>#           except:<br>#              resp = ""<br><br>and ran the script again, which yielded:<br><br>An internal error occured. Please report all the output from the program,<br>
including the following traceback, to <a href="mailto:support@riverbankcomputing.com">support@riverbankcomputing.com</a>.    <br>Traceback (most recent call last):                                       <br> File "configure.py", line 1900, in <module>                            <br>
   main()                                                               <br> File "configure.py", line 1848, in main                                <br>   check_license()                                                      <br>
 File "configure.py", line 1478, in check_license                       <br>   resp = input("Do you accept the terms of the license? ")             <br>UnboundLocalError: local variable 'input' referenced before assignment <br>
<br><br>If I comment this out instead:<br><br>#Â Â Â Â Â Â Â try:<br>
# Â Â Â Â Â Â Â Â Â Â input = raw_input<br>
# Â Â Â Â Â Â except NameError:<br>
# Â Â Â Â Â Â Â Â Â Â pass<br><br>Then I configure.py will run without errors with python-3. Maybe this is a bug in python, or just Jaunty's python, but perhaps a workaround could be considered for configure.py.<br><br>Darren<br>