Hi All,

The issue has been addressed.

Thanks.

On Sunday, 27 June 2021 at 17:06:46 UTC+5:30 [email protected] wrote:

>   Hi All,
>
> We had a successful installation of RB 4.0.2 and as well the site upgrade 
> done.
> But now when we try to start the httpd, we end up getting the below error.
> Any inputs on how to address it.
>
>
> Jun 27 04:24:50 reviewboard rb-site[27123]: 
> load_entry_point('ReviewBoard==4.0.2', 'console_scripts', 'rb-site')()
> Jun 27 04:24:50 reviewboard rb-site[27123]: File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 2732, in main
> Jun 27 04:24:50 reviewboard rb-site[27123]: command.run(site, options)
> Jun 27 04:24:50 reviewboard rb-site[27123]: File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 2254, in run
> Jun 27 04:24:50 reviewboard rb-site[27123]: leading_newlines=False)
> Jun 27 04:24:50 reviewboard rb-site[27123]: File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/cmdline/utils/console.py",
>  
> line 297, in header
> Jun 27 04:24:50 reviewboard rb-site[27123]: 
> wrapper=self.header_sep_wrapper)
> Jun 27 04:24:50 reviewboard rb-site[27123]: File 
> "/usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/cmdline/utils/console.py",
>  
> line 203, in print
> Jun 27 04:24:50 reviewboard rb-site[27123]: wrapper=wrapper)))
> Jun 27 04:24:50 reviewboard rb-site[27123]: UnicodeEncodeError: 'ascii' 
> codec can't encode characters in position 8-86: ordinal not in range(128)
>
> Adding the below to 
> /usr/lib/python2.7/site-packages/ReviewBoard-4.0.2-py2.7.egg/reviewboard/cmdline/utils/console.py,
>  
> enables the httpd to be brought up, but none of the links such as "All 
> Review Requests", "New Review Request" or diff work as expected.
>
> reload(sys)
> sys.setdefaultencoding('utf-8')
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/36de1e0d-b5e2-4645-b8e0-fe6c06e1c1e5n%40googlegroups.com.

Reply via email to