Internal Server Error 500 sending test email

I’m new to Rhodecode, and this is a brand new installation. I’m setting up the email processing and I get a 500 Internal Server Error when I try and send a test email from the admin menu. The exception stack trace is as follows:

Exception AttributeError generated on UTC date: 2020-02-01T02:05:55.437993

Traceback (most recent call last):
File “/opt/rhodecode/store/7gy98yri1ib93i750kpwhhwyfbcclbgk-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/tweens.py”, line 41, in excview_tween
response = handler(request)
File “/opt/rhodecode/store/7gy98yri1ib93i750kpwhhwyfbcclbgk-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/router.py”, line 148, in handle_request
registry, request, context, context_iface, view_name
File “/opt/rhodecode/store/7gy98yri1ib93i750kpwhhwyfbcclbgk-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/view.py”, line 667, in _call_view
response = view_callable(context, request)
File “/opt/rhodecode/store/7gy98yri1ib93i750kpwhhwyfbcclbgk-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/config/views.py”, line 188, in attr_view
return view(context, request)
File “/opt/rhodecode/store/7gy98yri1ib93i750kpwhhwyfbcclbgk-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/config/views.py”, line 214, in predicate_wrapper
return view(context, request)
File “/opt/rhodecode/store/7gy98yri1ib93i750kpwhhwyfbcclbgk-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/viewderivers.py”, line 436, in rendered_view
result = view(context, request)
File “/opt/rhodecode/store/7gy98yri1ib93i750kpwhhwyfbcclbgk-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/viewderivers.py”, line 132, in _class_view
response = getattr(inst, attr)()
File “/opt/rhodecode/store/pbyi54fc2zm09wnahdw6l9lp8pnhdpxn-python2.7-rhodecode-enterprise-ce-4.18.1/lib/python2.7/site-packages/rhodecode/lib/auth.py”, line 2409, in local_wrapper
return wrapper(func, *args, **kwds)
File “/opt/rhodecode/store/pbyi54fc2zm09wnahdw6l9lp8pnhdpxn-python2.7-rhodecode-enterprise-ce-4.18.1/lib/python2.7/site-packages/rhodecode/lib/auth.py”, line 1725, in __wrapper
return func(*fargs, **fkwargs)
File “/opt/rhodecode/store/pbyi54fc2zm09wnahdw6l9lp8pnhdpxn-python2.7-rhodecode-enterprise-ce-4.18.1/lib/python2.7/site-packages/rhodecode/lib/auth.py”, line 2409, in local_wrapper
return wrapper(func, *args, **kwds)
File “/opt/rhodecode/store/pbyi54fc2zm09wnahdw6l9lp8pnhdpxn-python2.7-rhodecode-enterprise-ce-4.18.1/lib/python2.7/site-packages/rhodecode/lib/auth.py”, line 1799, in __wrapper
return func(*fargs, **fkwargs)
File “/opt/rhodecode/store/pbyi54fc2zm09wnahdw6l9lp8pnhdpxn-python2.7-rhodecode-enterprise-ce-4.18.1/lib/python2.7/site-packages/rhodecode/lib/auth.py”, line 2409, in local_wrapper
return wrapper(func, *args, **kwds)
File “/opt/rhodecode/store/pbyi54fc2zm09wnahdw6l9lp8pnhdpxn-python2.7-rhodecode-enterprise-ce-4.18.1/lib/python2.7/site-packages/rhodecode/lib/auth.py”, line 1618, in __wrapper
return func(*fargs, **fkwargs)
File “/opt/rhodecode/store/pbyi54fc2zm09wnahdw6l9lp8pnhdpxn-python2.7-rhodecode-enterprise-ce-4.18.1/lib/python2.7/site-packages/rhodecode/apps/admin/views/settings.py”, line 581, in settings_email_update
EmailNotificationModel.TYPE_EMAIL_TEST, **email_kwargs)
File “/opt/rhodecode/store/pbyi54fc2zm09wnahdw6l9lp8pnhdpxn-python2.7-rhodecode-enterprise-ce-4.18.1/lib/python2.7/site-packages/rhodecode/model/notification.py”, line 392, in render_email
body = email_template.render(None, **_kwargs)
File “/opt/rhodecode/store/pbyi54fc2zm09wnahdw6l9lp8pnhdpxn-python2.7-rhodecode-enterprise-ce-4.18.1/lib/python2.7/site-packages/rhodecode/lib/partial_renderer.py”, line 95, in render
return self._render_with_exc(tmpl, args, kwargs)
File “/opt/rhodecode/store/pbyi54fc2zm09wnahdw6l9lp8pnhdpxn-python2.7-rhodecode-enterprise-ce-4.18.1/lib/python2.7/site-packages/rhodecode/lib/partial_renderer.py”, line 79, in _render_with_exc
return render_func.render(*args, **kwargs)
File “/opt/rhodecode/store/9g17akjjvw6s5yv8nnhpv5s9nk06hbjq-python2.7-mako-1.1.0/lib/python2.7/site-packages/mako/template.py”, line 476, in render
return runtime.render(self, self.callable, args, data)
File “/opt/rhodecode/store/9g17akjjvw6s5yv8nnhpv5s9nk06hbjq-python2.7-mako-1.1.0/lib/python2.7/site-packages/mako/runtime.py”, line 883, in _render
**kwargs_for_callable(callable, data)
File “/opt/rhodecode/store/9g17akjjvw6s5yv8nnhpv5s9nk06hbjq-python2.7-mako-1.1.0/lib/python2.7/site-packages/mako/runtime.py”, line 920, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File “/opt/rhodecode/store/9g17akjjvw6s5yv8nnhpv5s9nk06hbjq-python2.7-mako-1.1.0/lib/python2.7/site-packages/mako/runtime.py”, line 947, in exec_template
callable
(context, *args, **kwargs)
File “rhodecode_templates_email_templates_base_mako”, line 55, in render_body
File “rhodecode_templates_email_templates_email_test_mako”, line 44, in render_body
File “/opt/rhodecode/store/pbyi54fc2zm09wnahdw6l9lp8pnhdpxn-python2.7-rhodecode-enterprise-ce-4.18.1/lib/python2.7/site-packages/rhodecode/lib/helpers.py”, line 897, in person
user = discover_user(author)
File “/opt/rhodecode/store/pbyi54fc2zm09wnahdw6l9lp8pnhdpxn-python2.7-rhodecode-enterprise-ce-4.18.1/lib/python2.7/site-packages/rhodecode/lib/helpers.py”, line 835, in discover_user
_email = author_email(author)
File “/opt/rhodecode/store/pbyi54fc2zm09wnahdw6l9lp8pnhdpxn-python2.7-rhodecode-enterprise-ce-4.18.1/lib/python2.7/site-packages/rhodecode/lib/vcs/utils/init.py”, line 39, in author_email
r = author.find(’>’)
AttributeError: ‘AuthUser’ object has no attribute ‘find’

I’ve not installed anything after installing the Rhodecode server, in particular no Celery, which I see references email processing, but I don’t know if it’s required. If it is, then I’d hope a more user-friendly message would be provided!

Thanks for any assistance

Hi,

This was fixed in 4.18.2 release please update.

Best,

Thanks that did the trick. I must have just missed the new rev when I did the installation.