Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 742 by elgueromexicano: Email Authentication Error
http://code.google.com/p/reviewboard/issues/detail?id=742
What's the URL of the page containing the problem?
http://(server ip address)/r/7/publish/
What steps will reproduce the problem?
1. Publish a review request
What is the expected output? What do you see instead?
Return to dashboard. Instead get the error: TypeError at /r/7/publish/
character mapping must return integer, None or unicode
What operating system are you using? What browser?
Windows XP SP3, Chrome dev
Please provide any additional information below.
The error appears to happen while trying to sending out the email for the
review request. Our email server requires authentication and it appears
that while trying to authenticate the script errors out. The following is
the traceback:
Environment:
Request Method: GET
Request URL: http://(server ip address)/r/7/publish/
Django Version: 1.0-final-SVN-unknown
Python Version: 2.6.0
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.markup',
'django.contrib.sites',
'django.contrib.sessions',
'djblets.datagrid',
'djblets.feedview',
'djblets.siteconfig',
'djblets.util',
'djblets.webapi',
'reviewboard.accounts',
'reviewboard.admin',
'reviewboard.changedescs',
'reviewboard.diffviewer',
'reviewboard.iphone',
'reviewboard.reports',
'reviewboard.reviews',
'reviewboard.scmtools',
'reviewboard.webapi',
'django_evolution']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'djblets.siteconfig.middleware.SettingsMiddleware',
'reviewboard.admin.middleware.LoadSettingsMiddleware',
'djblets.log.middleware.LoggingMiddleware',
'reviewboard.admin.middleware.CheckUpdatesRequiredMiddleware')
Traceback:
File "/usr/local/lib/python2.6/site-packages/django/core/handlers/base.py"
in get_response
86. response = callback(request, *callback_args,
**callback_kwargs)
File "/usr/local/apache2/reviewboard/djblets/auth/util.py" in _checklogin
45. return view_func(request, *args, **kwargs)
File "/usr/local/apache2/reviewboard/reviews/views.py" in publish
448. review_request.publish(request.user)
File "/usr/local/apache2/reviewboard/reviews/models.py" in publish
438. mail_review_request(user, self, changes)
File "/usr/local/lib/python2.6/site-packages/django/core/mail.py" in send
265. return
self.get_connection(fail_silently).send_messages([self])
File "/usr/local/lib/python2.6/site-packages/django/core/mail.py" in
send_messages
166. new_conn_created = self.open()
File "/usr/local/lib/python2.6/site-packages/django/core/mail.py" in open
137. self.connection.login(self.username, self.password)
File "/usr/local/lib/python2.6/smtplib.py" in login
574. (code, resp) = self.docmd(encode_cram_md5(resp, user,
password))
File "/usr/local/lib/python2.6/smtplib.py" in encode_cram_md5
538. response = user + " " + hmac.HMAC(password,
challenge).hexdigest()
File "/usr/local/lib/python2.6/hmac.py" in __init__
72. self.outer.update(key.translate(trans_5C))
Exception Type: TypeError at /r/7/publish/
Exception Value: character mapping must return integer, None or unicode
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---