[Devel] [Kaboom at OH] Error (EXTERNAL IP): /people/info/edit/do
Raphael Krut-Landau
raphael at openhatch.org
Mon May 17 17:44:50 UTC 2010
Fixèd both of these errors.
On Mon, May 17, 2010 at 1:28 PM, <mr_website at linode.openhatch.org> wrote:
> Traceback (most recent call last):
>
> File "/home/deploy/milestone-a.buildout/parts/production/django/core/handlers/base.py", line 99, in get_response
> response = callback(request, *callback_args, **callback_kwargs)
>
> File "/home/deploy/milestone-a.buildout/parts/production/django/contrib/auth/decorators.py", line 78, in __call__
> return self.view_func(request, *args, **kwargs)
>
> File "/home/deploy/milestone-a.buildout/mysite/profile/views.py", line 306, in edit_person_info_do
> if '$fwd' in posted_contact_blurb and not person.user.email:
>
> TypeError: argument of type 'NoneType' is not iterable
>
>
> <WSGIRequest
> GET:<QueryDict: {}>,
> POST:<QueryDict: {}>,
> COOKIES:{'__utma': '15746536.1665514234.1274113780.1274113780.1274113780.1',
> '__utmb': '15746536.30.10.1274113780',
> '__utmc': '15746536',
> '__utmz': '15746536.1274113780.1.1.utmcsr=muylinux.com|utmccn=(referral)|utmcmd=referral|utmcct=/2010/05/17/openhatch-org-tu-tambien-puedes-ayudar-al-open-source',
> 'openid_provider': 'google',
> 'sessionid': 'c7319398558f83b5a9a4fddad98c1fef'},
> META:{'DOCUMENT_ROOT': '/var/www/',
> 'GATEWAY_INTERFACE': 'CGI/1.1',
> '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_LANGUAGE': 'es-es,es;q=0.8,en-us;q=0.5,en;q=0.3',
> 'HTTP_CACHE_CONTROL': 'max-age=259200',
> 'HTTP_CONNECTION': 'close',
> 'HTTP_COOKIE': 'sessionid=c7319398558f83b5a9a4fddad98c1fef; __utma=15746536.1665514234.1274113780.1274113780.1274113780.1; __utmb=15746536.30.10.1274113780; __utmc=15746536; __utmz=15746536.1274113780.1.1.utmcsr=muylinux.com|utmccn=(referral)|utmcmd=referral|utmcct=/2010/05/17/openhatch-org-tu-tambien-puedes-ayudar-al-open-source; openid_provider=google',
> 'HTTP_HOST': 'openhatch.org',
> 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100402 Namoroka/3.6.3',
> 'HTTP_X_FORWARDED_FOR': '190.203.64.63',
> 'HTTP_X_REAL_IP': '190.203.64.63',
> 'PATH': '/usr/local/bin:/usr/bin:/bin',
> 'PATH_INFO': u'/people/info/edit/do',
> 'PATH_TRANSLATED': '/home/deploy/milestone-a.buildout/bin/production.wsgi/people/info/edit/do',
> 'QUERY_STRING': '',
> 'REMOTE_ADDR': '190.203.64.63',
> 'REMOTE_PORT': '48182',
> 'REQUEST_METHOD': 'GET',
> 'REQUEST_URI': '/people/info/edit/do',
> 'SCRIPT_FILENAME': '/home/deploy/milestone-a.buildout/bin/production.wsgi',
> 'SCRIPT_NAME': u'',
> 'SCRIPT_URI': 'http://openhatch.org/people/info/edit/do',
> 'SCRIPT_URL': '/people/info/edit/do',
> 'SERVER_ADDR': '127.0.0.1',
> 'SERVER_ADMIN': 'webmaster at localhost',
> 'SERVER_NAME': 'openhatch.org',
> 'SERVER_PORT': '80',
> 'SERVER_PROTOCOL': 'HTTP/1.0',
> 'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Debian) Server at openhatch.org Port 80</address>\n',
> 'SERVER_SOFTWARE': 'Apache/2.2.14 (Debian)',
> 'mod_wsgi.application_group': 'openhatch.org|',
> 'mod_wsgi.callable_object': 'application',
> 'mod_wsgi.listener_host': '127.0.0.1',
> 'mod_wsgi.listener_port': '80',
> 'mod_wsgi.process_group': 'http',
> 'mod_wsgi.reload_mechanism': '1',
> 'mod_wsgi.script_reloading': '1',
> 'mod_wsgi.version': (2, 5),
> 'wsgi.errors': <mod_wsgi.Log object at 0x9a4a878>,
> 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x8cebb60>,
> 'wsgi.input': <mod_wsgi.Input object at 0x98b92f0>,
> 'wsgi.multiprocess': True,
> 'wsgi.multithread': False,
> 'wsgi.run_once': False,
> 'wsgi.url_scheme': 'http',
> 'wsgi.version': (1, 0)}>
>
More information about the Devel
mailing list