Closed garypolhill closed 8 years ago
Environment:
Request Method: GET Request URL: https://borges.cbie.asu.edu/dashboard/
Django Version: 1.9.7 Python Version: 2.7.5 Installed Applications: ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'django_extensions', 'bootstrap3', 'social.apps.django_app.default', 'raven.contrib.django.raven_compat', 'django_comments', 'miracle.core', 'debug_toolbar') Installed Middleware: (u'debug_toolbar.middleware.DebugToolbarMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware')
Traceback:
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
File "/usr/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py" in view
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py" in get
File "./miracle/core/views.py" in get_context_data
File "/usr/lib/python2.7/site-packages/rest_framework/serializers.py" in data
File "/usr/lib/python2.7/site-packages/rest_framework/serializers.py" in to_representation
File "/usr/lib/python2.7/site-packages/rest_framework/fields.py" in get_attribute
File "/usr/lib/python2.7/site-packages/django/db/models/fields/files.py" in _get_url
File "/usr/lib/python2.7/site-packages/django/db/models/fields/files.py" in _require_file
Exception Type: ValueError at /dashboard/ Exception Value: The 'submitted_archive' attribute has no file associated with it.
Same error with my test site. Adding project via UI seems to be broken. manage.py task works.
manage.py
Environment:
Request Method: GET Request URL: https://borges.cbie.asu.edu/dashboard/
Django Version: 1.9.7 Python Version: 2.7.5 Installed Applications: ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'django_extensions', 'bootstrap3', 'social.apps.django_app.default', 'raven.contrib.django.raven_compat', 'django_comments', 'miracle.core', 'debug_toolbar') Installed Middleware: (u'debug_toolbar.middleware.DebugToolbarMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware')
Traceback:
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
File "/usr/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py" in view
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py" in get
File "./miracle/core/views.py" in get_context_data
File "/usr/lib/python2.7/site-packages/rest_framework/serializers.py" in data
File "/usr/lib/python2.7/site-packages/rest_framework/serializers.py" in data
File "/usr/lib/python2.7/site-packages/rest_framework/serializers.py" in to_representation
File "/usr/lib/python2.7/site-packages/rest_framework/serializers.py" in to_representation
File "/usr/lib/python2.7/site-packages/rest_framework/fields.py" in get_attribute
File "/usr/lib/python2.7/site-packages/rest_framework/fields.py" in get_attribute
File "/usr/lib/python2.7/site-packages/django/db/models/fields/files.py" in _get_url
File "/usr/lib/python2.7/site-packages/django/db/models/fields/files.py" in _require_file
Exception Type: ValueError at /dashboard/ Exception Value: The 'submitted_archive' attribute has no file associated with it.