Closed
Bug 702794
Opened 14 years ago
Closed 13 years ago
[traceback] [prod] Exception: KeyError: 'uid'
Categories
(Participation Infrastructure :: Phonebook, defect)
Participation Infrastructure
Phonebook
Tracking
(Not tracked)
VERIFIED
WORKSFORME
People
(Reporter: mbrandt, Assigned: tofumatt)
References
()
Details
(Whiteboard: [prod] [traceback] [LDAP])
Traceback (most recent call last):
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/data/www/mozillians.org/mozillians/vendor/src/django/django/contrib/auth/decorators.py", line 19, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/data/www/mozillians.org/mozillians/apps/phonebook/views.py", line 40, in wrapped
return f(request, *args, **kwargs)
File "/data/www/mozillians.org/mozillians/apps/groups/views.py", line 46, in show
users = users_from_groups(request, group, limit=PAGINATION_LIMIT)
File "/data/www/mozillians.org/mozillians/apps/groups/helpers.py", line 30, in users_from_groups
search_result = ldap.search_by_email(u.email)
File "/data/www/mozillians.org/mozillians/apps/larper/__init__.py", line 180, in search_by_email
return self._populate_people_results(self._people_search(q))
File "/data/www/mozillians.org/mozillians/apps/larper/__init__.py", line 410, in _populate_people_results
p = Person.new_from_directory(attrs)
File "/data/www/mozillians.org/mozillians/apps/larper/__init__.py", line 514, in new_from_directory
ldap_attrs['uid'][0].decode('utf-8'),
KeyError: 'uid'
| Reporter | ||
Comment 1•14 years ago
|
||
These are continuing to come in from prod and are generated by the following urls as well.
- http://mozillians.org/fr/group/25-support
- http://mozillians.org/fr/group/192-sumo
- http://mozillians.org/fr/group/596-france
| Assignee | ||
Comment 2•14 years ago
|
||
This is crazy. I'll do my best on this one. This is really troubling though.
Assignee: nobody → tofumatt
| Assignee | ||
Updated•14 years ago
|
Whiteboard: [prod] [traceback] [LDAP]
| Reporter | ||
Comment 3•14 years ago
|
||
(In reply to Matthew Riley MacPherson [:tofumatt] from comment #2)
> This is crazy. I'll do my best on this one. This is really troubling though.
This comes from a place of not knowing, is there more information that QA can attach to bugs like this one that would be useful for you?
| Assignee | ||
Comment 4•14 years ago
|
||
Probably not. This error basically says that there's an LDAP user the query is returning that doesn't have a unique ID. Given that's one of the constraints of our system (and is the ID we use for virtually everything in Mozillians), I just don't understand how this is possible.
I'm mostly voicing my concern that our user system is, seemingly, incredibly fragile. I am simply surprised this is possible.
| Reporter | ||
Comment 5•14 years ago
|
||
spidermonkey is the latest
https://mozillians.org/en-US/group/292-spidermonkey
| Reporter | ||
Comment 6•14 years ago
|
||
| Reporter | ||
Comment 7•14 years ago
|
||
These little beauties are still flooding in... too many to count.
| Reporter | ||
Updated•14 years ago
|
Target Milestone: --- → 1.2
Comment 10•14 years ago
|
||
is this still happening?
| Reporter | ||
Comment 11•14 years ago
|
||
Yes
Updated•13 years ago
|
Target Milestone: 1.2 → 1.3
| Reporter | ||
Comment 13•13 years ago
|
||
Bumping to worksforme. This is fixed now :-)
I verified the following urls work:
- https://mozillians.org/en-US/group/292-spidermonkey
- http://mozillians.org/en-US/group/10628-moztw
- http://mozillians.org/fr/group/25-support
- http://mozillians.org/fr/group/192-sumo
- http://mozillians.org/fr/group/596-france
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
| Reporter | ||
Comment 14•13 years ago
|
||
Verified with both a staff and non-staff account.
Status: RESOLVED → VERIFIED
| Reporter | ||
Updated•13 years ago
|
Component: mozillians.org → Phonebook
Product: Websites → Community Tools
QA Contact: mozillians-org → phonebook
Target Milestone: 1.3 → ---
Version: unspecified → other
You need to log in
before you can comment on or make changes to this bug.
Description
•