[Mayan EDMS: 1981] Error while testing a Mailing profile

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 1981] Error while testing a Mailing profile

LeVon Smoker
I get an error while testing a Django SMTP backend mailing profile. This is on the 2.6.4 pypi release.

Traceback:

File "/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
 
42.             response = get_response(request)

File "/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
 
249.             response = self._get_response(request)

File "/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
 
187.                 response = self.process_exception_by_middleware(e, request)

File "/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
 
185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/views/generic/base.py" in view
 
68.             return self.dispatch(request, *args, **kwargs)

File "/usr/share/mayan-edms/mayan/apps/common/mixins.py" in dispatch
 
350.         ).dispatch(request, *args, **kwargs)

File "/usr/share/mayan-edms/mayan/apps/common/mixins.py" in dispatch
 
315.         ).dispatch(request, *args, **kwargs)

File "/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
 
88.         return handler(request, *args, **kwargs)

File "/usr/share/mayan-edms/local/lib/python2.7/site-packages/django/views/generic/edit.py" in post
 
183.             return self.form_valid(form)

File "/usr/share/mayan-edms/mayan/apps/mailer/views.py" in form_valid
 
239.         self.get_user_mailer().test(to=(form.cleaned_data['email'],))

File "/usr/share/mayan-edms/mayan/apps/mailer/models.py" in test
 
109.         self.send(to=to, subject=_('Test email from Mayan EDMS'))

File "/usr/share/mayan-edms/mayan/apps/mailer/models.py" in send
 
86.         recipient_list = split_recipient_list(recipients=[to])

File "/usr/share/mayan-edms/mayan/apps/mailer/utils.py" in split_recipient_list
 
16.             result.extend(recipient.split(separator))

Exception Type: AttributeError at /mailer/user_mailers/1/test/
Exception Value: 'tuple' object has no attribute 'split'
 
Oddly enough, sending mail works fine when emailing a document link.

Thanks,
LeVon Smoker

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 1981] Re: Error while testing a Mailing profile

Christian Wiegand
I have exactly the same Problem. Sending emails works fine, email profile testing fails with the error above

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 1988] Re: Error while testing a Mailing profile

rosarior
Administrator
Fix committed (https://gitlab.com/mayan-edms/mayan-edms/commit/bb663aa71a83414e216a25639d088668581902bb). Thanks for the report.

On Tuesday, August 8, 2017 at 5:20:58 PM UTC-4, Christian Wiegand wrote:
I have exactly the same Problem. Sending emails works fine, email profile testing fails with the error above

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.