ubuntu-bengali-manual team mailing list archive
-
ubuntu-bengali-manual team
-
Mailing list archive
-
Message #00074
[Bug 509916] [NEW] error adding mailing list
Public bug reported:
InterfaceError at /teams/ubuntu-us-florida/edit
Error binding parameter 1 - probably unsupported type.
Request Method: POST
Request URL: http://growingupfree.org:8000/teams/ubuntu-us-florida/edit
Exception Type: InterfaceError
Exception Value:
Error binding parameter 1 - probably unsupported type.
Exception Location: /usr/lib/pymodules/python2.6/django/db/backends/sqlite3/base.py in execute, line 193
Python Executable: /usr/bin/python
Python Version: 2.6.4
Python Path: ['/home/mhall/projects/loco-directory/loco_directory', '/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']
Server time: Wed, 20 Jan 2010 00:10:59 +0000
Traceback Switch to copy-and-paste view
* /usr/lib/pymodules/python2.6/django/core/handlers/base.py in get_response
85. # Apply view middleware
86. for middleware_method in self._view_middleware:
87. response = middleware_method(request, callback, callback_args, callback_kwargs)
88. if response:
89. return response
90.
91. try:
92. response = callback(request, *callback_args, **callback_kwargs) ...
93. except Exception, e:
94. # If the view raised an exception, run it through exception
95. # middleware, and if the exception middleware returns a
96. # response, use that. Otherwise, reraise the exception.
97. for middleware_method in self._exception_middleware:
98. response = middleware_method(request, e)
▶ Local vars
Variable Value
callback
<django.contrib.auth.decorators._CheckLogin object at 0x9016fac>
callback_args
()
callback_kwargs
{'team_slug': u'ubuntu-us-florida'}
e
InterfaceError('Error binding parameter 1 - probably unsupported type.',)
exc_info
(<class 'pysqlite2.dbapi2.InterfaceError'>, InterfaceError('Error binding parameter 1 - probably unsupported type.',), <traceback object at 0x910aa2c>)
exceptions
<module 'django.core.exceptions' from '/usr/lib/pymodules/python2.6/django/core/exceptions.pyc'>
middleware_method
<bound method AuthenticationMiddleware.process_request of <django.contrib.auth.middleware.AuthenticationMiddleware object at 0x8e5254c>>
receivers
[(<function _rollback_on_exception at 0x8bfb4c4>, None)]
request
<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'forum_url': [u''], u'city': [u''], u'mugshot_url': [u'https://edge.launchpad.net/api/beta/~ubuntu-us-florida/mugshot'], u'wiki_url': [u'https://wiki.ubuntu.com/FloridaTeam'], u'country': [u'USA'], u'spr': [u'Florida'], u'irc_chan': [u'#ubuntu-us-fl'], u'provides_support': [u'on'], u'web_url': [u'http://www.ubuntu-fl.org/'], u'ml_url': [u'http://lists.ubuntu.com/ubuntu-us-fl'], u'email': [u'']}>, COOKIES:{'sessionid': '137166bb5abee383da977016a959f138'}, META:{'CONTENT_LENGTH': '330', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DJANGO_SETTINGS_MODULE': 'loco_directory.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HISTCONTROL': 'ignoreboth', 'HOME': '/home/mhall', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=137166bb5abee383da977016a959f138', 'HTTP_HOST': 'growingupfree.org:8000', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://growingupfree.org:8000/teams/ubuntu-us-florida/edit', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/10.04 (lucid) Firefox/3.5.7', 'LANG': 'en_US.UTF-8', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'mhall', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'MAIL': '/var/mail/mhall', 'OLDPWD': '/home/mhall/projects/loco-directory', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PATH_INFO': u'/teams/ubuntu-us-florida/edit', 'PWD': '/home/mhall/projects/loco-directory/loco_directory', 'QUERY_STRING': '', 'REMOTE_ADDR': '70.184.144.249', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'rrcs-24-227-64-126.se.biz.rr.com', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.4', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SSH_AUTH_SOCK': '/var/run/screen/S-mhall/byobu.ssh-agent', 'SSH_CLIENT': '173.65.27.166 49318 22', 'SSH_CONNECTION': '173.65.27.166 49318 24.227.64.126 22', 'SSH_TTY': '/dev/pts/0', 'STY': '1545.pts-0.quinnco', 'TERM': 'screen-bce', 'TERMCAP': 'SC|screen-bce|VT 100/ANSI X3.64 virtual terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#54:co#144:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\\n\t:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:\\\n\t:im=\\E[4h:ei=\\E[4l:mi:IC=\\E[%d@:ks=\\E[?1h\\E=:\\\n\t:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E[34l:\\\n\t:ti=\\E[?1049h:te=\\E[?1049l:us=\\E[4m:ue=\\E[24m:so=\\E[3m:\\\n\t:se=\\E[23m:mb=\\E[5m:md=\\E[1m:mr=\\E[7m:me=\\E[m:ms:\\\n\t:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E[39;49m:AX:\\\n\t:vb=\\Eg:G0:as=\\E(0:ae=\\E(B:\\\n\t:ac=\\140\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\\\n\t:po=\\E[5i:pf=\\E[4i:k0=\\E[10~:k1=\\EOP:k;=\\E[21~:\\\n\t:F1=\\E[23~:F3=\\EO2P:F4=\\EO2Q:F5=\\EO2R:F6=\\EO2S:\\\n\t:F7=\\E[15;2~:F8=\\E[17;2~:F9=\\E[18;2~:FA=\\E[19;2~:kb=\x7f:\\\n\t:K2=\\EOE:kB=\\E[Z:*4=\\E[3;2~:*7=\\E[1;2F:#2=\\E[1;2H:\\\n\t:#3=\\E[2;2~:#4=\\E[1;2D:%c=\\E[6;2~:%e=\\E[5;2~:%i=\\E[1;2C:\\\n\t:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:@7=\\E[4~:kN=\\E[6~:kP=\\E[5~:\\\n\t:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:kd=\\EOB:kr=\\EOC:kl=\\EOD:km:', 'TZ': 'UTC', 'USER': 'mhall', 'WINDOW': '1', 'XDG_SESSION_COOKIE': 'f7bd209dac6d0ff52638e57a4a5e49c9-1263653802.676173-286252189', '_': '/usr/bin/python', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb788e0c0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x90ede6c>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
resolver
<RegexURLResolver loco_directory.urls (None:None) ^/>
response
None
self
<django.core.handlers.wsgi.WSGIHandler object at 0x8dad4ec>
settings
<django.conf.LazySettings object at 0x8acea2c>
urlconf
'loco_directory.urls'
urlresolvers
<module 'django.core.urlresolvers' from '/usr/lib/pymodules/python2.6/django/core/urlresolvers.pyc'>
* /usr/lib/pymodules/python2.6/django/contrib/auth/decorators.py in __call__
71.
72. def __get__(self, obj, cls=None):
73. view_func = self.view_func.__get__(obj, cls)
74. return _CheckLogin(view_func, self.test_func, self.login_url, self.redirect_field_name)
75.
76. def __call__(self, request, *args, **kwargs):
77. if self.test_func(request.user):
78. return self.view_func(request, *args, **kwargs) ...
79. path = urlquote(request.get_full_path())
80. tup = self.login_url, self.redirect_field_name, path
81. return HttpResponseRedirect('%s?%s=%s' % tup)
▶ Local vars
Variable Value
args
()
kwargs
{'team_slug': u'ubuntu-us-florida'}
request
<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'forum_url': [u''], u'city': [u''], u'mugshot_url': [u'https://edge.launchpad.net/api/beta/~ubuntu-us-florida/mugshot'], u'wiki_url': [u'https://wiki.ubuntu.com/FloridaTeam'], u'country': [u'USA'], u'spr': [u'Florida'], u'irc_chan': [u'#ubuntu-us-fl'], u'provides_support': [u'on'], u'web_url': [u'http://www.ubuntu-fl.org/'], u'ml_url': [u'http://lists.ubuntu.com/ubuntu-us-fl'], u'email': [u'']}>, COOKIES:{'sessionid': '137166bb5abee383da977016a959f138'}, META:{'CONTENT_LENGTH': '330', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DJANGO_SETTINGS_MODULE': 'loco_directory.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HISTCONTROL': 'ignoreboth', 'HOME': '/home/mhall', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=137166bb5abee383da977016a959f138', 'HTTP_HOST': 'growingupfree.org:8000', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://growingupfree.org:8000/teams/ubuntu-us-florida/edit', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/10.04 (lucid) Firefox/3.5.7', 'LANG': 'en_US.UTF-8', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'mhall', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'MAIL': '/var/mail/mhall', 'OLDPWD': '/home/mhall/projects/loco-directory', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PATH_INFO': u'/teams/ubuntu-us-florida/edit', 'PWD': '/home/mhall/projects/loco-directory/loco_directory', 'QUERY_STRING': '', 'REMOTE_ADDR': '70.184.144.249', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'rrcs-24-227-64-126.se.biz.rr.com', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.4', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SSH_AUTH_SOCK': '/var/run/screen/S-mhall/byobu.ssh-agent', 'SSH_CLIENT': '173.65.27.166 49318 22', 'SSH_CONNECTION': '173.65.27.166 49318 24.227.64.126 22', 'SSH_TTY': '/dev/pts/0', 'STY': '1545.pts-0.quinnco', 'TERM': 'screen-bce', 'TERMCAP': 'SC|screen-bce|VT 100/ANSI X3.64 virtual terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#54:co#144:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\\n\t:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:\\\n\t:im=\\E[4h:ei=\\E[4l:mi:IC=\\E[%d@:ks=\\E[?1h\\E=:\\\n\t:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E[34l:\\\n\t:ti=\\E[?1049h:te=\\E[?1049l:us=\\E[4m:ue=\\E[24m:so=\\E[3m:\\\n\t:se=\\E[23m:mb=\\E[5m:md=\\E[1m:mr=\\E[7m:me=\\E[m:ms:\\\n\t:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E[39;49m:AX:\\\n\t:vb=\\Eg:G0:as=\\E(0:ae=\\E(B:\\\n\t:ac=\\140\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\\\n\t:po=\\E[5i:pf=\\E[4i:k0=\\E[10~:k1=\\EOP:k;=\\E[21~:\\\n\t:F1=\\E[23~:F3=\\EO2P:F4=\\EO2Q:F5=\\EO2R:F6=\\EO2S:\\\n\t:F7=\\E[15;2~:F8=\\E[17;2~:F9=\\E[18;2~:FA=\\E[19;2~:kb=\x7f:\\\n\t:K2=\\EOE:kB=\\E[Z:*4=\\E[3;2~:*7=\\E[1;2F:#2=\\E[1;2H:\\\n\t:#3=\\E[2;2~:#4=\\E[1;2D:%c=\\E[6;2~:%e=\\E[5;2~:%i=\\E[1;2C:\\\n\t:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:@7=\\E[4~:kN=\\E[6~:kP=\\E[5~:\\\n\t:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:kd=\\EOB:kr=\\EOC:kl=\\EOD:km:', 'TZ': 'UTC', 'USER': 'mhall', 'WINDOW': '1', 'XDG_SESSION_COOKIE': 'f7bd209dac6d0ff52638e57a4a5e49c9-1263653802.676173-286252189', '_': '/usr/bin/python', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb788e0c0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x90ede6c>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
self
<django.contrib.auth.decorators._CheckLogin object at 0x9016fac>
* /home/mhall/projects/loco-directory/loco_directory/teams/views.py in team_edit
84. if request.method == "POST":
85. if is_on_lc:
86. form = forms.LoCoCouncilForm(data=request.POST, instance=team_object)
87. else:
88. form = forms.UpdateTeamForm(data=request.POST, instance=team_object)
89. if form.is_valid():
90. form.save()
91. request.user.message_set.create(message=_('Team details updated')) ...
92. return redirect( team_object )
93. else:
94. request.user.message_set.create(message=_('Team details could not be saved.'))
95. else:
96. if is_on_lc:
97. form = forms.LoCoCouncilForm(instance=team_object)
▶ Local vars
Variable Value
form
<teams.forms.UpdateTeamForm object at 0x9058dcc>
is_contact
True
is_on_lc
False
request
<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'forum_url': [u''], u'city': [u''], u'mugshot_url': [u'https://edge.launchpad.net/api/beta/~ubuntu-us-florida/mugshot'], u'wiki_url': [u'https://wiki.ubuntu.com/FloridaTeam'], u'country': [u'USA'], u'spr': [u'Florida'], u'irc_chan': [u'#ubuntu-us-fl'], u'provides_support': [u'on'], u'web_url': [u'http://www.ubuntu-fl.org/'], u'ml_url': [u'http://lists.ubuntu.com/ubuntu-us-fl'], u'email': [u'']}>, COOKIES:{'sessionid': '137166bb5abee383da977016a959f138'}, META:{'CONTENT_LENGTH': '330', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DJANGO_SETTINGS_MODULE': 'loco_directory.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HISTCONTROL': 'ignoreboth', 'HOME': '/home/mhall', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=137166bb5abee383da977016a959f138', 'HTTP_HOST': 'growingupfree.org:8000', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://growingupfree.org:8000/teams/ubuntu-us-florida/edit', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/10.04 (lucid) Firefox/3.5.7', 'LANG': 'en_US.UTF-8', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'mhall', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'MAIL': '/var/mail/mhall', 'OLDPWD': '/home/mhall/projects/loco-directory', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PATH_INFO': u'/teams/ubuntu-us-florida/edit', 'PWD': '/home/mhall/projects/loco-directory/loco_directory', 'QUERY_STRING': '', 'REMOTE_ADDR': '70.184.144.249', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'rrcs-24-227-64-126.se.biz.rr.com', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.4', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SSH_AUTH_SOCK': '/var/run/screen/S-mhall/byobu.ssh-agent', 'SSH_CLIENT': '173.65.27.166 49318 22', 'SSH_CONNECTION': '173.65.27.166 49318 24.227.64.126 22', 'SSH_TTY': '/dev/pts/0', 'STY': '1545.pts-0.quinnco', 'TERM': 'screen-bce', 'TERMCAP': 'SC|screen-bce|VT 100/ANSI X3.64 virtual terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#54:co#144:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\\n\t:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:\\\n\t:im=\\E[4h:ei=\\E[4l:mi:IC=\\E[%d@:ks=\\E[?1h\\E=:\\\n\t:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E[34l:\\\n\t:ti=\\E[?1049h:te=\\E[?1049l:us=\\E[4m:ue=\\E[24m:so=\\E[3m:\\\n\t:se=\\E[23m:mb=\\E[5m:md=\\E[1m:mr=\\E[7m:me=\\E[m:ms:\\\n\t:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E[39;49m:AX:\\\n\t:vb=\\Eg:G0:as=\\E(0:ae=\\E(B:\\\n\t:ac=\\140\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\\\n\t:po=\\E[5i:pf=\\E[4i:k0=\\E[10~:k1=\\EOP:k;=\\E[21~:\\\n\t:F1=\\E[23~:F3=\\EO2P:F4=\\EO2Q:F5=\\EO2R:F6=\\EO2S:\\\n\t:F7=\\E[15;2~:F8=\\E[17;2~:F9=\\E[18;2~:FA=\\E[19;2~:kb=\x7f:\\\n\t:K2=\\EOE:kB=\\E[Z:*4=\\E[3;2~:*7=\\E[1;2F:#2=\\E[1;2H:\\\n\t:#3=\\E[2;2~:#4=\\E[1;2D:%c=\\E[6;2~:%e=\\E[5;2~:%i=\\E[1;2C:\\\n\t:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:@7=\\E[4~:kN=\\E[6~:kP=\\E[5~:\\\n\t:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:kd=\\EOB:kr=\\EOC:kl=\\EOD:km:', 'TZ': 'UTC', 'USER': 'mhall', 'WINDOW': '1', 'XDG_SESSION_COOKIE': 'f7bd209dac6d0ff52638e57a4a5e49c9-1263653802.676173-286252189', '_': '/usr/bin/python', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb788e0c0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x90ede6c>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
team_object
<Team: ubuntu-us-florida>
team_slug
u'ubuntu-us-florida'
* /usr/lib/pymodules/python2.6/django/db/models/fields/related.py in create
360. raise TypeError, "'%s' instance expected" % self.model._meta.object_name
361. setattr(obj, rel_field.name, instance)
362. obj.save()
363. add.alters_data = True
364.
365. def create(self, **kwargs):
366. kwargs.update({rel_field.name: instance})
367. return super(RelatedManager, self).create(**kwargs) ...
368. create.alters_data = True
369.
370. def get_or_create(self, **kwargs):
371. # Update kwargs with the related object that this
372. # ForeignRelatedObjectsDescriptor knows about.
373. kwargs.update({rel_field.name: instance})
▶ Local vars
Variable Value
RelatedManager
<class 'django.db.models.fields.related.RelatedManager'>
instance
<User: dantrevino>
kwargs
{'message': <django.utils.functional.__proxy__ object at 0x91cfccc>, 'user': <User: dantrevino>}
rel_field
<django.db.models.fields.related.ForeignKey object at 0x8de4b2c>
self
<django.db.models.fields.related.RelatedManager object at 0x8e0986c>
* /usr/lib/pymodules/python2.6/django/db/models/manager.py in create
119. def get(self, *args, **kwargs):
120. return self.get_query_set().get(*args, **kwargs)
121.
122. def get_or_create(self, **kwargs):
123. return self.get_query_set().get_or_create(**kwargs)
124.
125. def create(self, **kwargs):
126. return self.get_query_set().create(**kwargs) ...
127.
128. def filter(self, *args, **kwargs):
129. return self.get_query_set().filter(*args, **kwargs)
130.
131. def aggregate(self, *args, **kwargs):
132. return self.get_query_set().aggregate(*args, **kwargs)
▶ Local vars
Variable Value
kwargs
{'message': <django.utils.functional.__proxy__ object at 0x91cfccc>, 'user': <User: dantrevino>}
self
<django.db.models.fields.related.RelatedManager object at 0x8e0986c>
* /usr/lib/pymodules/python2.6/django/db/models/query.py in create
308.
309. def create(self, **kwargs):
310. """
311. Creates a new object with the given kwargs, saving it to the database
312. and returning the created object.
313. """
314. obj = self.model(**kwargs)
315. obj.save(force_insert=True) ...
316. return obj
317.
318. def get_or_create(self, **kwargs):
319. """
320. Looks up an object with the given kwargs, creating one if necessary.
321. Returns a tuple of (object, created), where created is a boolean
▶ Local vars
Variable Value
kwargs
{'message': <django.utils.functional.__proxy__ object at 0x91cfccc>, 'user': <User: dantrevino>}
obj
Error in formatting: coercing to Unicode: need string or buffer, __proxy__ found
self
[]
* /usr/lib/pymodules/python2.6/django/db/models/base.py in save
403. The 'force_insert' and 'force_update' parameters can be used to insist
404. that the "save" must be an SQL insert or update (or equivalent for
405. non-SQL backends), respectively. Normally, they should not be set.
406. """
407. if force_insert and force_update:
408. raise ValueError("Cannot force both insert and updating in "
409. "model saving.")
410. self.save_base(force_insert=force_insert, force_update=force_update) ...
411.
412. save.alters_data = True
413.
414. def save_base(self, raw=False, cls=None, origin=None,
415. force_insert=False, force_update=False):
416. """
▶ Local vars
Variable Value
force_insert
True
force_update
False
self
Error in formatting: coercing to Unicode: need string or buffer, __proxy__ found
* /usr/lib/pymodules/python2.6/django/db/models/base.py in save_base
488. field = meta.order_with_respect_to
489. values.append((meta.get_field_by_name('_order')[0], manager.filter(**{field.name: getattr(self, field.attname)}).count()))
490. record_exists = False
491.
492. update_pk = bool(meta.has_auto_field and not pk_set)
493. if values:
494. # Create a new record.
495. result = manager._insert(values, return_id=update_pk) ...
496. else:
497. # Create a new record with defaults for everything.
498. result = manager._insert([(meta.pk, connection.ops.pk_default_value())], return_id=update_pk, raw_values=True)
499.
500. if update_pk:
501. setattr(self, meta.pk.attname, result)
▶ Local vars
Variable Value
cls
<class 'django.contrib.auth.models.Message'>
f
<django.db.models.fields.TextField object at 0x8de4bac>
force_insert
True
force_update
False
manager
<django.db.models.manager.Manager object at 0x8de4f4c>
meta
<Options for Message>
non_pks
[<django.db.models.fields.related.ForeignKey object at 0x8de4b2c>, <django.db.models.fields.TextField object at 0x8de4bac>]
org
None
origin
<class 'django.contrib.auth.models.Message'>
pk_set
False
pk_val
None
raw
False
record_exists
False
self
Error in formatting: coercing to Unicode: need string or buffer, __proxy__ found
update_pk
True
values
[(<django.db.models.fields.related.ForeignKey object at 0x8de4b2c>, 3), (<django.db.models.fields.TextField object at 0x8de4bac>, <django.utils.functional.__proxy__ object at 0x91cfccc>)]
* /usr/lib/pymodules/python2.6/django/db/models/manager.py in _insert
170. def defer(self, *args, **kwargs):
171. return self.get_query_set().defer(*args, **kwargs)
172.
173. def only(self, *args, **kwargs):
174. return self.get_query_set().only(*args, **kwargs)
175.
176. def _insert(self, values, **kwargs):
177. return insert_query(self.model, values, **kwargs) ...
178.
179. def _update(self, values, **kwargs):
180. return self.get_query_set()._update(values, **kwargs)
181.
182. class ManagerDescriptor(object):
183. # This class ensures managers aren't accessible via model instances.
▶ Local vars
Variable Value
kwargs
{'return_id': True}
self
<django.db.models.manager.Manager object at 0x8de4f4c>
values
[(<django.db.models.fields.related.ForeignKey object at 0x8de4b2c>, 3), (<django.db.models.fields.TextField object at 0x8de4bac>, <django.utils.functional.__proxy__ object at 0x91cfccc>)]
* /usr/lib/pymodules/python2.6/django/db/models/query.py in insert_query
1080. """
1081. Inserts a new record for the given model. This provides an interface to
1082. the InsertQuery class and is how Model.save() is implemented. It is not
1083. part of the public API.
1084. """
1085. query = sql.InsertQuery(model, connection)
1086. query.insert_values(values, raw_values)
1087. return query.execute_sql(return_id) ...
▶ Local vars
Variable Value
model
<class 'django.contrib.auth.models.Message'>
query
<django.db.models.sql.subqueries.InsertQuery object at 0x915606c>
raw_values
False
return_id
True
values
[(<django.db.models.fields.related.ForeignKey object at 0x8de4b2c>, 3), (<django.db.models.fields.TextField object at 0x8de4bac>, <django.utils.functional.__proxy__ object at 0x91cfccc>)]
* /usr/lib/pymodules/python2.6/django/db/models/sql/subqueries.py in execute_sql
313. r_fmt, r_params = self.connection.ops.return_insert_id()
314. result.append(r_fmt % col)
315. params = params + r_params
316. return ' '.join(result), params
317.
318. def execute_sql(self, return_id=False):
319. self.return_id = return_id
320. cursor = super(InsertQuery, self).execute_sql(None) ...
321. if not (return_id and cursor):
322. return
323. if self.connection.features.can_return_id_from_insert:
324. return self.connection.ops.fetch_returned_insert_id(cursor)
325. return self.connection.ops.last_insert_id(cursor,
326. self.model._meta.db_table, self.model._meta.pk.column)
▶ Local vars
Variable Value
return_id
True
self
<django.db.models.sql.subqueries.InsertQuery object at 0x915606c>
* /usr/lib/pymodules/python2.6/django/db/models/sql/query.py in execute_sql
2362. raise EmptyResultSet
2363. except EmptyResultSet:
2364. if result_type == MULTI:
2365. return empty_iter()
2366. else:
2367. return
2368. cursor = self.connection.cursor()
2369. cursor.execute(sql, params) ...
2370.
2371. if not result_type:
2372. return cursor
2373. if result_type == SINGLE:
2374. if self.ordering_aliases:
2375. return cursor.fetchone()[:-len(self.ordering_aliases)]
▶ Local vars
Variable Value
cursor
<django.db.backends.util.CursorDebugWrapper object at 0x9251f2c>
params
(3, <django.utils.functional.__proxy__ object at 0x91cfccc>)
result_type
None
self
<django.db.models.sql.subqueries.InsertQuery object at 0x915606c>
sql
'INSERT INTO "auth_message" ("user_id", "message") VALUES (%s, %s)'
* /usr/lib/pymodules/python2.6/django/db/backends/util.py in execute
12. def __init__(self, cursor, db):
13. self.cursor = cursor
14. self.db = db # Instance of a BaseDatabaseWrapper subclass
15.
16. def execute(self, sql, params=()):
17. start = time()
18. try:
19. return self.cursor.execute(sql, params) ...
20. finally:
21. stop = time()
22. sql = self.db.ops.last_executed_query(self.cursor, sql, params)
23. self.db.queries.append({
24. 'sql': sql,
25. 'time': "%.3f" % (stop - start),
▶ Local vars
Variable Value
params
(3, <django.utils.functional.__proxy__ object at 0x91cfccc>)
self
<django.db.backends.util.CursorDebugWrapper object at 0x9251f2c>
sql
u'INSERT INTO "auth_message" ("user_id", "message") VALUES (3, Team details updated)'
start
1263946259.058177
stop
1263946259.0583251
* /usr/lib/pymodules/python2.6/django/db/backends/sqlite3/base.py in execute
186. """
187. Django uses "format" style placeholders, but pysqlite2 uses "qmark" style.
188. This fixes it -- but note that if you want to use a literal "%s" in a query,
189. you'll need to use "%%s".
190. """
191. def execute(self, query, params=()):
192. query = self.convert_query(query, len(params))
193. return Database.Cursor.execute(self, query, params) ...
194.
195. def executemany(self, query, param_list):
196. try:
197. query = self.convert_query(query, len(param_list[0]))
198. return Database.Cursor.executemany(self, query, param_list)
199. except (IndexError,TypeError):
▶ Local vars
Variable Value
params
(3, <django.utils.functional.__proxy__ object at 0x91cfccc>)
query
'INSERT INTO "auth_message" ("user_id", "message") VALUES (?, ?)'
self
<django.db.backends.sqlite3.base.SQLiteCursorWrapper object at 0x9231acc>
Environment: Request Method: POST Request URL:
http://growingupfree.org:8000/teams/ubuntu-us-florida/edit Django
Version: 1.1.1 Python Version: 2.6.4 Installed Applications:
['django.contrib.auth', 'django.contrib.contenttypes',
'django.contrib.sessions', 'django.contrib.admin', 'common', 'teams',
'events', 'venues', 'django_openid_auth'] Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware') Traceback:
File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py" in
get_response 92. response = callback(request, *callback_args,
**callback_kwargs) File
"/usr/lib/pymodules/python2.6/django/contrib/auth/decorators.py" in
__call__ 78. return self.view_func(request, *args, **kwargs) File
"/home/mhall/projects/loco-directory/loco_directory/teams/views.py" in
team_edit 91. request.user.message_set.create(message=_('Team details
updated')) File
"/usr/lib/pymodules/python2.6/django/db/models/fields/related.py" in
create 367. return super(RelatedManager, self).create(**kwargs) File
"/usr/lib/pymodules/python2.6/django/db/models/manager.py" in create
126. return self.get_query_set().create(**kwargs) File
"/usr/lib/pymodules/python2.6/django/db/models/query.py" in create 315.
obj.save(force_insert=True) File
"/usr/lib/pymodules/python2.6/django/db/models/base.py" in save 410.
self.save_base(force_insert=force_insert, force_update=force_update)
File "/usr/lib/pymodules/python2.6/django/db/models/base.py" in
save_base 495. result = manager._insert(values, return_id=update_pk)
File "/usr/lib/pymodules/python2.6/django/db/models/manager.py" in
_insert 177. return insert_query(self.model, values, **kwargs) File
"/usr/lib/pymodules/python2.6/django/db/models/query.py" in insert_query
1087. return query.execute_sql(return_id) File
"/usr/lib/pymodules/python2.6/django/db/models/sql/subqueries.py" in
execute_sql 320. cursor = super(InsertQuery, self).execute_sql(None)
File "/usr/lib/pymodules/python2.6/django/db/models/sql/query.py" in
execute_sql 2369. cursor.execute(sql, params) File
"/usr/lib/pymodules/python2.6/django/db/backends/util.py" in execute 19.
return self.cursor.execute(sql, params) File
"/usr/lib/pymodules/python2.6/django/db/backends/sqlite3/base.py" in
execute 193. return Database.Cursor.execute(self, query, params)
Exception Type: InterfaceError at /teams/ubuntu-us-florida/edit
Exception Value: Error binding parameter 1 - probably unsupported type.
Request information
GET
No GET data
POST
Variable Value
forum_url
u''
city
u''
mugshot_url
u'https://edge.launchpad.net/api/beta/~ubuntu-us-florida/mugshot'
wiki_url
u'https://wiki.ubuntu.com/FloridaTeam'
country
u'USA'
spr
u'Florida'
irc_chan
u'#ubuntu-us-fl'
provides_support
u'on'
web_url
u'http://www.ubuntu-fl.org/'
ml_url
u'http://lists.ubuntu.com/ubuntu-us-fl'
email
u''
FILES
No FILES data
COOKIES
Variable Value
sessionid
'137166bb5abee383da977016a959f138'
META
Variable Value
CONTENT_LENGTH
'330'
CONTENT_TYPE
'application/x-www-form-urlencoded'
DJANGO_SETTINGS_MODULE
'loco_directory.settings'
GATEWAY_INTERFACE
'CGI/1.1'
HISTCONTROL
'ignoreboth'
HOME
'/home/mhall'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_ACCEPT_LANGUAGE
'en-us,en;q=0.5'
HTTP_CONNECTION
'keep-alive'
HTTP_COOKIE
'sessionid=137166bb5abee383da977016a959f138'
HTTP_HOST
'growingupfree.org:8000'
HTTP_KEEP_ALIVE
'300'
HTTP_REFERER
'http://growingupfree.org:8000/teams/ubuntu-us-florida/edit'
HTTP_USER_AGENT
'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/10.04 (lucid) Firefox/3.5.7'
LANG
'en_US.UTF-8'
LESSCLOSE
'/usr/bin/lesspipe %s %s'
LESSOPEN
'| /usr/bin/lesspipe %s'
LOGNAME
'mhall'
LS_COLORS
'rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'
MAIL
'/var/mail/mhall'
OLDPWD
'/home/mhall/projects/loco-directory'
PATH
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'
PATH_INFO
u'/teams/ubuntu-us-florida/edit'
PWD
'/home/mhall/projects/loco-directory/loco_directory'
QUERY_STRING
''
REMOTE_ADDR
'70.184.144.249'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RUN_MAIN
'true'
SCRIPT_NAME
u''
SERVER_NAME
'rrcs-24-227-64-126.se.biz.rr.com'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.1 Python/2.6.4'
SHELL
'/bin/bash'
SHLVL
'2'
SSH_AUTH_SOCK
'/var/run/screen/S-mhall/byobu.ssh-agent'
SSH_CLIENT
'173.65.27.166 49318 22'
SSH_CONNECTION
'173.65.27.166 49318 24.227.64.126 22'
SSH_TTY
'/dev/pts/0'
STY
'1545.pts-0.quinnco'
TERM
'screen-bce'
TERMCAP
'SC|screen-bce|VT 100/ANSI X3.64 virtual terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#54:co#144:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\\n\t:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:\\\n\t:im=\\E[4h:ei=\\E[4l:mi:IC=\\E[%d@:ks=\\E[?1h\\E=:\\\n\t:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E[34l:\\\n\t:ti=\\E[?1049h:te=\\E[?1049l:us=\\E[4m:ue=\\E[24m:so=\\E[3m:\\\n\t:se=\\E[23m:mb=\\E[5m:md=\\E[1m:mr=\\E[7m:me=\\E[m:ms:\\\n\t:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E[39;49m:AX:\\\n\t:vb=\\Eg:G0:as=\\E(0:ae=\\E(B:\\\n\t:ac=\\140\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\\\n\t:po=\\E[5i:pf=\\E[4i:k0=\\E[10~:k1=\\EOP:k;=\\E[21~:\\\n\t:F1=\\E[23~:F3=\\EO2P:F4=\\EO2Q:F5=\\EO2R:F6=\\EO2S:\\\n\t:F7=\\E[15;2~:F8=\\E[17;2~:F9=\\E[18;2~:FA=\\E[19;2~:kb=\x7f:\\\n\t:K2=\\EOE:kB=\\E[Z:*4=\\E[3;2~:*7=\\E[1;2F:#2=\\E[1;2H:\\\n\t:#3=\\E[2;2~:#4=\\E[1;2D:%c=\\E[6;2~:%e=\\E[5;2~:%i=\\E[1;2C:\\\n\t:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:@7=\\E[4~:kN=\\E[6~:kP=\\E[5~:\\\n\t:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:kd=\\EOB:kr=\\EOC:kl=\\EOD:km:'
TZ
'UTC'
USER
'mhall'
WINDOW
'1'
XDG_SESSION_COOKIE
'f7bd209dac6d0ff52638e57a4a5e49c9-1263653802.676173-286252189'
_
'/usr/bin/python'
wsgi.errors
<open file '<stderr>', mode 'w' at 0xb788e0c0>
wsgi.file_wrapper
<class 'django.core.servers.basehttp.FileWrapper'>
wsgi.input
<socket._fileobject object at 0x90ede6c>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
Settings
Using settings module loco_directory.settings
Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('somebody', 'somebody@xxxxxxxxxxx'),)
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'/media/admin/'
ALLOWED_INCLUDE_ROOTS
()
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('django_openid_auth.auth.OpenIDBackend', 'django.contrib.auth.backends.ModelBackend')
BANNED_IPS
()
CACHE_BACKEND
'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX
''
CACHE_MIDDLEWARE_SECONDS
600
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_BANNED_USERS_GROUP
None
COMMENTS_FIRST_FEW
0
COMMENTS_MODERATORS_GROUP
None
COMMENTS_SKETCHY_USERS_GROUP
None
DATABASE_ENGINE
'sqlite3'
DATABASE_HOST
''
DATABASE_NAME
'loco_directory.db'
DATABASE_OPTIONS
{}
DATABASE_PASSWORD
'********************'
DATABASE_PORT
''
DATABASE_USER
''
DATETIME_FORMAT
'N j, Y, P'
DATE_FORMAT
'N j, Y'
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
()
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_USE_TLS
False
FILE_CHARSET
'utf-8'
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIXTURE_DIRS
()
FORCE_SCRIPT_NAME
None
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS
['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'common', 'teams', 'events', 'venues', 'django_openid_auth']
INTERNAL_IPS
()
LANGUAGES
(('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('et', 'Estonian'), ('es-ar', 'Argentinean Spanish'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Irish'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('lt', 'Lithuanian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_NAME
'django_language'
LOCALE_PATHS
()
LOGIN_REDIRECT_URL
'/'
LOGIN_URL
'/openid/login'
LOGOUT_URL
'/accounts/logout/'
LP_PROJECT_NAME
'loco-directory'
MANAGERS
(('somebody', 'somebody@xxxxxxxxxxx'),)
MEDIA_ROOT
'/home/mhall/projects/loco-directory/loco_directory/media'
MEDIA_URL
'/media/'
MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware')
MONTH_DAY_FORMAT
'F j'
OPENID_CREATE_USERS
True
OPENID_LAUNCHPAD_TEAMS_MAPPING
{'ubuntu-lococouncil': 'ubuntu-lococouncil'}
OPENID_REUSE_USERS
True
OPENID_SSO_SERVER_URL
'https://login.launchpad.net/'
OPENID_UPDATE_DETAILS_FROM_SREG
True
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
PROFANITIES_LIST
'********************'
PROJECT_PATH
'/home/mhall/projects/loco-directory/loco_directory'
ROOT_URLCONF
'loco_directory.urls'
SECRET_KEY
'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
'loco_directory.settings'
SITE_ID
1
STATIC_SERVE
True
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'common.context_processors.loco_version')
TEMPLATE_DEBUG
True
TEMPLATE_DIRS
('/home/mhall/projects/loco-directory/loco_directory/templates',)
TEMPLATE_LOADERS
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
TEMPLATE_STRING_IF_INVALID
''
TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
'django.test.simple.run_tests'
TIME_FORMAT
'P'
TIME_ZONE
'UTC'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
'Django/1.1.1 (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
True
VERSION_STRING
'version not-yet-0.2.0 (rev 45)'
YEAR_MONTH_FORMAT
'F Y'
You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a standard
500 page.
** Affects: loco-directory
Importance: Undecided
Status: New
--
error adding mailing list
https://bugs.launchpad.net/bugs/509916
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to loco-directory.
Status in LoCo Directory: New
Bug description:
InterfaceError at /teams/ubuntu-us-florida/edit
Error binding parameter 1 - probably unsupported type.
Request Method: POST
Request URL: http://growingupfree.org:8000/teams/ubuntu-us-florida/edit
Exception Type: InterfaceError
Exception Value:
Error binding parameter 1 - probably unsupported type.
Exception Location: /usr/lib/pymodules/python2.6/django/db/backends/sqlite3/base.py in execute, line 193
Python Executable: /usr/bin/python
Python Version: 2.6.4
Python Path: ['/home/mhall/projects/loco-directory/loco_directory', '/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']
Server time: Wed, 20 Jan 2010 00:10:59 +0000
Traceback Switch to copy-and-paste view
* /usr/lib/pymodules/python2.6/django/core/handlers/base.py in get_response
85. # Apply view middleware
86. for middleware_method in self._view_middleware:
87. response = middleware_method(request, callback, callback_args, callback_kwargs)
88. if response:
89. return response
90.
91. try:
92. response = callback(request, *callback_args, **callback_kwargs) ...
93. except Exception, e:
94. # If the view raised an exception, run it through exception
95. # middleware, and if the exception middleware returns a
96. # response, use that. Otherwise, reraise the exception.
97. for middleware_method in self._exception_middleware:
98. response = middleware_method(request, e)
▶ Local vars
Variable Value
callback
<django.contrib.auth.decorators._CheckLogin object at 0x9016fac>
callback_args
()
callback_kwargs
{'team_slug': u'ubuntu-us-florida'}
e
InterfaceError('Error binding parameter 1 - probably unsupported type.',)
exc_info
(<class 'pysqlite2.dbapi2.InterfaceError'>, InterfaceError('Error binding parameter 1 - probably unsupported type.',), <traceback object at 0x910aa2c>)
exceptions
<module 'django.core.exceptions' from '/usr/lib/pymodules/python2.6/django/core/exceptions.pyc'>
middleware_method
<bound method AuthenticationMiddleware.process_request of <django.contrib.auth.middleware.AuthenticationMiddleware object at 0x8e5254c>>
receivers
[(<function _rollback_on_exception at 0x8bfb4c4>, None)]
request
<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'forum_url': [u''], u'city': [u''], u'mugshot_url': [u'https://edge.launchpad.net/api/beta/~ubuntu-us-florida/mugshot'], u'wiki_url': [u'https://wiki.ubuntu.com/FloridaTeam'], u'country': [u'USA'], u'spr': [u'Florida'], u'irc_chan': [u'#ubuntu-us-fl'], u'provides_support': [u'on'], u'web_url': [u'http://www.ubuntu-fl.org/'], u'ml_url': [u'http://lists.ubuntu.com/ubuntu-us-fl'], u'email': [u'']}>, COOKIES:{'sessionid': '137166bb5abee383da977016a959f138'}, META:{'CONTENT_LENGTH': '330', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DJANGO_SETTINGS_MODULE': 'loco_directory.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HISTCONTROL': 'ignoreboth', 'HOME': '/home/mhall', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=137166bb5abee383da977016a959f138', 'HTTP_HOST': 'growingupfree.org:8000', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://growingupfree.org:8000/teams/ubuntu-us-florida/edit', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/10.04 (lucid) Firefox/3.5.7', 'LANG': 'en_US.UTF-8', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'mhall', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'MAIL': '/var/mail/mhall', 'OLDPWD': '/home/mhall/projects/loco-directory', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PATH_INFO': u'/teams/ubuntu-us-florida/edit', 'PWD': '/home/mhall/projects/loco-directory/loco_directory', 'QUERY_STRING': '', 'REMOTE_ADDR': '70.184.144.249', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'rrcs-24-227-64-126.se.biz.rr.com', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.4', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SSH_AUTH_SOCK': '/var/run/screen/S-mhall/byobu.ssh-agent', 'SSH_CLIENT': '173.65.27.166 49318 22', 'SSH_CONNECTION': '173.65.27.166 49318 24.227.64.126 22', 'SSH_TTY': '/dev/pts/0', 'STY': '1545.pts-0.quinnco', 'TERM': 'screen-bce', 'TERMCAP': 'SC|screen-bce|VT 100/ANSI X3.64 virtual terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#54:co#144:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\\n\t:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:\\\n\t:im=\\E[4h:ei=\\E[4l:mi:IC=\\E[%d@:ks=\\E[?1h\\E=:\\\n\t:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E[34l:\\\n\t:ti=\\E[?1049h:te=\\E[?1049l:us=\\E[4m:ue=\\E[24m:so=\\E[3m:\\\n\t:se=\\E[23m:mb=\\E[5m:md=\\E[1m:mr=\\E[7m:me=\\E[m:ms:\\\n\t:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E[39;49m:AX:\\\n\t:vb=\\Eg:G0:as=\\E(0:ae=\\E(B:\\\n\t:ac=\\140\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\\\n\t:po=\\E[5i:pf=\\E[4i:k0=\\E[10~:k1=\\EOP:k;=\\E[21~:\\\n\t:F1=\\E[23~:F3=\\EO2P:F4=\\EO2Q:F5=\\EO2R:F6=\\EO2S:\\\n\t:F7=\\E[15;2~:F8=\\E[17;2~:F9=\\E[18;2~:FA=\\E[19;2~:kb=\x7f:\\\n\t:K2=\\EOE:kB=\\E[Z:*4=\\E[3;2~:*7=\\E[1;2F:#2=\\E[1;2H:\\\n\t:#3=\\E[2;2~:#4=\\E[1;2D:%c=\\E[6;2~:%e=\\E[5;2~:%i=\\E[1;2C:\\\n\t:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:@7=\\E[4~:kN=\\E[6~:kP=\\E[5~:\\\n\t:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:kd=\\EOB:kr=\\EOC:kl=\\EOD:km:', 'TZ': 'UTC', 'USER': 'mhall', 'WINDOW': '1', 'XDG_SESSION_COOKIE': 'f7bd209dac6d0ff52638e57a4a5e49c9-1263653802.676173-286252189', '_': '/usr/bin/python', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb788e0c0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x90ede6c>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
resolver
<RegexURLResolver loco_directory.urls (None:None) ^/>
response
None
self
<django.core.handlers.wsgi.WSGIHandler object at 0x8dad4ec>
settings
<django.conf.LazySettings object at 0x8acea2c>
urlconf
'loco_directory.urls'
urlresolvers
<module 'django.core.urlresolvers' from '/usr/lib/pymodules/python2.6/django/core/urlresolvers.pyc'>
* /usr/lib/pymodules/python2.6/django/contrib/auth/decorators.py in __call__
71.
72. def __get__(self, obj, cls=None):
73. view_func = self.view_func.__get__(obj, cls)
74. return _CheckLogin(view_func, self.test_func, self.login_url, self.redirect_field_name)
75.
76. def __call__(self, request, *args, **kwargs):
77. if self.test_func(request.user):
78. return self.view_func(request, *args, **kwargs) ...
79. path = urlquote(request.get_full_path())
80. tup = self.login_url, self.redirect_field_name, path
81. return HttpResponseRedirect('%s?%s=%s' % tup)
▶ Local vars
Variable Value
args
()
kwargs
{'team_slug': u'ubuntu-us-florida'}
request
<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'forum_url': [u''], u'city': [u''], u'mugshot_url': [u'https://edge.launchpad.net/api/beta/~ubuntu-us-florida/mugshot'], u'wiki_url': [u'https://wiki.ubuntu.com/FloridaTeam'], u'country': [u'USA'], u'spr': [u'Florida'], u'irc_chan': [u'#ubuntu-us-fl'], u'provides_support': [u'on'], u'web_url': [u'http://www.ubuntu-fl.org/'], u'ml_url': [u'http://lists.ubuntu.com/ubuntu-us-fl'], u'email': [u'']}>, COOKIES:{'sessionid': '137166bb5abee383da977016a959f138'}, META:{'CONTENT_LENGTH': '330', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DJANGO_SETTINGS_MODULE': 'loco_directory.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HISTCONTROL': 'ignoreboth', 'HOME': '/home/mhall', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=137166bb5abee383da977016a959f138', 'HTTP_HOST': 'growingupfree.org:8000', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://growingupfree.org:8000/teams/ubuntu-us-florida/edit', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/10.04 (lucid) Firefox/3.5.7', 'LANG': 'en_US.UTF-8', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'mhall', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'MAIL': '/var/mail/mhall', 'OLDPWD': '/home/mhall/projects/loco-directory', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PATH_INFO': u'/teams/ubuntu-us-florida/edit', 'PWD': '/home/mhall/projects/loco-directory/loco_directory', 'QUERY_STRING': '', 'REMOTE_ADDR': '70.184.144.249', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'rrcs-24-227-64-126.se.biz.rr.com', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.4', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SSH_AUTH_SOCK': '/var/run/screen/S-mhall/byobu.ssh-agent', 'SSH_CLIENT': '173.65.27.166 49318 22', 'SSH_CONNECTION': '173.65.27.166 49318 24.227.64.126 22', 'SSH_TTY': '/dev/pts/0', 'STY': '1545.pts-0.quinnco', 'TERM': 'screen-bce', 'TERMCAP': 'SC|screen-bce|VT 100/ANSI X3.64 virtual terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#54:co#144:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\\n\t:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:\\\n\t:im=\\E[4h:ei=\\E[4l:mi:IC=\\E[%d@:ks=\\E[?1h\\E=:\\\n\t:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E[34l:\\\n\t:ti=\\E[?1049h:te=\\E[?1049l:us=\\E[4m:ue=\\E[24m:so=\\E[3m:\\\n\t:se=\\E[23m:mb=\\E[5m:md=\\E[1m:mr=\\E[7m:me=\\E[m:ms:\\\n\t:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E[39;49m:AX:\\\n\t:vb=\\Eg:G0:as=\\E(0:ae=\\E(B:\\\n\t:ac=\\140\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\\\n\t:po=\\E[5i:pf=\\E[4i:k0=\\E[10~:k1=\\EOP:k;=\\E[21~:\\\n\t:F1=\\E[23~:F3=\\EO2P:F4=\\EO2Q:F5=\\EO2R:F6=\\EO2S:\\\n\t:F7=\\E[15;2~:F8=\\E[17;2~:F9=\\E[18;2~:FA=\\E[19;2~:kb=\x7f:\\\n\t:K2=\\EOE:kB=\\E[Z:*4=\\E[3;2~:*7=\\E[1;2F:#2=\\E[1;2H:\\\n\t:#3=\\E[2;2~:#4=\\E[1;2D:%c=\\E[6;2~:%e=\\E[5;2~:%i=\\E[1;2C:\\\n\t:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:@7=\\E[4~:kN=\\E[6~:kP=\\E[5~:\\\n\t:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:kd=\\EOB:kr=\\EOC:kl=\\EOD:km:', 'TZ': 'UTC', 'USER': 'mhall', 'WINDOW': '1', 'XDG_SESSION_COOKIE': 'f7bd209dac6d0ff52638e57a4a5e49c9-1263653802.676173-286252189', '_': '/usr/bin/python', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb788e0c0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x90ede6c>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
self
<django.contrib.auth.decorators._CheckLogin object at 0x9016fac>
* /home/mhall/projects/loco-directory/loco_directory/teams/views.py in team_edit
84. if request.method == "POST":
85. if is_on_lc:
86. form = forms.LoCoCouncilForm(data=request.POST, instance=team_object)
87. else:
88. form = forms.UpdateTeamForm(data=request.POST, instance=team_object)
89. if form.is_valid():
90. form.save()
91. request.user.message_set.create(message=_('Team details updated')) ...
92. return redirect( team_object )
93. else:
94. request.user.message_set.create(message=_('Team details could not be saved.'))
95. else:
96. if is_on_lc:
97. form = forms.LoCoCouncilForm(instance=team_object)
▶ Local vars
Variable Value
form
<teams.forms.UpdateTeamForm object at 0x9058dcc>
is_contact
True
is_on_lc
False
request
<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'forum_url': [u''], u'city': [u''], u'mugshot_url': [u'https://edge.launchpad.net/api/beta/~ubuntu-us-florida/mugshot'], u'wiki_url': [u'https://wiki.ubuntu.com/FloridaTeam'], u'country': [u'USA'], u'spr': [u'Florida'], u'irc_chan': [u'#ubuntu-us-fl'], u'provides_support': [u'on'], u'web_url': [u'http://www.ubuntu-fl.org/'], u'ml_url': [u'http://lists.ubuntu.com/ubuntu-us-fl'], u'email': [u'']}>, COOKIES:{'sessionid': '137166bb5abee383da977016a959f138'}, META:{'CONTENT_LENGTH': '330', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DJANGO_SETTINGS_MODULE': 'loco_directory.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HISTCONTROL': 'ignoreboth', 'HOME': '/home/mhall', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=137166bb5abee383da977016a959f138', 'HTTP_HOST': 'growingupfree.org:8000', 'HTTP_KEEP_ALIVE': '300', 'HTTP_REFERER': 'http://growingupfree.org:8000/teams/ubuntu-us-florida/edit', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/10.04 (lucid) Firefox/3.5.7', 'LANG': 'en_US.UTF-8', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LOGNAME': 'mhall', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'MAIL': '/var/mail/mhall', 'OLDPWD': '/home/mhall/projects/loco-directory', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PATH_INFO': u'/teams/ubuntu-us-florida/edit', 'PWD': '/home/mhall/projects/loco-directory/loco_directory', 'QUERY_STRING': '', 'REMOTE_ADDR': '70.184.144.249', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'POST', 'RUN_MAIN': 'true', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'rrcs-24-227-64-126.se.biz.rr.com', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.6.4', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SSH_AUTH_SOCK': '/var/run/screen/S-mhall/byobu.ssh-agent', 'SSH_CLIENT': '173.65.27.166 49318 22', 'SSH_CONNECTION': '173.65.27.166 49318 24.227.64.126 22', 'SSH_TTY': '/dev/pts/0', 'STY': '1545.pts-0.quinnco', 'TERM': 'screen-bce', 'TERMCAP': 'SC|screen-bce|VT 100/ANSI X3.64 virtual terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#54:co#144:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\\n\t:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:\\\n\t:im=\\E[4h:ei=\\E[4l:mi:IC=\\E[%d@:ks=\\E[?1h\\E=:\\\n\t:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E[34l:\\\n\t:ti=\\E[?1049h:te=\\E[?1049l:us=\\E[4m:ue=\\E[24m:so=\\E[3m:\\\n\t:se=\\E[23m:mb=\\E[5m:md=\\E[1m:mr=\\E[7m:me=\\E[m:ms:\\\n\t:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E[39;49m:AX:\\\n\t:vb=\\Eg:G0:as=\\E(0:ae=\\E(B:\\\n\t:ac=\\140\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\\\n\t:po=\\E[5i:pf=\\E[4i:k0=\\E[10~:k1=\\EOP:k;=\\E[21~:\\\n\t:F1=\\E[23~:F3=\\EO2P:F4=\\EO2Q:F5=\\EO2R:F6=\\EO2S:\\\n\t:F7=\\E[15;2~:F8=\\E[17;2~:F9=\\E[18;2~:FA=\\E[19;2~:kb=\x7f:\\\n\t:K2=\\EOE:kB=\\E[Z:*4=\\E[3;2~:*7=\\E[1;2F:#2=\\E[1;2H:\\\n\t:#3=\\E[2;2~:#4=\\E[1;2D:%c=\\E[6;2~:%e=\\E[5;2~:%i=\\E[1;2C:\\\n\t:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:@7=\\E[4~:kN=\\E[6~:kP=\\E[5~:\\\n\t:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:kd=\\EOB:kr=\\EOC:kl=\\EOD:km:', 'TZ': 'UTC', 'USER': 'mhall', 'WINDOW': '1', 'XDG_SESSION_COOKIE': 'f7bd209dac6d0ff52638e57a4a5e49c9-1263653802.676173-286252189', '_': '/usr/bin/python', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb788e0c0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0x90ede6c>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
team_object
<Team: ubuntu-us-florida>
team_slug
u'ubuntu-us-florida'
* /usr/lib/pymodules/python2.6/django/db/models/fields/related.py in create
360. raise TypeError, "'%s' instance expected" % self.model._meta.object_name
361. setattr(obj, rel_field.name, instance)
362. obj.save()
363. add.alters_data = True
364.
365. def create(self, **kwargs):
366. kwargs.update({rel_field.name: instance})
367. return super(RelatedManager, self).create(**kwargs) ...
368. create.alters_data = True
369.
370. def get_or_create(self, **kwargs):
371. # Update kwargs with the related object that this
372. # ForeignRelatedObjectsDescriptor knows about.
373. kwargs.update({rel_field.name: instance})
▶ Local vars
Variable Value
RelatedManager
<class 'django.db.models.fields.related.RelatedManager'>
instance
<User: dantrevino>
kwargs
{'message': <django.utils.functional.__proxy__ object at 0x91cfccc>, 'user': <User: dantrevino>}
rel_field
<django.db.models.fields.related.ForeignKey object at 0x8de4b2c>
self
<django.db.models.fields.related.RelatedManager object at 0x8e0986c>
* /usr/lib/pymodules/python2.6/django/db/models/manager.py in create
119. def get(self, *args, **kwargs):
120. return self.get_query_set().get(*args, **kwargs)
121.
122. def get_or_create(self, **kwargs):
123. return self.get_query_set().get_or_create(**kwargs)
124.
125. def create(self, **kwargs):
126. return self.get_query_set().create(**kwargs) ...
127.
128. def filter(self, *args, **kwargs):
129. return self.get_query_set().filter(*args, **kwargs)
130.
131. def aggregate(self, *args, **kwargs):
132. return self.get_query_set().aggregate(*args, **kwargs)
▶ Local vars
Variable Value
kwargs
{'message': <django.utils.functional.__proxy__ object at 0x91cfccc>, 'user': <User: dantrevino>}
self
<django.db.models.fields.related.RelatedManager object at 0x8e0986c>
* /usr/lib/pymodules/python2.6/django/db/models/query.py in create
308.
309. def create(self, **kwargs):
310. """
311. Creates a new object with the given kwargs, saving it to the database
312. and returning the created object.
313. """
314. obj = self.model(**kwargs)
315. obj.save(force_insert=True) ...
316. return obj
317.
318. def get_or_create(self, **kwargs):
319. """
320. Looks up an object with the given kwargs, creating one if necessary.
321. Returns a tuple of (object, created), where created is a boolean
▶ Local vars
Variable Value
kwargs
{'message': <django.utils.functional.__proxy__ object at 0x91cfccc>, 'user': <User: dantrevino>}
obj
Error in formatting: coercing to Unicode: need string or buffer, __proxy__ found
self
[]
* /usr/lib/pymodules/python2.6/django/db/models/base.py in save
403. The 'force_insert' and 'force_update' parameters can be used to insist
404. that the "save" must be an SQL insert or update (or equivalent for
405. non-SQL backends), respectively. Normally, they should not be set.
406. """
407. if force_insert and force_update:
408. raise ValueError("Cannot force both insert and updating in "
409. "model saving.")
410. self.save_base(force_insert=force_insert, force_update=force_update) ...
411.
412. save.alters_data = True
413.
414. def save_base(self, raw=False, cls=None, origin=None,
415. force_insert=False, force_update=False):
416. """
▶ Local vars
Variable Value
force_insert
True
force_update
False
self
Error in formatting: coercing to Unicode: need string or buffer, __proxy__ found
* /usr/lib/pymodules/python2.6/django/db/models/base.py in save_base
488. field = meta.order_with_respect_to
489. values.append((meta.get_field_by_name('_order')[0], manager.filter(**{field.name: getattr(self, field.attname)}).count()))
490. record_exists = False
491.
492. update_pk = bool(meta.has_auto_field and not pk_set)
493. if values:
494. # Create a new record.
495. result = manager._insert(values, return_id=update_pk) ...
496. else:
497. # Create a new record with defaults for everything.
498. result = manager._insert([(meta.pk, connection.ops.pk_default_value())], return_id=update_pk, raw_values=True)
499.
500. if update_pk:
501. setattr(self, meta.pk.attname, result)
▶ Local vars
Variable Value
cls
<class 'django.contrib.auth.models.Message'>
f
<django.db.models.fields.TextField object at 0x8de4bac>
force_insert
True
force_update
False
manager
<django.db.models.manager.Manager object at 0x8de4f4c>
meta
<Options for Message>
non_pks
[<django.db.models.fields.related.ForeignKey object at 0x8de4b2c>, <django.db.models.fields.TextField object at 0x8de4bac>]
org
None
origin
<class 'django.contrib.auth.models.Message'>
pk_set
False
pk_val
None
raw
False
record_exists
False
self
Error in formatting: coercing to Unicode: need string or buffer, __proxy__ found
update_pk
True
values
[(<django.db.models.fields.related.ForeignKey object at 0x8de4b2c>, 3), (<django.db.models.fields.TextField object at 0x8de4bac>, <django.utils.functional.__proxy__ object at 0x91cfccc>)]
* /usr/lib/pymodules/python2.6/django/db/models/manager.py in _insert
170. def defer(self, *args, **kwargs):
171. return self.get_query_set().defer(*args, **kwargs)
172.
173. def only(self, *args, **kwargs):
174. return self.get_query_set().only(*args, **kwargs)
175.
176. def _insert(self, values, **kwargs):
177. return insert_query(self.model, values, **kwargs) ...
178.
179. def _update(self, values, **kwargs):
180. return self.get_query_set()._update(values, **kwargs)
181.
182. class ManagerDescriptor(object):
183. # This class ensures managers aren't accessible via model instances.
▶ Local vars
Variable Value
kwargs
{'return_id': True}
self
<django.db.models.manager.Manager object at 0x8de4f4c>
values
[(<django.db.models.fields.related.ForeignKey object at 0x8de4b2c>, 3), (<django.db.models.fields.TextField object at 0x8de4bac>, <django.utils.functional.__proxy__ object at 0x91cfccc>)]
* /usr/lib/pymodules/python2.6/django/db/models/query.py in insert_query
1080. """
1081. Inserts a new record for the given model. This provides an interface to
1082. the InsertQuery class and is how Model.save() is implemented. It is not
1083. part of the public API.
1084. """
1085. query = sql.InsertQuery(model, connection)
1086. query.insert_values(values, raw_values)
1087. return query.execute_sql(return_id) ...
▶ Local vars
Variable Value
model
<class 'django.contrib.auth.models.Message'>
query
<django.db.models.sql.subqueries.InsertQuery object at 0x915606c>
raw_values
False
return_id
True
values
[(<django.db.models.fields.related.ForeignKey object at 0x8de4b2c>, 3), (<django.db.models.fields.TextField object at 0x8de4bac>, <django.utils.functional.__proxy__ object at 0x91cfccc>)]
* /usr/lib/pymodules/python2.6/django/db/models/sql/subqueries.py in execute_sql
313. r_fmt, r_params = self.connection.ops.return_insert_id()
314. result.append(r_fmt % col)
315. params = params + r_params
316. return ' '.join(result), params
317.
318. def execute_sql(self, return_id=False):
319. self.return_id = return_id
320. cursor = super(InsertQuery, self).execute_sql(None) ...
321. if not (return_id and cursor):
322. return
323. if self.connection.features.can_return_id_from_insert:
324. return self.connection.ops.fetch_returned_insert_id(cursor)
325. return self.connection.ops.last_insert_id(cursor,
326. self.model._meta.db_table, self.model._meta.pk.column)
▶ Local vars
Variable Value
return_id
True
self
<django.db.models.sql.subqueries.InsertQuery object at 0x915606c>
* /usr/lib/pymodules/python2.6/django/db/models/sql/query.py in execute_sql
2362. raise EmptyResultSet
2363. except EmptyResultSet:
2364. if result_type == MULTI:
2365. return empty_iter()
2366. else:
2367. return
2368. cursor = self.connection.cursor()
2369. cursor.execute(sql, params) ...
2370.
2371. if not result_type:
2372. return cursor
2373. if result_type == SINGLE:
2374. if self.ordering_aliases:
2375. return cursor.fetchone()[:-len(self.ordering_aliases)]
▶ Local vars
Variable Value
cursor
<django.db.backends.util.CursorDebugWrapper object at 0x9251f2c>
params
(3, <django.utils.functional.__proxy__ object at 0x91cfccc>)
result_type
None
self
<django.db.models.sql.subqueries.InsertQuery object at 0x915606c>
sql
'INSERT INTO "auth_message" ("user_id", "message") VALUES (%s, %s)'
* /usr/lib/pymodules/python2.6/django/db/backends/util.py in execute
12. def __init__(self, cursor, db):
13. self.cursor = cursor
14. self.db = db # Instance of a BaseDatabaseWrapper subclass
15.
16. def execute(self, sql, params=()):
17. start = time()
18. try:
19. return self.cursor.execute(sql, params) ...
20. finally:
21. stop = time()
22. sql = self.db.ops.last_executed_query(self.cursor, sql, params)
23. self.db.queries.append({
24. 'sql': sql,
25. 'time': "%.3f" % (stop - start),
▶ Local vars
Variable Value
params
(3, <django.utils.functional.__proxy__ object at 0x91cfccc>)
self
<django.db.backends.util.CursorDebugWrapper object at 0x9251f2c>
sql
u'INSERT INTO "auth_message" ("user_id", "message") VALUES (3, Team details updated)'
start
1263946259.058177
stop
1263946259.0583251
* /usr/lib/pymodules/python2.6/django/db/backends/sqlite3/base.py in execute
186. """
187. Django uses "format" style placeholders, but pysqlite2 uses "qmark" style.
188. This fixes it -- but note that if you want to use a literal "%s" in a query,
189. you'll need to use "%%s".
190. """
191. def execute(self, query, params=()):
192. query = self.convert_query(query, len(params))
193. return Database.Cursor.execute(self, query, params) ...
194.
195. def executemany(self, query, param_list):
196. try:
197. query = self.convert_query(query, len(param_list[0]))
198. return Database.Cursor.executemany(self, query, param_list)
199. except (IndexError,TypeError):
▶ Local vars
Variable Value
params
(3, <django.utils.functional.__proxy__ object at 0x91cfccc>)
query
'INSERT INTO "auth_message" ("user_id", "message") VALUES (?, ?)'
self
<django.db.backends.sqlite3.base.SQLiteCursorWrapper object at 0x9231acc>
Environment: Request Method: POST Request URL: http://growingupfree.org:8000/teams/ubuntu-us-florida/edit Django Version: 1.1.1 Python Version: 2.6.4 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'common', 'teams', 'events', 'venues', 'django_openid_auth'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware') Traceback: File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py" in get_response 92. response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/pymodules/python2.6/django/contrib/auth/decorators.py" in __call__ 78. return self.view_func(request, *args, **kwargs) File "/home/mhall/projects/loco-directory/loco_directory/teams/views.py" in team_edit 91. request.user.message_set.create(message=_('Team details updated')) File "/usr/lib/pymodules/python2.6/django/db/models/fields/related.py" in create 367. return super(RelatedManager, self).create(**kwargs) File "/usr/lib/pymodules/python2.6/django/db/models/manager.py" in create 126. return self.get_query_set().create(**kwargs) File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in create 315. obj.save(force_insert=True) File "/usr/lib/pymodules/python2.6/django/db/models/base.py" in save 410. self.save_base(force_insert=force_insert, force_update=force_update) File "/usr/lib/pymodules/python2.6/django/db/models/base.py" in save_base 495. result = manager._insert(values, return_id=update_pk) File "/usr/lib/pymodules/python2.6/django/db/models/manager.py" in _insert 177. return insert_query(self.model, values, **kwargs) File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in insert_query 1087. return query.execute_sql(return_id) File "/usr/lib/pymodules/python2.6/django/db/models/sql/subqueries.py" in execute_sql 320. cursor = super(InsertQuery, self).execute_sql(None) File "/usr/lib/pymodules/python2.6/django/db/models/sql/query.py" in execute_sql 2369. cursor.execute(sql, params) File "/usr/lib/pymodules/python2.6/django/db/backends/util.py" in execute 19. return self.cursor.execute(sql, params) File "/usr/lib/pymodules/python2.6/django/db/backends/sqlite3/base.py" in execute 193. return Database.Cursor.execute(self, query, params) Exception Type: InterfaceError at /teams/ubuntu-us-florida/edit Exception Value: Error binding parameter 1 - probably unsupported type.
Request information
GET
No GET data
POST
Variable Value
forum_url
u''
city
u''
mugshot_url
u'https://edge.launchpad.net/api/beta/~ubuntu-us-florida/mugshot'
wiki_url
u'https://wiki.ubuntu.com/FloridaTeam'
country
u'USA'
spr
u'Florida'
irc_chan
u'#ubuntu-us-fl'
provides_support
u'on'
web_url
u'http://www.ubuntu-fl.org/'
ml_url
u'http://lists.ubuntu.com/ubuntu-us-fl'
email
u''
FILES
No FILES data
COOKIES
Variable Value
sessionid
'137166bb5abee383da977016a959f138'
META
Variable Value
CONTENT_LENGTH
'330'
CONTENT_TYPE
'application/x-www-form-urlencoded'
DJANGO_SETTINGS_MODULE
'loco_directory.settings'
GATEWAY_INTERFACE
'CGI/1.1'
HISTCONTROL
'ignoreboth'
HOME
'/home/mhall'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_ACCEPT_LANGUAGE
'en-us,en;q=0.5'
HTTP_CONNECTION
'keep-alive'
HTTP_COOKIE
'sessionid=137166bb5abee383da977016a959f138'
HTTP_HOST
'growingupfree.org:8000'
HTTP_KEEP_ALIVE
'300'
HTTP_REFERER
'http://growingupfree.org:8000/teams/ubuntu-us-florida/edit'
HTTP_USER_AGENT
'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/10.04 (lucid) Firefox/3.5.7'
LANG
'en_US.UTF-8'
LESSCLOSE
'/usr/bin/lesspipe %s %s'
LESSOPEN
'| /usr/bin/lesspipe %s'
LOGNAME
'mhall'
LS_COLORS
'rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'
MAIL
'/var/mail/mhall'
OLDPWD
'/home/mhall/projects/loco-directory'
PATH
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'
PATH_INFO
u'/teams/ubuntu-us-florida/edit'
PWD
'/home/mhall/projects/loco-directory/loco_directory'
QUERY_STRING
''
REMOTE_ADDR
'70.184.144.249'
REMOTE_HOST
''
REQUEST_METHOD
'POST'
RUN_MAIN
'true'
SCRIPT_NAME
u''
SERVER_NAME
'rrcs-24-227-64-126.se.biz.rr.com'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.1 Python/2.6.4'
SHELL
'/bin/bash'
SHLVL
'2'
SSH_AUTH_SOCK
'/var/run/screen/S-mhall/byobu.ssh-agent'
SSH_CLIENT
'173.65.27.166 49318 22'
SSH_CONNECTION
'173.65.27.166 49318 24.227.64.126 22'
SSH_TTY
'/dev/pts/0'
STY
'1545.pts-0.quinnco'
TERM
'screen-bce'
TERMCAP
'SC|screen-bce|VT 100/ANSI X3.64 virtual terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#54:co#144:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\\n\t:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:\\\n\t:im=\\E[4h:ei=\\E[4l:mi:IC=\\E[%d@:ks=\\E[?1h\\E=:\\\n\t:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E[34l:\\\n\t:ti=\\E[?1049h:te=\\E[?1049l:us=\\E[4m:ue=\\E[24m:so=\\E[3m:\\\n\t:se=\\E[23m:mb=\\E[5m:md=\\E[1m:mr=\\E[7m:me=\\E[m:ms:\\\n\t:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E[39;49m:AX:\\\n\t:vb=\\Eg:G0:as=\\E(0:ae=\\E(B:\\\n\t:ac=\\140\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\\\n\t:po=\\E[5i:pf=\\E[4i:k0=\\E[10~:k1=\\EOP:k;=\\E[21~:\\\n\t:F1=\\E[23~:F3=\\EO2P:F4=\\EO2Q:F5=\\EO2R:F6=\\EO2S:\\\n\t:F7=\\E[15;2~:F8=\\E[17;2~:F9=\\E[18;2~:FA=\\E[19;2~:kb=\x7f:\\\n\t:K2=\\EOE:kB=\\E[Z:*4=\\E[3;2~:*7=\\E[1;2F:#2=\\E[1;2H:\\\n\t:#3=\\E[2;2~:#4=\\E[1;2D:%c=\\E[6;2~:%e=\\E[5;2~:%i=\\E[1;2C:\\\n\t:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:@7=\\E[4~:kN=\\E[6~:kP=\\E[5~:\\\n\t:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:kd=\\EOB:kr=\\EOC:kl=\\EOD:km:'
TZ
'UTC'
USER
'mhall'
WINDOW
'1'
XDG_SESSION_COOKIE
'f7bd209dac6d0ff52638e57a4a5e49c9-1263653802.676173-286252189'
_
'/usr/bin/python'
wsgi.errors
<open file '<stderr>', mode 'w' at 0xb788e0c0>
wsgi.file_wrapper
<class 'django.core.servers.basehttp.FileWrapper'>
wsgi.input
<socket._fileobject object at 0x90ede6c>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
Settings
Using settings module loco_directory.settings
Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('somebody', 'somebody@xxxxxxxxxxx'),)
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'/media/admin/'
ALLOWED_INCLUDE_ROOTS
()
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('django_openid_auth.auth.OpenIDBackend', 'django.contrib.auth.backends.ModelBackend')
BANNED_IPS
()
CACHE_BACKEND
'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX
''
CACHE_MIDDLEWARE_SECONDS
600
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_BANNED_USERS_GROUP
None
COMMENTS_FIRST_FEW
0
COMMENTS_MODERATORS_GROUP
None
COMMENTS_SKETCHY_USERS_GROUP
None
DATABASE_ENGINE
'sqlite3'
DATABASE_HOST
''
DATABASE_NAME
'loco_directory.db'
DATABASE_OPTIONS
{}
DATABASE_PASSWORD
'********************'
DATABASE_PORT
''
DATABASE_USER
''
DATETIME_FORMAT
'N j, Y, P'
DATE_FORMAT
'N j, Y'
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
()
EMAIL_HOST
'localhost'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_USE_TLS
False
FILE_CHARSET
'utf-8'
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIXTURE_DIRS
()
FORCE_SCRIPT_NAME
None
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS
['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'common', 'teams', 'events', 'venues', 'django_openid_auth']
INTERNAL_IPS
()
LANGUAGES
(('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('et', 'Estonian'), ('es-ar', 'Argentinean Spanish'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Irish'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('lt', 'Lithuanian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_NAME
'django_language'
LOCALE_PATHS
()
LOGIN_REDIRECT_URL
'/'
LOGIN_URL
'/openid/login'
LOGOUT_URL
'/accounts/logout/'
LP_PROJECT_NAME
'loco-directory'
MANAGERS
(('somebody', 'somebody@xxxxxxxxxxx'),)
MEDIA_ROOT
'/home/mhall/projects/loco-directory/loco_directory/media'
MEDIA_URL
'/media/'
MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware')
MONTH_DAY_FORMAT
'F j'
OPENID_CREATE_USERS
True
OPENID_LAUNCHPAD_TEAMS_MAPPING
{'ubuntu-lococouncil': 'ubuntu-lococouncil'}
OPENID_REUSE_USERS
True
OPENID_SSO_SERVER_URL
'https://login.launchpad.net/'
OPENID_UPDATE_DETAILS_FROM_SREG
True
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
PROFANITIES_LIST
'********************'
PROJECT_PATH
'/home/mhall/projects/loco-directory/loco_directory'
ROOT_URLCONF
'loco_directory.urls'
SECRET_KEY
'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
'loco_directory.settings'
SITE_ID
1
STATIC_SERVE
True
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'common.context_processors.loco_version')
TEMPLATE_DEBUG
True
TEMPLATE_DIRS
('/home/mhall/projects/loco-directory/loco_directory/templates',)
TEMPLATE_LOADERS
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
TEMPLATE_STRING_IF_INVALID
''
TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
'django.test.simple.run_tests'
TIME_FORMAT
'P'
TIME_ZONE
'UTC'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
'Django/1.1.1 (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
True
VERSION_STRING
'version not-yet-0.2.0 (rev 45)'
YEAR_MONTH_FORMAT
'F Y'
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.
Follow ups
References