Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3 support #7

Open
christianmlong opened this issue May 8, 2015 · 0 comments
Open

Python 3 support #7

christianmlong opened this issue May 8, 2015 · 0 comments

Comments

@christianmlong
Copy link

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

failure 1
failure 2

Chrome

failure 1 chrome
failure 2 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 [email protected]: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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant