ome / omero-py

Python project containing Ice remoting code for OMERO
https://www.openmicroscopy.org/omero
GNU General Public License v2.0
20 stars 33 forks source link

Decode script stdout/stderr before printing #310

Closed jmuhlich closed 2 years ago

jmuhlich commented 2 years ago

This change fixes a bytes-str concatenation issue in omero script launch output under Python 3 that caused the stdout/stderr lines to be printed as their repr. Output that previously looked like this:

    * b'Image:1 : Processing...\n--------------------\n'

Now looks correct:

    * Image:1 : Processing...
    * --------------------
    * 

(Tracebacks are now readable again too)

will-moore commented 2 years ago

Thanks for the fix. Working fine for me. 👍

sbesson commented 2 years ago

Should we get this into a quick 5.10.2 release?

joshmoore commented 2 years ago

Sounds good.