FHIR Chat · graphics garbage · shorthand

Stream: shorthand

Topic: graphics garbage


view this post on Zulip John Moehrke (Dec 16 2020 at 22:25):

Sushi when run within _genonce is displaying garbage for the cute graphic summary output. It works fine in standalone
Sushi: ΓòöΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ SUSHI RESULTS ΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòù (00:06.0054)
Sushi: Γòæ Γò¡ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓò« Γòæ (00:06.0058)
Sushi: Γòæ Γöé Profiles Γöé Extensions Γöé ValueSets Γöé CodeSystems Γöé Instances Γöé Γòæ (00:06.0060)
Sushi: Γòæ Γö£ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö╝ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöñ Γòæ (00:06.0062)
Sushi: Γòæ Γöé 10 Γöé 0 Γöé 7 Γöé 2 Γöé 76 Γöé Γòæ (00:06.0064)
Sushi: Γòæ Γò░ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö┤ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓò» Γòæ (00:06.0065)
Sushi: Γòæ Γòæ (00:06.0069)
Sushi: Γòæ Ac-clam-ations! 0 Errors 0 Warnings Γòæ (00:06.0071)
Sushi: ΓòÜΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓò¥ (00:06.0073)
L

view this post on Zulip Gino Canessa (Dec 16 2020 at 22:38):

Odd, just tried it from Windows Terminal (with a PL font) and Command prompt (without a PL font) via _genonce.bat and they were both fine for me. I'm running v1.0.2.

view this post on Zulip John Moehrke (Dec 16 2020 at 22:39):

that is what I am running. Are you running current IG build?

view this post on Zulip John Moehrke (Dec 16 2020 at 22:39):

windows terminal, running sushi alone, looks fine.

view this post on Zulip John Moehrke (Dec 16 2020 at 22:40):

it seems just cosmetic, so not holding me up.. but I did take a second glance... and figued I should warn

view this post on Zulip Gino Canessa (Dec 16 2020 at 22:45):

Yeah, I get the nice border:
image.png

view this post on Zulip Chris Moesel (Dec 16 2020 at 22:45):

This is on my list to look at. It looks terrible in the CI build logs too (example). I think it is due to either the specific UTF8 characters we are using to draw the boxes or the coloring we apply. We may need to detect when it's launched from the publisher and do something different.

view this post on Zulip Gino Canessa (Dec 16 2020 at 22:46):

Just like the good 'ol days - terminal version arguments =)

view this post on Zulip John Moehrke (Dec 16 2020 at 22:46):

Im all for getting rid of the cute graphics

view this post on Zulip Chris Moesel (Dec 16 2020 at 22:48):

@Gino Canessa -- that's definitely better, but the ? are still wrong, and look at the nice color it is missing. ;-)
image.png

view this post on Zulip Chris Moesel (Dec 16 2020 at 22:48):

(that turns red when there are errors)

view this post on Zulip Gino Canessa (Dec 16 2020 at 22:48):

Yep, I get that when run directly. The above image is from inside _genonce.bat

view this post on Zulip Jose Costa Teixeira (Dec 16 2020 at 23:55):

can anyone try to add this to their _genonce.bat - somewhere at the beginning, e.g. after the @Echo off
CHCP 65001

view this post on Zulip Jose Costa Teixeira (Dec 16 2020 at 23:57):

I'm not sure if we should change it in the script, though - because people may need to keep their characters and I do not know how universal is UTF-8

view this post on Zulip John Moehrke (Dec 17 2020 at 01:40):

I seem to not have the problem anymore... My system did reboot due to patches manditory reboot... So maybe the problem simply went away

view this post on Zulip Chris Moesel (Jan 14 2021 at 14:13):

SUSHI 1.1.0 can now detect when it's running inside the IG Publisher, and in those cases, it uses only ASCII characters to print the summary. So... I think you should have a better experience from now on!


Last updated: Apr 12 2022 at 19:14 UTC