Hi,

Can you confirm that this issue is fixed in 2.0.14?

we've found that new reviews with these characters cause the issue:

"
or 
'

Cheers,
Adam


On Friday, 16 January 2015 15:56:13 UTC+11, Adam Driscoll wrote:
>
> Hi Folks,
>
> I hope everyone is doing well.
>
> We recently upgraded from 1.7.11 to 2.0.12 and have sorted out most of the 
> problems except this weird one.
>
> New reviews work fine. Old reviews dont and this is the "slightly edited" 
> error call stack from the error log reviewboard.log
>
>
> **********************************************
>
> 2015-01-16 04:12:17,687 - ERROR -  - Error sending e-mail notification 
> with subject 'Re: Review Request 3782: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' on 
> behalf of '"Paul xxxxx" <paul.xx...@xxxxx.com>' to '"Roger xxxx" <
> roger.x...@xxxxxxxx.com>,"Paul xxxxx" <paul.x...@xxxxxxx.com>,"Dzianis 
> xxxxxx" <dzianis.xx...@xxxxxx.com>': 'ascii' codec can't encode character 
> u'\u2026' in position 2058: ordinal not in range(128)
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/notifications/email.py",
>  
> line 293, in send_review_mail
>     message.send()
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/core/mail/message.py",
>  
> line 276, in send
>     return self.get_connection(fail_silently).send_messages([self])
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/core/mail/backends/smtp.py",
>  
> line 94, in send_messages
>     sent = self._send(message)
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/core/mail/backends/smtp.py",
>  
> line 110, in _send
>     self.connection.sendmail(from_email, recipients, message.as_bytes())
>   File 
> "/usr/local/lib/python2.6/dist-packages/Django-1.6.10-py2.6.egg/django/core/mail/message.py",
>  
> line 137, in as_string
>     g.flatten(self, unixfrom=unixfrom)
>   File "/usr/lib/python2.6/email/generator.py", line 84, in flatten
>     self._write(msg)
>   File "/usr/lib/python2.6/email/generator.py", line 109, in _write
>     self._dispatch(msg)
>   File "/usr/lib/python2.6/email/generator.py", line 135, in _dispatch
>     meth(msg)
>   File "/usr/lib/python2.6/email/generator.py", line 201, in 
> _handle_multipart
>     g.flatten(part, unixfrom=False)
>   File "/usr/lib/python2.6/email/generator.py", line 84, in flatten
>     self._write(msg)
>   File "/usr/lib/python2.6/email/generator.py", line 109, in _write
>     self._dispatch(msg)
>   File "/usr/lib/python2.6/email/generator.py", line 135, in _dispatch
>     meth(msg)
>   File "/usr/lib/python2.6/email/generator.py", line 178, in _handle_text
>     self._fp.write(payload)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\u2026' in 
> position 2058: ordinal not in range(128)
>
> ******************************************************
>
>
> Any ideas?
>
>
> I happy to run some SQL to clean out old reviews that have invalid 
> characters for the subject lines. Just not sure what is supported in RB and 
> what the SQL to update it would be.
>
> Cheers,
> Adam Driscoll
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to