jazkarta/founderdating — Issue #15: TypeError when clicking on /attend
Author: natea
Created: 2011-10-25 23:29:26+00:00
State: open

When Jessica tries to login using her LinkedIn profile, she's getting the following error. I suspect that it's a problem with the way we are trying to extract the Twitter info from her account, since it occurs on line 22:

twitter = info['provider-account-name']

Here's the full traceback:

TypeError at /attend

string indices must be integers

Request Method:	GET
Request URL:	http://65.98.207.227/attend
Django Version:	1.3.1
Exception Type:	TypeError
Exception Value:

string indices must be integers

Exception Location:	/var/www/founderdating-new/founderdating/profiles/views.py in attend, line 22
Python Executable:	/usr/bin/python
Python Version:	2.6.5
Python Path:

['/usr/local/lib/python2.6/dist-packages/virtualenv-1.6.1-py2.6.egg',
'/var/www/founderdating-new/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg',
'/var/www/founderdating-new/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg',
'/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/pymodules/python2.6',
'/usr/lib/pymodules/python2.6/gtk-2.0',
'/usr/local/lib/python2.6/dist-packages',
'/var/www/founderdating-new/lib/python2.6/site-packages',
'/var/www/founderdating-new/lib/python2.6/site-packages/PIL',
'/var/www/founderdating-new',
'/var/www/founderdating-new/founderdating']

Server time:	Tue, 25 Oct 2011 16:25:38 -0700