We upgraded from 2.0.15 to 3.0.2 last night and the only error I am seeing
frequently in the log is this one. I am making an assumption that the
request right before I see the error led to it, so I can see which record
and user. In this case hyuan. I suspected reviewboard can't find an email
address in the mail field for the user, but I checked the mail field in
their AD record and it is there. I did not touch these settings during the
upgrade. I can not find this error in the logs before the upgrade. One
user I asked about their experience at this time said 'I was adding a new
diff and my "update comment" disappeared for a little while. But then it
came back. ' I don't know if this is a one time thing per user. This same
user mentioned 'I had the window open from before the upgrade, clicked
something and then it updated'. Do you know what may be going on here?
Username Attribute:
The attribute in the LDAP server that stores a user's login name.
Given Name Attribute:
The attribute in the LDAP server that stores the user's given name.
Surname Attribute:
The attribute in the LDAP server that stores the user's surname.
Full Name Attribute:
The attribute in the LDAP server that stores the user's full name. This
takes precedence over the "Given Name Attribute" and "Surname Attribute."
E-Mail LDAP Attribute:
2018-02-01 18:29:55,333 - DEBUG - None - hyuan -
/r/64727/diff/1/fragment/2629429/ - root - Generating diff file info for
diffset id 116898, filediff 2629429 took 0.006018 seconds
2018-02-01 18:30:08,015 - ERROR - - djblets.datagrid.grids - Error when
calling render_data for DataGrid Column
<reviewboard.datagrids.columns.UsernameColumn object at 0x55824cd19750>:
"email" cannot be None or empty.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/djblets/datagrid/grids.py", line
459, in render_cell
rendered_data = self.render_data(state, obj)
File "/usr/lib/python2.7/site-packages/reviewboard/datagrids/columns.py",
line 140, in render_data
size=self.AVATAR_SIZE)
File "/usr/lib/python2.7/site-packages/djblets/avatars/services/base.py",
line 198, in render
'urls': self.get_avatar_urls(request, user, size),
File "/usr/lib/python2.7/site-packages/djblets/avatars/services/base.py",
line 139, in get_avatar_urls
urls = self.get_avatar_urls_uncached(user, size)
File
"/usr/lib/python2.7/site-packages/djblets/avatars/services/gravatar.py",
line 35, in get_avatar_urls_uncached
for resolution in (1, 2, 3)
File
"/usr/lib/python2.7/site-packages/djblets/avatars/services/gravatar.py",
line 35, in <dictcomp>
for resolution in (1, 2, 3)
File "/usr/lib/python2.7/site-packages/djblets/gravatars/__init__.py",
line 69, in get_gravatar_url_for_email
raise ValueError('"email" cannot be None or empty.')
ValueError: "email" cannot be None or empty.
2018-02-01 18:30:08,069 - ERROR - - djblets.datagrid.grids - Error when
calling render_data for DataGrid Column
<reviewboard.datagrids.columns.UsernameColumn object at 0x55824cd19750>:
"email" cannot be None or empty.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/djblets/datagrid/grids.py", line
459, in render_cell
rendered_data = self.render_data(state, obj)
File "/usr/lib/python2.7/site-packages/reviewboard/datagrids/columns.py",
line 140, in render_data
size=self.AVATAR_SIZE)
File "/usr/lib/python2.7/site-packages/djblets/avatars/services/base.py",
line 198, in render
'urls': self.get_avatar_urls(request, user, size),
File "/usr/lib/python2.7/site-packages/djblets/avatars/services/base.py",
line 139, in get_avatar_urls
urls = self.get_avatar_urls_uncached(user, size)
File
"/usr/lib/python2.7/site-packages/djblets/avatars/services/gravatar.py",
line 35, in get_avatar_urls_uncached
for resolution in (1, 2, 3)
File
"/usr/lib/python2.7/site-packages/djblets/avatars/services/gravatar.py",
line 35, in <dictcomp>
for resolution in (1, 2, 3)
File "/usr/lib/python2.7/site-packages/djblets/gravatars/__init__.py",
line 69, in get_gravatar_url_for_email
raise ValueError('"email" cannot be None or empty.')
ValueError: "email" cannot be None or empty.
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.