
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ef3816ca5e0c/ Changeset: ef3816ca5e0c User: Dave Bouvier Date: 2013-06-04 17:05:17 Summary: Fix server error when displaying a tool dependency installation status when the tool dependency contains certain unicode characters in the displayed error message. Affected #: 1 file diff -r 6ae2d6a466b8f721aa39d3e183b36594d7b4e235 -r ef3816ca5e0cc88616c34144af00b4fcce5bf0d0 lib/tool_shed/util/shed_util_common.py --- a/lib/tool_shed/util/shed_util_common.py +++ b/lib/tool_shed/util/shed_util_common.py @@ -1240,7 +1240,7 @@ if text: if to_html: try: - escaped_text = text.decode( 'utf-8' ) + escaped_text = unicodify( text ) escaped_text = escaped_text.encode( 'ascii', 'ignore' ) escaped_text = str( markupsafe.escape( escaped_text ) ) except UnicodeDecodeError, e: https://bitbucket.org/galaxy/galaxy-central/commits/2a116647d7d7/ Changeset: 2a116647d7d7 Branch: stable User: Dave Bouvier Date: 2013-06-04 17:05:17 Summary: Fix server error when displaying a tool dependency installation status when the tool dependency contains certain unicode characters in the displayed error message. Affected #: 1 file diff -r cea3ddf6cddaac2f8703598307449ffc13240efc -r 2a116647d7d75d5088c43fe3ac1d10bd9e66a08c lib/tool_shed/util/shed_util_common.py --- a/lib/tool_shed/util/shed_util_common.py +++ b/lib/tool_shed/util/shed_util_common.py @@ -1214,7 +1214,7 @@ if text: if to_html: try: - escaped_text = text.decode( 'utf-8' ) + escaped_text = unicodify( text ) escaped_text = escaped_text.encode( 'ascii', 'ignore' ) escaped_text = str( markupsafe.escape( escaped_text ) ) except UnicodeDecodeError, e: Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.