An error is raised when restore a backup

Bug #1671315 reported by raja
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
freezer-web-ui
In Progress
Undecided
raja

Bug Description

When the language is set to zh_CN, no forms will be displayed while click the "restore" button on "Backups" page, there is no errors displayed either. The httpd log messages looks like:

<code>
[Tue Mar 07 10:17:14.272790 2017] [:error] [pid 1488] ERROR:disaster_recovery.utils:
[Tue Mar 07 10:17:14.274162 2017] [:error] [pid 1488] Recoverable error: 'ascii' codec can't encode character u'\\u5e74' in position 4: ordinal not in range(128)
[Tue Mar 07 10:17:14.274359 2017] [:error] [pid 1488] ERROR:disaster_recovery.utils:None
[Tue Mar 07 10:17:14.274990 2017] [:error] [pid 1488] Recoverable error:
</code>

where u'\u5e74' is '年' in chinese, it's a locale error while change datetime to str.

raja (jiangpch)
description: updated
raja (jiangpch)
Changed in freezer-web-ui:
assignee: nobody → raja (jiangpch)
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/freezer-web-ui 5.0.0.0b1

This issue was fixed in the openstack/freezer-web-ui 5.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.