Environment:
- win10 laptop running Python 3.9.2, Jupyterlab 3.0.14, saspy 3.6.6, SAS-kernel 2.3.1
- server: SAS 9.4 TS1M6, RedHat Linux
saspy connection:
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' : [""]
}
JupyterLab output - when correct:
Note it is not able to capture process id properly.
Re-running the cell is dicey, sometimes it shows this instead,
more often it shows this:
eventually getting to
Extra html text is being displayed as cell output before the desired HTML table. I think it is sending commands over to SAS correctly, but it is having trouble catching the output correctly for cell display. This behaviour is consistently reproducible across reboots. Repeatedly running the cell is not an option when the cell computations are heavy weight.
Any ideas to fix cell output display properly would be appreciated! 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.
Thanks in advance.