﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	parents
5340	API feed request fails	ayleph		"After applying the [http://git.savannah.gnu.org/gitweb/?p=mediagoblin.git;a=commit;h=d7f35f6fbea8192374b1cc7e81d75ee690d0c705 latest models update], an API request to /feed fails.

{{{
Error - <type 'exceptions.TypeError'>: 'NoneType' object is not iterable
URL: https://pumpdev.goblinrefuge.com/api/user/machalus/feed
File '/path/to/mediagoblin/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py', line 144 in __call__
  app_iter = self.application(environ, sr_checker)
File '/path/to/mediagoblin/mediagoblin/app.py', line 342 in __call__
  return self.call_backend(environ, start_response)
File '/path/to/mediagoblin/lib/python2.7/site-packages/Werkzeug-0.9.6-py2.7.egg/werkzeug/wsgi.py', line 588 in __call__
  return self.app(environ, start_response)
File '/path/to/mediagoblin/mediagoblin/app.py', line 276 in call_backend
  return self._finish_call_backend(request, environ, start_response)
File '/path/to/mediagoblin/mediagoblin/app.py', line 318 in _finish_call_backend
  response = controller(request)
File '/path/to/mediagoblin/mediagoblin/decorators.py', line 427 in wrapper
  return controller(request, *args, **kwargs)
File '/path/to/mediagoblin/mediagoblin/api/views.py', line 534 in feed_endpoint
  ""author"": request.user.serialize(request),
File '/path/to/mediagoblin/mediagoblin/db/models.py', line 399 in serialize
  user.update(super(LocalUser, self).serialize(request))
TypeError: 'NoneType' object is not iterable


CGI Variables
-------------
  CSRF_TOKEN: '14966043511774073798'
  DOCUMENT_ROOT: sanitized
  GATEWAY_INTERFACE: 'CGI/1.1'
  HTTPS: 'on'
  HTTP_ACCEPT_ENCODING: 'gzip, deflate'
  HTTP_ACCEPT_LANGUAGE: 'en-US,*'
  HTTP_AUTHORIZATION: sanitized
  HTTP_CONNECTION: 'Keep-Alive'
  HTTP_HOST: 'pumpdev.goblinrefuge.com'
  HTTP_USER_AGENT: 'Mozilla/5.0'
  PATH_INFO: '/api/user/machalus/feed'
  PATH_TRANSLATED: sanitized
  REDIRECT_STATUS: '200'
  REMOTE_ADDR: '127.0.0.1'
  REMOTE_PORT: '49590'
  REQUEST_METHOD: 'GET'
  REQUEST_URI: '/api/user/machalus/feed'
  SCRIPT_FILENAME: sanitized
  SERVER_ADDR: '127.0.0.1'
  SERVER_NAME: 'pumpdev.goblinrefuge.com'
  SERVER_PORT: '8443'
  SERVER_PROTOCOL: 'HTTP/1.1'
  SERVER_SOFTWARE: 'lighttpd/1.4.35'
}}}"	defect	closed	major		programming	fixed	api,feed,pump	tsyesika	
