Closed
Bug 700418
Opened 14 years ago
Closed 13 years ago
[dev] ISE: ImportError: cannot import name COLOR_CHOICES
Categories
(Firefox Affiliates Graveyard :: affiliates.mozilla.org, defect)
Firefox Affiliates Graveyard
affiliates.mozilla.org
Tracking
(Not tracked)
VERIFIED
WONTFIX
People
(Reporter: mbrandt, Unassigned)
References
()
Details
(Whiteboard: [dev])
Traceback (most recent call last):
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/core/handlers/base.py", line 89, in get_response
response = middleware_method(request)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django-session-csrf/session_csrf/__init__.py", line 40, in process_request
if request.user.is_authenticated():
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/contrib/auth/middleware.py", line 9, in __get__
request._cached_user = get_user(request)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/contrib/auth/__init__.py", line 110, in get_user
user = backend.get_user(user_id) or AnonymousUser()
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/contrib/auth/backends.py", line 63, in get_user
return User.objects.get(pk=user_id)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(*args, **kwargs)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/query.py", line 341, in get
clone = self.filter(*args, **kwargs)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/query.py", line 550, in filter
return self._filter_or_exclude(False, *args, **kwargs)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/query.py", line 568, in _filter_or_exclude
clone.query.add_q(Q(*args, **kwargs))
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/sql/query.py", line 1172, in add_q
can_reuse=used_aliases, force_having=force_having)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/sql/query.py", line 1060, in add_filter
negate=negate, process_extras=process_extras)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/sql/query.py", line 1226, in setup_joins
field, model, direct, m2m = opts.get_field_by_name(name)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/options.py", line 307, in get_field_by_name
cache = self.init_name_map()
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/options.py", line 337, in init_name_map
for f, model in self.get_all_related_m2m_objects_with_model():
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/options.py", line 414, in get_all_related_m2m_objects_with_model
cache = self._fill_related_many_to_many_cache()
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/options.py", line 428, in _fill_related_many_to_many_cache
for klass in get_models():
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/loading.py", line 167, in get_models
self._populate()
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/loading.py", line 64, in _populate
self.load_app(app_name)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/db/models/loading.py", line 78, in load_app
models = import_module('.models', app_name)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/vendor/src/django/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/data/www/affiliates-dev.allizom.org/affiliates-app/apps/banners/models.py", line 11, in <module>
from banners import COLOR_CHOICES
ImportError: cannot import name COLOR_CHOICES
| Reporter | ||
Comment 1•14 years ago
|
||
:mkelly has a theory that this error occurred while dev was being updated with the latest commit. He noted that he was unable to reproduce this error. I'm removing it as a dependency to push the latest code to stage per bug 700414.
| Assignee | ||
Updated•13 years ago
|
Product: Websites → Firefox Affiliates
Comment 2•13 years ago
|
||
Apparently I was right!
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
| Reporter | ||
Comment 3•13 years ago
|
||
Marks his agreement with a verified ;-) I haven't seen one of these errors in a long time (over a year?).
Status: RESOLVED → VERIFIED
| Assignee | ||
Updated•10 years ago
|
Product: Firefox Affiliates → Firefox Affiliates Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•