AttributeError 'LegacyFallbackStorage' object has no attribute 'append'

Ross Brattain ross.b.brattain at
Sat Dec 18 12:17:58 EST 2010

On Thu, 16 Dec 2010 15:00:23 -0800
Jeremy Kerr <jk at> wrote:

> Hi Ross,
> > Has anyone seen this error.  I upgraded from an old patchwork running on
> > Fedora 7 to openSUSE 11.3 running python-django-1.2.3-6.3. 
> > AttributeError at
> > 'LegacyFallbackStorage' object has no attribute 'append'
> No, I haven't seen this one before. Could you trigger the error again, click 
> on the 'switch to copy-and-paste view' link, then re-post the error message?
> Cheers,
> Jeremy

After I created a user and logged in I get this error:

This is on a database that was migrated from mysql to postgres using dumpdata and loaddata with YAML.  
At the same time patchwork was upgraded to the latest git version.


Request Method: GET
Django Version: 1.2.3
Python Version: 2.6.5
Installed Applications:
Installed Middleware:

File "/usr/lib/python2.6/site-packages/django/core/handlers/" in get_response
  100.                     response = callback(request, *callback_args, **callback_kwargs)
File "/srv/patchwork/apps/patchwork/views/" in list
  132.             view_args = {'project_id': project.linkname})
File "/srv/patchwork/apps/patchwork/views/" in generic_list
  64.             project in request.user.get_profile().maintainer_projects.all()):
File "/usr/lib/python2.6/site-packages/django/contrib/auth/" in get_profile
  370.                 self._profile_cache = model._default_manager.using(self._state.db).get(
File "/usr/lib/python2.6/site-packages/django/db/models/" in get
  341.                     % self.model._meta.object_name)

Exception Type: DoesNotExist at
Exception Value: UserProfile matching query does not exist.

More information about the Patchwork mailing list