<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic JupyterLab SAS-kernel STDIO over SSH corrupted cell output capture in Architecture</title>
    <link>https://communities.sas.com/t5/Architecture/JupyterLab-SAS-kernel-STDIO-over-SSH-corrupted-cell-output/m-p/733150#M309</link>
    <description>&lt;P&gt;Environment:&lt;/P&gt;&lt;P&gt;- win10 laptop running Python 3.9.2, Jupyterlab 3.0.14, saspy 3.6.6, SAS-kernel 2.3.1&lt;/P&gt;&lt;P&gt;- server: SAS 9.4 TS1M6, RedHat Linux&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;saspy connection:&lt;/P&gt;&lt;PRE&gt;ssh      =  {   'ssh'     : 'ssh',                                              # local machine ssh path
                'host'    : 'sq5vplmkt001',                                     # remote machine name
                'saspath' : '/app/sas/SASHome/SASFoundation/9.4/bin/sas_en',    # SAS executable on remote
                'encoding': 'latin1',
                'options' : [""]
            }&lt;/PRE&gt;&lt;P&gt;JupyterLab output - when correct:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="D_Ling_0-1618272042582.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57444iB9E1838769590789/image-size/medium?v=v2&amp;amp;px=400" role="button" title="D_Ling_0-1618272042582.png" alt="D_Ling_0-1618272042582.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note it is not able to capture process id properly.&lt;/P&gt;&lt;P&gt;Re-running the cell is dicey, sometimes it shows this instead,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="D_Ling_1-1618272448235.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57445i70C4A1BEB6B9EC6A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="D_Ling_1-1618272448235.png" alt="D_Ling_1-1618272448235.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;more often it shows this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="D_Ling_2-1618272514966.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57446iFD820D00B8026526/image-size/medium?v=v2&amp;amp;px=400" role="button" title="D_Ling_2-1618272514966.png" alt="D_Ling_2-1618272514966.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;eventually getting to&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="D_Ling_3-1618272677013.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57447i47D033F70678AF3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="D_Ling_3-1618272677013.png" alt="D_Ling_3-1618272677013.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Extra html text is being displayed as cell output before the desired HTML table.&amp;nbsp; I think it is sending commands over to SAS correctly, but it is having trouble catching the output correctly for cell display.&amp;nbsp;&amp;nbsp;This behaviour is consistently reproducible across reboots.&amp;nbsp;&amp;nbsp;Repeatedly running the cell is not an option when the cell computations are heavy weight.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas to fix cell output display properly would be appreciated!&amp;nbsp; STDIO over SSH seem to be the least painful way to connect from win10 to remote Linux SAS. IOM COM seem much more complicated and I'd rather avoid if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 00:26:02 GMT</pubDate>
    <dc:creator>D_Ling</dc:creator>
    <dc:date>2021-04-13T00:26:02Z</dc:date>
    <item>
      <title>JupyterLab SAS-kernel STDIO over SSH corrupted cell output capture</title>
      <link>https://communities.sas.com/t5/Architecture/JupyterLab-SAS-kernel-STDIO-over-SSH-corrupted-cell-output/m-p/733150#M309</link>
      <description>&lt;P&gt;Environment:&lt;/P&gt;&lt;P&gt;- win10 laptop running Python 3.9.2, Jupyterlab 3.0.14, saspy 3.6.6, SAS-kernel 2.3.1&lt;/P&gt;&lt;P&gt;- server: SAS 9.4 TS1M6, RedHat Linux&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;saspy connection:&lt;/P&gt;&lt;PRE&gt;ssh      =  {   'ssh'     : 'ssh',                                              # local machine ssh path
                'host'    : 'sq5vplmkt001',                                     # remote machine name
                'saspath' : '/app/sas/SASHome/SASFoundation/9.4/bin/sas_en',    # SAS executable on remote
                'encoding': 'latin1',
                'options' : [""]
            }&lt;/PRE&gt;&lt;P&gt;JupyterLab output - when correct:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="D_Ling_0-1618272042582.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57444iB9E1838769590789/image-size/medium?v=v2&amp;amp;px=400" role="button" title="D_Ling_0-1618272042582.png" alt="D_Ling_0-1618272042582.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note it is not able to capture process id properly.&lt;/P&gt;&lt;P&gt;Re-running the cell is dicey, sometimes it shows this instead,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="D_Ling_1-1618272448235.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57445i70C4A1BEB6B9EC6A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="D_Ling_1-1618272448235.png" alt="D_Ling_1-1618272448235.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;more often it shows this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="D_Ling_2-1618272514966.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57446iFD820D00B8026526/image-size/medium?v=v2&amp;amp;px=400" role="button" title="D_Ling_2-1618272514966.png" alt="D_Ling_2-1618272514966.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;eventually getting to&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="D_Ling_3-1618272677013.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/57447i47D033F70678AF3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="D_Ling_3-1618272677013.png" alt="D_Ling_3-1618272677013.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Extra html text is being displayed as cell output before the desired HTML table.&amp;nbsp; I think it is sending commands over to SAS correctly, but it is having trouble catching the output correctly for cell display.&amp;nbsp;&amp;nbsp;This behaviour is consistently reproducible across reboots.&amp;nbsp;&amp;nbsp;Repeatedly running the cell is not an option when the cell computations are heavy weight.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas to fix cell output display properly would be appreciated!&amp;nbsp; STDIO over SSH seem to be the least painful way to connect from win10 to remote Linux SAS. IOM COM seem much more complicated and I'd rather avoid if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 00:26:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/JupyterLab-SAS-kernel-STDIO-over-SSH-corrupted-cell-output/m-p/733150#M309</guid>
      <dc:creator>D_Ling</dc:creator>
      <dc:date>2021-04-13T00:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: JupyterLab SAS-kernel STDIO over SSH corrupted cell output capture</title>
      <link>https://communities.sas.com/t5/Architecture/JupyterLab-SAS-kernel-STDIO-over-SSH-corrupted-cell-output/m-p/733745#M310</link>
      <description>&lt;P&gt;Thanks for opening this issue on SASPy (&lt;A href="https://github.com/sassoftware/saspy/issues" target="_blank"&gt;https://github.com/sassoftware/saspy/issues&lt;/A&gt;), where I see it immediately, and have already started looking into this for you. I just saw this here; I have to get on here and search for saspy to try to find posting here, which I try to do regularly, though that varies. Opening an issue is the quickest way to reach me. Just posting this as FYI, and I'll continue to work through the issue, not here.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 13:47:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Architecture/JupyterLab-SAS-kernel-STDIO-over-SSH-corrupted-cell-output/m-p/733745#M310</guid>
      <dc:creator>sastpw</dc:creator>
      <dc:date>2021-04-14T13:47:48Z</dc:date>
    </item>
  </channel>
</rss>

