commit/galaxy-central: dan: Unicodify dependency installation stderr and stdout
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ac7e402af32e/ Changeset: ac7e402af32e User: dan Date: 2013-10-11 19:01:22 Summary: Unicodify dependency installation stderr and stdout Affected #: 1 file diff -r 40164a7bdea9ab383f18c82394cdb9b45bd1c50e -r ac7e402af32e98cb9a0a1e5d88f75db16dc78281 lib/tool_shed/galaxy_install/tool_dependencies/fabric_util.py --- a/lib/tool_shed/galaxy_install/tool_dependencies/fabric_util.py +++ b/lib/tool_shed/galaxy_install/tool_dependencies/fabric_util.py @@ -8,6 +8,7 @@ import shutil import td_common_util from contextlib import contextmanager +from galaxy.util import unicodify from galaxy.util.template import fill_template from galaxy import eggs @@ -82,9 +83,9 @@ if output.return_code: tool_dependency.status = app.model.ToolDependency.installation_status.ERROR if output.stderr: - tool_dependency.error_message = str( output.stderr )[ :32768 ] + tool_dependency.error_message = unicodify( str( output.stderr )[ :32768 ] ) elif output.stdout: - tool_dependency.error_message = str( output.stdout )[ :32768 ] + tool_dependency.error_message = unicodify( str( output.stdout )[ :32768 ] ) else: tool_dependency.error_message = "Unknown error occurred executing shell command %s, return_code: %s" % ( str( cmd ), str( output.return_code ) ) sa_session.add( tool_dependency ) 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.
participants (1)
-
commits-noreply@bitbucket.org