omero-py icon indicating copy to clipboard operation
omero-py copied to clipboard

omero script error output is shown as bytes

Open manics opened this issue 6 years ago • 0 comments

$ omero script launch script-with-error.py IDs=2016
Using session for ...
Job 10810 ready
Waiting....
Callback received: FINISHED

        *** start stderr (id=10563)***
        * b'Traceback (most recent call last):\n  File "./script", line 78, in <module>\n    run_script()\n  File "./script", line 70, in run_script\n    file_anns, message = process_images(conn, script_params)\n  File "./script", line 28, in process_images\n    f.write(text)\nTypeError: write() argument must be str, not list\n'
        *** end stderr ***


        *** out parameters ***
        ***  done ***

manics avatar Dec 18 '19 10:12 manics