Python 3 support
christianmlong opened this issue · 0 comments
I ported this project to run on Python 3.4. The site runs, but I can't log in. I suspect it has something to do with the newer versions of the dependencies I had to specify to get it to run on Python 3.4.
The version I converted to 3.4 is at https://github.com/christianmlong/todopyramid, on branch python3
The site runs, and when I click Sign In, it goes to the Persona sign-in page. However, after the Persona page is done, and I am back at the Todo app, I get two errors. See attached screenshots.
Firefox
Chrome
These screenshots are in the order that the errors occur - note the order is different on FF and Chrome.
The "Syntax error: Unexpected token <" error message looks like it's getting some html where it shouldn't be.
Steps to reproduce:
git clone git@github.com:christianmlong/todopyramid.git todopyramid34
cd todopyramid34
mkvirtualenv indypy34 --python=python3.4
git co python3
pip install -r requirements.txt
python setup.py develop
initialize_todopyramid_db development.ini
pserve development.ini
- Visit
http://192.168.56.20:6543/
- Click on Sign In
- Complete the Persona sign in process
- When the Persona window closes, the error occurs.
This problem has been verified when running the server on Windows 8.1 and on Ubuntu 14.04.