AttributeError 'LegacyFallbackStorage' object has no attribute 'append'
Ross Brattain
ross.b.brattain at intel.com
Fri Dec 17 06:28:29 EST 2010
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'
Request Method: POST
Django Version: 1.2.3
Exception Type: AttributeError
Exception Value: 'LegacyFallbackStorage' object has no attribute 'append'
Exception Location: /srv/patchwork/apps/patchwork/requestcontext.py in add_message, line 86
Python Executable: /usr/bin/python
Python Version: 2.6.5
Python Path: ['/usr/lib/python26.zip', '/usr/lib64/python2.6', '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6/site-packages', '/usr/local/lib64/python2.6/site-packages', '/usr/local/lib/python2.6/site-packages', '/usr/lib/python2.6/site-packages', '/srv/patchwork', '/srv/patchwork/apps']
Server time: Wed, 15 Dec 2010 16:45:44 -0800
Traceback Switch to copy-and-paste view
/usr/lib/python2.6/site-packages/django/core/handlers/base.py in get_response
100. response = callback(request, *callback_args, **callback_kwargs) ...
▶ Local vars
/srv/patchwork/apps/patchwork/views/patch.py in list
132. view_args = {'project_id': project.linkname}) ...
▶ Local vars
/srv/patchwork/apps/patchwork/views/__init__.py in generic_list
59. request.POST, ps, context) ...
▶ Local vars
/srv/patchwork/apps/patchwork/utils.py in set_patches
200. context.add_message(str) ...
▶ Local vars
/srv/patchwork/apps/patchwork/requestcontext.py in add_message
86. self['messages'].append(message) ...
▶ Local vars
Request information
GET
No GET data
POST
Variable Value
archived u'*'
patch_id:1539 u'on'
form u'patchlistform'
project u'1'
patch_id:1538 u'on'
state u'5'
patch_id:1537 u'on'
action u'Update'
bundle_name u''
patch_id:1540 u'on'
patch_id:1541 u'on'
delegate u'*'
Settings
Using settings module settings
Setting Value
ABSOLUTE_URL_OVERRIDES {}
ACCOUNT_ACTIVATION_DAYS 7
ADMIN_FOR ()
ADMIN_MEDIA_PREFIX '/media/'
ALLOWED_INCLUDE_ROOTS ()
APPEND_SLASH True
AUTHENTICATION_BACKENDS ('django.contrib.auth.backends.ModelBackend',)
AUTH_PROFILE_MODULE 'patchwork.userprofile'
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
CSRF_COOKIE_DOMAIN None
CSRF_COOKIE_NAME 'csrftoken'
CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure'
DATABASES {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'patchwork', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'US/Pacific', 'USER': 'patchwork'}}
DATABASE_ENGINE ''
DATABASE_HOST ''
DATABASE_NAME ''
DATABASE_OPTIONS {}
DATABASE_PASSWORD '********************'
DATABASE_PORT ''
DATABASE_ROUTERS []
DATABASE_USER ''
DATETIME_FORMAT 'N j, Y, P'
DATETIME_INPUT_FORMATS ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y')
DATE_FORMAT 'N j, Y'
DATE_INPUT_FORMATS ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y')
DEBUG True
DEBUG_PROPAGATE_EXCEPTIONS False
DECIMAL_SEPARATOR '.'
DEFAULT_CHARSET 'utf-8'
DEFAULT_CONTENT_TYPE 'text/html'
DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage'
DEFAULT_INDEX_TABLESPACE ''
DEFAULT_PATCHES_PER_PAGE 100
DEFAULT_TABLESPACE ''
DISALLOWED_USER_AGENTS ()
EMAIL_BACKEND 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST 'localhost'
EMAIL_HOST_PASSWORD '********************'
EMAIL_HOST_USER ''
EMAIL_PORT 25
EMAIL_SUBJECT_PREFIX '[Django] '
EMAIL_USE_TLS False
ENABLE_XMLRPC 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
FIRST_DAY_OF_WEEK 0
FIXTURE_DIRS ()
FORCE_SCRIPT_NAME None
FORMAT_MODULE_PATH 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.sites', 'django.contrib.admin', 'patchwork', 'registration']
INTERNAL_IPS ()
LANGUAGES (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('vi', 'Vietnamese'), ('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 '/patchwork/user/'
LOGIN_URL '/patchwork/accounts/login'
LOGOUT_URL '/accounts/logout/'
MEDIA_ROOT ''
MEDIA_URL ''
message_storage 'django.contrib.messages.storage.user_messages.legacyfallbackstorage'
middleware_classes ('django.middleware.common.commonmiddleware', 'django.contrib.sessions.middleware.sessionmiddleware', 'django.middleware.csrf.csrfviewmiddleware', 'django.contrib.auth.middleware.authenticationmiddleware', 'django.contrib.messages.middleware.messagemiddleware')
month_day_format 'f j'
number_grouping 0
password_reset_timeout_days '********************'
prepend_www false
profanities_list '********************'
root_urlconf 'urls'
secret_key '********************'
send_broken_link_emails false
server_email 'root at 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 'settings'
short_datetime_format 'm/d/y p'
short_date_format 'm/d/y'
site_id 1
template_context_processors ('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media')
template_debug true
template_dirs ('/srv/patchwork/templates',)
template_loaders ('django.template.loaders.filesystem.loader', 'django.template.loaders.app_directories.loader')
template_string_if_invalid ''
test_database_charset none
test_database_collation none
test_database_name none
test_runner 'django.test.simple.djangotestsuiterunner'
thousand_separator ','
time_format 'p'
time_input_formats ('%h:%m:%s', '%h:%m')
time_zone 'us/pacific'
transactions_managed false
url_validator_user_agent 'django/1.2.3 (http://www.djangoproject.com)'
use_etags false
use_i18n true
use_l10n false
use_thousand_separator false
year_month_format 'f y'
More information about the Patchwork
mailing list